Skip to content

Commit 300ff8b

Browse files
remove shimmer from tutorial
1 parent 688b084 commit 300ff8b

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
lines changed

docs/content/iota-evm/tutorials/cross-chain-nft-marketplace-part-1.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ The architecture of the marketplace will evolve as we progress through the tutor
2222
### Part I
2323

2424
In part I, we will start with this very simple architecture:
25-
![Cross Chain MarketPlace V1](/img/iota-evm/tutorials/cross_chain_marketplace/Architecture-V1.png)
25+
![Cross Chain MarketPlace V1](/img/iota-evm/tutorials/cross_chain_marketplace/1.png)
2626

2727
### Part II
2828

2929
In Part II, you will add the contracts and scripts to manually bridge NFTs from the BNB Testnet to the IOTA EVM Testnet and list them on the marketplace. The architecture will evolve to look like this:
30-
![Cross Chain MarketPlace V2](/img/iota-evm/tutorials/cross_chain_marketplace/Architecture-V2.png)
30+
![Cross Chain MarketPlace V2](/img/iota-evm/tutorials/cross_chain_marketplace/2.png)
3131

3232
<!-- ### Part III
3333
@@ -198,33 +198,33 @@ npx hardhat compile
198198

199199
First, create a `scripts` folder in the root of the project and add the following files under it:
200200

201-
### deploy_marketplace_shimmer.js
201+
### deploy_marketplace_iota.js
202202

203-
The `deploy_marketplace_shimmer.js` script will deploy the NFTMarketplace contract to the ShimmerEVM Testnet and save the contract address to a file called `NFTMarketplace.txt`.
203+
The `deploy_marketplace_iota.js` script will deploy the NFTMarketplace contract to the IotaEVM Testnet and save the contract address to a file called `NFTMarketplace.txt`.
204204

205205
```javascript reference
206-
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_marketplace_shimmer.js
206+
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_marketplace_iota.js
207207
```
208208

209-
This will deploy the NFTMarketplace contract to the ShimmerEVM Testnet and save the contract address to a file.
209+
This will deploy the NFTMarketplace contract to the IotaEVM Testnet and save the contract address to a file.
210210
run it by executing:
211211

212212
```bash
213-
npx hardhat run scripts/deploy_marketplace_shimmer.js --network shimmerevm-testnet
213+
npx hardhat run scripts/deploy_marketplace_iota.js --network iotaevm-testnet
214214
```
215215

216-
### deploy_er721_shimmer.js
216+
### deploy_er721_iota.js
217217

218-
This script will deploy the `MyERC721` contract to the ShimmerEVM Testnet and save the contract's address to a file called `MyERC721.txt`.
218+
This script will deploy the `MyERC721` contract to the IotaEVM Testnet and save the contract's address to a file called `MyERC721.txt`.
219219

220220
```javascript reference
221-
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_erc721_shimmer.js
221+
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_erc721_iota.js
222222
```
223223

224224
You can run this script with the following command:
225225

226226
```bash
227-
npx hardhat run scripts/deploy_er721_shimmer.js --network shimmerevm-testnet
227+
npx hardhat run scripts/deploy_er721_iota.js --network iotaevm-testnet
228228
```
229229

230230
### mint_nft.js
@@ -238,7 +238,7 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
238238
You can run the script by executing the following command:
239239

240240
```bash
241-
npx hardhat run scripts/mint_nft.js --network shimmerevm-testnet
241+
npx hardhat run scripts/mint_nft.js --network iotaevm-testnet
242242
```
243243

244244
### approve_myERC721_for_marketplace.js
@@ -252,7 +252,7 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
252252
You can run the script by executing the following command:
253253

254254
```bash
255-
npx hardhat run scripts/approve_myERC721_for_marketplace.js --network shimmerevm-testnet
255+
npx hardhat run scripts/approve_myERC721_for_marketplace.js --network iotaevm-testnet
256256
```
257257

258258
### create_listing.js
@@ -266,7 +266,7 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
266266
You can run the script by executing the following command:
267267

268268
```bash
269-
npx hardhat run scripts/create_listing.js --network shimmerevm-testnet
269+
npx hardhat run scripts/create_listing.js --network iotaevm-testnet
270270
```
271271

272272
### buy_item.js
@@ -280,9 +280,9 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
280280
You can run the script by executing the following command:
281281

282282
```bash
283-
npx hardhat run scripts/buy_item.js --network shimmerevm-testnet
283+
npx hardhat run scripts/buy_item.js --network iotaevm-testnet
284284
```
285285

286286
## Conclusion
287287

288-
In this first part of the cross-chain NFT marketplace tutorial, we have set up the project and deployed the NFTMarketplace contract to the ShimmerEVM Testnet. We have also deployed the MyERC721 contract, minted an NFT and then listed it on the marketplace. In the next part, we will manually bridge NFTs from BNB Testnet and Shimmer Testnet to the ShimmerEVM Testnet and list them on the same marketplace.
288+
In this first part of the cross-chain NFT marketplace tutorial, we have set up the project and deployed the NFTMarketplace contract to the IotaEVM Testnet. We have also deployed the MyERC721 contract, minted an NFT and then listed it on the marketplace. In the next part, we will manually bridge NFTs from BNB Testnet and Iota Testnet to the IotaEVM Testnet and list them on the same marketplace.

docs/content/iota-evm/tutorials/cross-chain-nft-marketplace-part-2.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ You will add scripts that perform the following tasks in order:
139139
1. Deploy the `MyERC721` contract to the BNB Testnet. [deploy_erc721_bnb.js](#deploy_erc721_bnbjs)
140140
2. Mint an NFT using the `MyERC721` contract. [mint_nft.js](#mint_nftjs)
141141
3. Deploy the `MyProxyONFT721` contract to the BNB Testnet. [deploy_proxyonft_bnb.js](#deploy_proxyonft_bnbjs)
142-
4. Deploy the `MyONFT721` contract, the receiver, to the IOTA EVM Testnet. [deploy_onft721_shimmer.js](#deploy_onft721_shimmerjs)
142+
4. Deploy the `MyONFT721` contract, the receiver, to the IOTA EVM Testnet. [deploy_onft721_iota.js](#deploy_onft721_iotajs)
143143
5. Configure the `MyProxyONFT721` contract to send NFTs to the `MyONFT721` contract. [set_trusted_remote_bnb.js](#set_trusted_remote_bnbjs)
144-
6. Configure the `MyONFT721` contract to receive NFTs from the `MyProxyONFT721` contract. [set_trusted_remote_shimmer.js](#set_trusted_remote_shimmerjs)
145-
7. Send an NFT from the BNB Testnet to the ShimmerEVM Testnet. [send_nft_bnb_to_shimmer.js](#send_nftjs)
144+
6. Configure the `MyONFT721` contract to receive NFTs from the `MyProxyONFT721` contract. [set_trusted_remote_iota.js](#set_trusted_remote_iotajs)
145+
7. Send an NFT from the BNB Testnet to the IotaEVM Testnet. [send_nft_bnb_to_iota.js](#send_nftjs)
146146
8. List the received NFT on the NFT marketplace. [list_nft_marketplace.js](#create_listingjs)
147147

148148
:::note
@@ -193,18 +193,18 @@ You can run the script by executing the following command:
193193
npx hardhat run scripts/deploy_proxyonft_bnb.js --network bnbTestnet
194194
```
195195

196-
### deploy_onft721_shimmer.js
196+
### deploy_onft721_iota.js
197197

198-
Deploy the `MyONFT721` contract to the Shimmer EVM Testnet and save its address in a file called `MyONFT721_Shimmer.txt` using the following script:
198+
Deploy the `MyONFT721` contract to the Iota EVM Testnet and save its address in a file called `MyONFT721_Iota.txt` using the following script:
199199

200200
```javascript reference
201-
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_onft_shimmer.js
201+
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_onft_iota.js
202202
```
203203

204204
You can run the script by executing the following command:
205205

206206
```bash
207-
npx hardhat run scripts/deploy_onft_shimmer.js --network shimmerevm-testnet
207+
npx hardhat run scripts/deploy_onft_iota.js --network iotaevm-testnet
208208
```
209209

210210
### set_trusted_remote_bnb.js
@@ -221,23 +221,23 @@ You can run the script by executing the following command:
221221
npx hardhat run scripts/set_trusted_remote_bnb.js --network bnbTestnet
222222
```
223223

224-
### set_trusted_remote_shimmer.js
224+
### set_trusted_remote_iota.js
225225

226-
On the ShimmerEVM Testnet, call the `MyONFT721` contract to set the `MyProxyONFT721` contract as a trusted remote contract. This will allow the `MyONFT721` contract to receive NFTs from the `MyProxyONFT721` contract.
226+
On the IotaEVM Testnet, call the `MyONFT721` contract to set the `MyProxyONFT721` contract as a trusted remote contract. This will allow the `MyONFT721` contract to receive NFTs from the `MyProxyONFT721` contract.
227227

228228
```javascript reference
229-
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_onft_shimmer.js
229+
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_onft_iota.js
230230
```
231231

232232
You can run the script by executing the following command:
233233

234234
```bash
235-
npx hardhat run scripts/set_trusted_remote_shimmer.js --network shimmerevm-testnet
235+
npx hardhat run scripts/set_trusted_remote_iota.js --network iotaevm-testnet
236236
```
237237

238238
### set_min_dest_gas_bnb.js
239239

240-
On the BNB Testnet, call the `MyProxyONFT721` contract to set the minimum gas required to send an NFT to the ShimmerEVM Testnet. This is ensures that the sender has enough gas to complete the transfer.
240+
On the BNB Testnet, call the `MyProxyONFT721` contract to set the minimum gas required to send an NFT to the IotaEVM Testnet. This is ensures that the sender has enough gas to complete the transfer.
241241

242242
```javascript reference
243243
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/set_min_dest_gas_bnb.js
@@ -249,23 +249,23 @@ You can run the script by executing the following command:
249249
npx hardhat run scripts/set_min_dest_gas_bnb.js --network bnbTestnet
250250
```
251251

252-
### set_min_dest_gas_shimmer.js
252+
### set_min_dest_gas_iota.js
253253

254-
On the ShimmerEVM Testnet, call the `MyONFT721` contract to set the minimum gas required to receive an NFT from the BNB Testnet. This is necessary to ensure that the receiver has enough gas to complete the transfer.
254+
On the IotaEVM Testnet, call the `MyONFT721` contract to set the minimum gas required to receive an NFT from the BNB Testnet. This is necessary to ensure that the receiver has enough gas to complete the transfer.
255255

256256
```javascript reference
257-
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/set_min_dest_gas_shimmer.js
257+
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/set_min_dest_gas_iota.js
258258
```
259259

260260
You can run the script by executing the following command:
261261

262262
```bash
263-
npx hardhat run scripts/set_min_dest_gas_shimmer.js --network shimmerevm-testnet
263+
npx hardhat run scripts/set_min_dest_gas_iota.js --network iotaevm-testnet
264264
```
265265

266266
### send_nft.js
267267

268-
Finally, call the `MyProxyONFT721` contract on the BNB Testnet to send an NFT to the `MyONFT721` contract on the ShimmerEVM Testnet. This script approves the `MyProxyONFT721` contract to transfer the NFT and then sends the NFT to the `MyONFT721` contract.
268+
Finally, call the `MyProxyONFT721` contract on the BNB Testnet to send an NFT to the `MyONFT721` contract on the IotaEVM Testnet. This script approves the `MyProxyONFT721` contract to transfer the NFT and then sends the NFT to the `MyONFT721` contract.
269269

270270
```javascript reference
271271
https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/send_nft.js
@@ -279,7 +279,7 @@ npx hardhat run scripts/send_nft.js --network bnbTestnet
279279

280280
:::note
281281

282-
The script will take some time to complete, as it waits for the NFT to be received on the ShimmerEVM Testnet.
282+
The script will take some time to complete, as it waits for the NFT to be received on the IotaEVM Testnet.
283283

284284
:::
285285

@@ -294,7 +294,7 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
294294
You can run the script by executing the following command:
295295

296296
```bash
297-
npx hardhat run scripts/create_listing.js --network shimmerevm-testnet
297+
npx hardhat run scripts/create_listing.js --network iotaevm-testnet
298298
```
299299

300300
### buy_item.js
@@ -308,9 +308,9 @@ https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scri
308308
You can run the script by executing the following command:
309309

310310
```bash
311-
npx hardhat run scripts/buy_item.js --network shimmerevm-testnet
311+
npx hardhat run scripts/buy_item.js --network iotaevm-testnet
312312
```
313313

314314
## Conclusion
315315

316-
In the second part of this tutorial, you manually bridged an NFT from the BNB Testnet to the ShimmerEVM Testnet and listed it on the NFT marketplace. The final part of the series will explore how to create a cross-chain swap contract that allows users to trade NFTs across chains.
316+
In the second part of this tutorial, you manually bridged an NFT from the BNB Testnet to the IotaEVM Testnet and listed it on the NFT marketplace. The final part of the series will explore how to create a cross-chain swap contract that allows users to trade NFTs across chains.
Loading
Loading

0 commit comments

Comments
 (0)