From a5a9e12f494e5fce015f397da8f4afe254e0758b Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Sun, 8 Sep 2024 23:15:13 +0200 Subject: [PATCH] Add docs for wasp 1.4.0 (#1683) --- config/versionedConfig.js | 16 +++--- .../isc/v1.1/docs/_admonitions/_mint-nft.md | 5 -- .../docs/_admonitions/_AgentID.md | 0 .../docs/_admonitions/_ERC721.md | 0 .../_EVM-required-prior-knowledge.md | 0 .../docs/_admonitions/_EVM_compatibility.md | 0 .../docs/_admonitions/_IRC27.md | 0 .../docs/_admonitions/_about-accounts.md | 0 .../docs/_admonitions/_create-native-token.md | 0 .../_admonitions/_deploy_a_smart_contract.md | 0 .../docs/_admonitions/_ownership.md | 0 .../docs/_admonitions/_payable.md | 0 .../docs/_admonitions/_query_gas_fees.md | 0 .../docs/_admonitions/_remix-IDE.md | 0 .../docs/_admonitions/_token-demo-setup.md | 0 .../docs/_partials/_hardhat_config.md | 0 .../docs/_partials/_on_off_ledger_request.md | 0 .../how-tos/token/_check_storage_deposit.md | 0 .../how-tos/token/_example_code_intro.md | 0 .../how-tos/token/_get-nft-metadata.md | 0 .../how-tos/token/_obsolete_token_creation.md | 0 .../docs/explanations/consensus.md | 0 .../docs/explanations/context.mdx | 0 .../docs/explanations/core-contracts.md | 0 .../docs/explanations/how-accounts-work.md | 0 .../docs/explanations/invocation.md | 0 .../docs/explanations/sandbox.md | 0 .../explanations/smart-contract-anatomy.md | 0 .../docs/explanations/smart-contracts.md | 0 .../docs/explanations/state_manager.md | 0 .../docs/explanations/states.md | 0 .../docs/explanations/validators.md | 0 .../docs/getting-started/compatibility.mdx | 4 +- .../docs/getting-started/contracts.mdx | 0 .../docs/getting-started/languages-and-vms.md | 0 .../getting-started/networks-and-chains.mdx | 0 .../docs/getting-started/quick-start.mdx | 0 .../docs/getting-started/tools.mdx | 0 .../isc/{v1.1 => v1.4}/docs/how-tos/ERC20.md | 0 .../isc/{v1.1 => v1.4}/docs/how-tos/ERC721.md | 0 .../core-contracts/basics/allowance/allow.md | 0 .../basics/allowance/get-allowance.md | 0 .../basics/allowance/take-allowance.md | 0 .../core-contracts/basics/get-balance.md | 0 .../basics/send-assets-to-l1.mdx | 0 .../docs/how-tos/core-contracts/call-view.md | 0 .../core-contracts/get-randomness-on-l2.md | 0 .../how-tos/core-contracts/introduction.md | 0 .../core-contracts/nft/get-L2-nfts.mdx | 0 .../core-contracts/nft/get-nft-data.mdx | 0 .../nft/get-nft-in-collection.mdx | 0 .../core-contracts/nft/get-nft-metadata.mdx | 0 .../core-contracts/nft/introduction.md | 0 .../how-tos/core-contracts/nft/mint-nft.md | 0 .../core-contracts/nft/use-as-erc721.md | 0 .../core-contracts/token/create-foundry.md | 0 .../token/create-native-token.md | 0 .../token/erc20-native-token.md | 22 +++----- .../core-contracts/token/introduction.md | 0 .../core-contracts/token/mint-token.md | 28 +++------- .../core-contracts/token/register-token.md | 34 +++--------- .../token/send-token-across-chains.mdx | 0 .../docs/how-tos/create-a-basic-contract.md | 0 .../docs/how-tos/deploy-a-smart-contract.mdx | 0 .../docs/how-tos/introduction.md | 0 .../docs/how-tos/send-ERC20-across-chains.md | 0 .../docs/how-tos/send-NFTs-across-chains.md | 2 +- .../docs/how-tos/send-funds-from-L1-to-L2.mdx | 0 .../docs/how-tos/test-smart-contracts.md | 0 .../isc/{v1.1 => v1.4}/docs/introduction.md | 0 .../{v1.1 => v1.4}/docs/reference/.gitignore | 0 .../docs/reference/core-contracts/accounts.md | 0 .../docs/reference/core-contracts/blob.md | 0 .../docs/reference/core-contracts/blocklog.md | 0 .../docs/reference/core-contracts/errors.md | 0 .../docs/reference/core-contracts/evm.md | 0 .../reference/core-contracts/governance.md | 0 .../docs/reference/core-contracts/overview.md | 0 .../docs/reference/core-contracts/root.md | 0 .../docs/reference/core-contracts/xfer.md | 0 .../docs/reference/json-rpc-spec.md | 0 .../reference/magic-contract/introduction.md | 0 .../docs/reference/wasm-lib-data-types.mdx | 0 .../docs/schema/how-tos/access.mdx | 0 .../docs/schema/how-tos/call.mdx | 0 .../docs/schema/how-tos/events.mdx | 0 .../docs/schema/how-tos/funcdesc.mdx | 0 .../docs/schema/how-tos/funcs.mdx | 0 .../docs/schema/how-tos/init.mdx | 0 .../docs/schema/how-tos/params.mdx | 0 .../docs/schema/how-tos/post.mdx | 0 .../docs/schema/how-tos/results.mdx | 0 .../docs/schema/how-tos/spec.mdx | 0 .../docs/schema/how-tos/state.mdx | 0 .../docs/schema/how-tos/structs.mdx | 0 .../docs/schema/how-tos/thunks.mdx | 0 .../docs/schema/how-tos/transfers.mdx | 0 .../docs/schema/how-tos/typedefs.mdx | 0 .../docs/schema/how-tos/usage.mdx | 0 .../docs/schema/how-tos/views.mdx | 0 .../docs/schema/how-tos/yaml.mdx | 0 .../docs/schema/introduction.mdx | 0 .../{v1.1 => v1.4}/docs/schema/proxies.mdx | 0 .../docs/solo/getting-started.md | 0 .../docs/solo/how-tos/deploying-sc.md | 0 .../docs/solo/how-tos/error-handling.md | 0 .../docs/solo/how-tos/examples.mdx | 0 .../docs/solo/how-tos/first-example.md | 0 .../docs/solo/how-tos/invoking-sc.md | 0 .../{v1.1 => v1.4}/docs/solo/how-tos/test.mdx | 0 .../docs/solo/how-tos/the-l1-ledger.md | 0 .../docs/solo/how-tos/the-l2-ledger.md | 0 .../docs/solo/how-tos/timelock.mdx | 0 .../docs/solo/how-tos/view-sc.md | 0 .../cross-chain-nft-marketplace-part-1.md | 52 +++++++++---------- .../cross-chain-nft-marketplace-part-2.md | 0 docs/build/isc/{v1.1 => v1.4}/sidebars.js | 0 .../docs/how-tos/chain-management.md | 0 .../docs/how-tos/running-a-node.md | 0 .../docs/how-tos/running-an-access-node.md | 0 .../docs/how-tos/setting-up-a-chain.md | 0 .../{v1.1 => v1.4}/docs/how-tos/wasp-cli.md | 0 .../docs/reference/configuration.md | 0 .../{v1.1 => v1.4}/docs/reference/metrics.md | 0 docs/maintain/wasp/{v1.1 => v1.4}/sidebars.js | 0 scripts/get_wasp_references.sh | 12 ++--- 126 files changed, 63 insertions(+), 112 deletions(-) delete mode 100644 docs/build/isc/v1.1/docs/_admonitions/_mint-nft.md rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_AgentID.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_ERC721.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_EVM-required-prior-knowledge.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_EVM_compatibility.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_IRC27.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_about-accounts.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_create-native-token.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_deploy_a_smart_contract.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_ownership.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_payable.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_query_gas_fees.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_remix-IDE.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_admonitions/_token-demo-setup.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/_hardhat_config.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/_on_off_ledger_request.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/how-tos/token/_check_storage_deposit.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/how-tos/token/_example_code_intro.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/how-tos/token/_get-nft-metadata.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/_partials/how-tos/token/_obsolete_token_creation.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/consensus.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/context.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/core-contracts.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/how-accounts-work.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/invocation.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/sandbox.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/smart-contract-anatomy.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/smart-contracts.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/state_manager.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/states.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/explanations/validators.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/compatibility.mdx (97%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/contracts.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/languages-and-vms.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/networks-and-chains.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/quick-start.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/getting-started/tools.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/ERC20.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/ERC721.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/basics/allowance/allow.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/basics/allowance/get-allowance.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/basics/allowance/take-allowance.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/basics/get-balance.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/basics/send-assets-to-l1.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/call-view.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/get-randomness-on-l2.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/get-L2-nfts.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/get-nft-data.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/get-nft-in-collection.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/get-nft-metadata.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/mint-nft.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/nft/use-as-erc721.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/create-foundry.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/create-native-token.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/erc20-native-token.md (69%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/mint-token.md (57%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/register-token.md (56%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/core-contracts/token/send-token-across-chains.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/create-a-basic-contract.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/deploy-a-smart-contract.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/send-ERC20-across-chains.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/send-NFTs-across-chains.md (99%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/send-funds-from-L1-to-L2.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/how-tos/test-smart-contracts.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/.gitignore (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/accounts.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/blob.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/blocklog.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/errors.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/evm.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/governance.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/overview.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/root.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/core-contracts/xfer.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/json-rpc-spec.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/magic-contract/introduction.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/reference/wasm-lib-data-types.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/access.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/call.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/events.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/funcdesc.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/funcs.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/init.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/params.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/post.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/results.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/spec.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/state.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/structs.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/thunks.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/transfers.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/typedefs.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/usage.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/views.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/how-tos/yaml.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/introduction.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/schema/proxies.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/getting-started.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/deploying-sc.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/error-handling.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/examples.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/first-example.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/invoking-sc.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/test.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/the-l1-ledger.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/the-l2-ledger.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/timelock.mdx (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/solo/how-tos/view-sc.md (100%) rename docs/build/isc/{v1.1 => v1.4}/docs/tutorials/cross-chain-nft-marketplace-part-1.md (87%) rename docs/build/isc/{v1.1 => v1.4}/docs/tutorials/cross-chain-nft-marketplace-part-2.md (100%) rename docs/build/isc/{v1.1 => v1.4}/sidebars.js (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/how-tos/chain-management.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/how-tos/running-a-node.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/how-tos/running-an-access-node.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/how-tos/setting-up-a-chain.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/how-tos/wasp-cli.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/reference/configuration.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/docs/reference/metrics.md (100%) rename docs/maintain/wasp/{v1.1 => v1.4}/sidebars.js (100%) diff --git a/config/versionedConfig.js b/config/versionedConfig.js index 744d29f0788..429d758f5fe 100644 --- a/config/versionedConfig.js +++ b/config/versionedConfig.js @@ -27,12 +27,12 @@ exports.buildPluginsConfig = [ subsection: 'build-layer-2', versions: [ { - label: 'v1.1', - banner: 'unmaintained', + label: 'v1.3', + badges: ['IOTA'], }, { - label: 'v1.3', - badges: ['IOTA', 'Shimmer', 'Testnet'], + label: 'v1.4', + badges: ['Shimmer', 'Testnet'], }, ], }, @@ -153,12 +153,12 @@ exports.maintainPluginsConfig = [ subsection: 'maintain-layer-2', versions: [ { - label: 'v1.1', - banner: 'unmaintained', + label: 'v1.3', + badges: ['IOTA'], }, { - label: 'v1.3', - badges: ['IOTA', 'Shimmer', 'Testnet'], + label: 'v1.4', + badges: ['Shimmer', 'Testnet'], }, ], }, diff --git a/docs/build/isc/v1.1/docs/_admonitions/_mint-nft.md b/docs/build/isc/v1.1/docs/_admonitions/_mint-nft.md deleted file mode 100644 index 1ed17749708..00000000000 --- a/docs/build/isc/v1.1/docs/_admonitions/_mint-nft.md +++ /dev/null @@ -1,5 +0,0 @@ -:::tip Mint an NFT - -Mint your first NFT following our how to [mint an NFT guide](../how-tos/core-contracts/nft/mint-nft.md#about-nfts). - -::: \ No newline at end of file diff --git a/docs/build/isc/v1.1/docs/_admonitions/_AgentID.md b/docs/build/isc/v1.4/docs/_admonitions/_AgentID.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_AgentID.md rename to docs/build/isc/v1.4/docs/_admonitions/_AgentID.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_ERC721.md b/docs/build/isc/v1.4/docs/_admonitions/_ERC721.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_ERC721.md rename to docs/build/isc/v1.4/docs/_admonitions/_ERC721.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_EVM-required-prior-knowledge.md b/docs/build/isc/v1.4/docs/_admonitions/_EVM-required-prior-knowledge.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_EVM-required-prior-knowledge.md rename to docs/build/isc/v1.4/docs/_admonitions/_EVM-required-prior-knowledge.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_EVM_compatibility.md b/docs/build/isc/v1.4/docs/_admonitions/_EVM_compatibility.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_EVM_compatibility.md rename to docs/build/isc/v1.4/docs/_admonitions/_EVM_compatibility.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_IRC27.md b/docs/build/isc/v1.4/docs/_admonitions/_IRC27.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_IRC27.md rename to docs/build/isc/v1.4/docs/_admonitions/_IRC27.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_about-accounts.md b/docs/build/isc/v1.4/docs/_admonitions/_about-accounts.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_about-accounts.md rename to docs/build/isc/v1.4/docs/_admonitions/_about-accounts.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_create-native-token.md b/docs/build/isc/v1.4/docs/_admonitions/_create-native-token.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_create-native-token.md rename to docs/build/isc/v1.4/docs/_admonitions/_create-native-token.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_deploy_a_smart_contract.md b/docs/build/isc/v1.4/docs/_admonitions/_deploy_a_smart_contract.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_deploy_a_smart_contract.md rename to docs/build/isc/v1.4/docs/_admonitions/_deploy_a_smart_contract.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_ownership.md b/docs/build/isc/v1.4/docs/_admonitions/_ownership.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_ownership.md rename to docs/build/isc/v1.4/docs/_admonitions/_ownership.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_payable.md b/docs/build/isc/v1.4/docs/_admonitions/_payable.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_payable.md rename to docs/build/isc/v1.4/docs/_admonitions/_payable.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_query_gas_fees.md b/docs/build/isc/v1.4/docs/_admonitions/_query_gas_fees.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_query_gas_fees.md rename to docs/build/isc/v1.4/docs/_admonitions/_query_gas_fees.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_remix-IDE.md b/docs/build/isc/v1.4/docs/_admonitions/_remix-IDE.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_remix-IDE.md rename to docs/build/isc/v1.4/docs/_admonitions/_remix-IDE.md diff --git a/docs/build/isc/v1.1/docs/_admonitions/_token-demo-setup.md b/docs/build/isc/v1.4/docs/_admonitions/_token-demo-setup.md similarity index 100% rename from docs/build/isc/v1.1/docs/_admonitions/_token-demo-setup.md rename to docs/build/isc/v1.4/docs/_admonitions/_token-demo-setup.md diff --git a/docs/build/isc/v1.1/docs/_partials/_hardhat_config.md b/docs/build/isc/v1.4/docs/_partials/_hardhat_config.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/_hardhat_config.md rename to docs/build/isc/v1.4/docs/_partials/_hardhat_config.md diff --git a/docs/build/isc/v1.1/docs/_partials/_on_off_ledger_request.md b/docs/build/isc/v1.4/docs/_partials/_on_off_ledger_request.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/_on_off_ledger_request.md rename to docs/build/isc/v1.4/docs/_partials/_on_off_ledger_request.md diff --git a/docs/build/isc/v1.1/docs/_partials/how-tos/token/_check_storage_deposit.md b/docs/build/isc/v1.4/docs/_partials/how-tos/token/_check_storage_deposit.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/how-tos/token/_check_storage_deposit.md rename to docs/build/isc/v1.4/docs/_partials/how-tos/token/_check_storage_deposit.md diff --git a/docs/build/isc/v1.1/docs/_partials/how-tos/token/_example_code_intro.md b/docs/build/isc/v1.4/docs/_partials/how-tos/token/_example_code_intro.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/how-tos/token/_example_code_intro.md rename to docs/build/isc/v1.4/docs/_partials/how-tos/token/_example_code_intro.md diff --git a/docs/build/isc/v1.1/docs/_partials/how-tos/token/_get-nft-metadata.md b/docs/build/isc/v1.4/docs/_partials/how-tos/token/_get-nft-metadata.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/how-tos/token/_get-nft-metadata.md rename to docs/build/isc/v1.4/docs/_partials/how-tos/token/_get-nft-metadata.md diff --git a/docs/build/isc/v1.1/docs/_partials/how-tos/token/_obsolete_token_creation.md b/docs/build/isc/v1.4/docs/_partials/how-tos/token/_obsolete_token_creation.md similarity index 100% rename from docs/build/isc/v1.1/docs/_partials/how-tos/token/_obsolete_token_creation.md rename to docs/build/isc/v1.4/docs/_partials/how-tos/token/_obsolete_token_creation.md diff --git a/docs/build/isc/v1.1/docs/explanations/consensus.md b/docs/build/isc/v1.4/docs/explanations/consensus.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/consensus.md rename to docs/build/isc/v1.4/docs/explanations/consensus.md diff --git a/docs/build/isc/v1.1/docs/explanations/context.mdx b/docs/build/isc/v1.4/docs/explanations/context.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/context.mdx rename to docs/build/isc/v1.4/docs/explanations/context.mdx diff --git a/docs/build/isc/v1.1/docs/explanations/core-contracts.md b/docs/build/isc/v1.4/docs/explanations/core-contracts.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/core-contracts.md rename to docs/build/isc/v1.4/docs/explanations/core-contracts.md diff --git a/docs/build/isc/v1.1/docs/explanations/how-accounts-work.md b/docs/build/isc/v1.4/docs/explanations/how-accounts-work.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/how-accounts-work.md rename to docs/build/isc/v1.4/docs/explanations/how-accounts-work.md diff --git a/docs/build/isc/v1.1/docs/explanations/invocation.md b/docs/build/isc/v1.4/docs/explanations/invocation.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/invocation.md rename to docs/build/isc/v1.4/docs/explanations/invocation.md diff --git a/docs/build/isc/v1.1/docs/explanations/sandbox.md b/docs/build/isc/v1.4/docs/explanations/sandbox.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/sandbox.md rename to docs/build/isc/v1.4/docs/explanations/sandbox.md diff --git a/docs/build/isc/v1.1/docs/explanations/smart-contract-anatomy.md b/docs/build/isc/v1.4/docs/explanations/smart-contract-anatomy.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/smart-contract-anatomy.md rename to docs/build/isc/v1.4/docs/explanations/smart-contract-anatomy.md diff --git a/docs/build/isc/v1.1/docs/explanations/smart-contracts.md b/docs/build/isc/v1.4/docs/explanations/smart-contracts.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/smart-contracts.md rename to docs/build/isc/v1.4/docs/explanations/smart-contracts.md diff --git a/docs/build/isc/v1.1/docs/explanations/state_manager.md b/docs/build/isc/v1.4/docs/explanations/state_manager.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/state_manager.md rename to docs/build/isc/v1.4/docs/explanations/state_manager.md diff --git a/docs/build/isc/v1.1/docs/explanations/states.md b/docs/build/isc/v1.4/docs/explanations/states.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/states.md rename to docs/build/isc/v1.4/docs/explanations/states.md diff --git a/docs/build/isc/v1.1/docs/explanations/validators.md b/docs/build/isc/v1.4/docs/explanations/validators.md similarity index 100% rename from docs/build/isc/v1.1/docs/explanations/validators.md rename to docs/build/isc/v1.4/docs/explanations/validators.md diff --git a/docs/build/isc/v1.1/docs/getting-started/compatibility.mdx b/docs/build/isc/v1.4/docs/getting-started/compatibility.mdx similarity index 97% rename from docs/build/isc/v1.1/docs/getting-started/compatibility.mdx rename to docs/build/isc/v1.4/docs/getting-started/compatibility.mdx index 193f58e5dee..2ffd0cbe144 100644 --- a/docs/build/isc/v1.1/docs/getting-started/compatibility.mdx +++ b/docs/build/isc/v1.4/docs/getting-started/compatibility.mdx @@ -44,11 +44,9 @@ functionalities, introducing commands like `isc.send(...)` for token transfers. ### Gas Fees -As in [Ethereum](https://ethereum.org/en/developers/docs/gas), gas fees depend on the current network usage. As in an +As in [Ethereum](https://ethereum.org/en/developers/docs/gas), gas fees depend on the current network usage. As in an auction, if there is a high demand, users will compete and try to outbid each other's transactions. This means gas prices increase in periods of high usage and decrease when the usage goes down. However, unlike Ethereum, the chain owner can set the minimum gas fee. - - diff --git a/docs/build/isc/v1.1/docs/getting-started/contracts.mdx b/docs/build/isc/v1.4/docs/getting-started/contracts.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/getting-started/contracts.mdx rename to docs/build/isc/v1.4/docs/getting-started/contracts.mdx diff --git a/docs/build/isc/v1.1/docs/getting-started/languages-and-vms.md b/docs/build/isc/v1.4/docs/getting-started/languages-and-vms.md similarity index 100% rename from docs/build/isc/v1.1/docs/getting-started/languages-and-vms.md rename to docs/build/isc/v1.4/docs/getting-started/languages-and-vms.md diff --git a/docs/build/isc/v1.1/docs/getting-started/networks-and-chains.mdx b/docs/build/isc/v1.4/docs/getting-started/networks-and-chains.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/getting-started/networks-and-chains.mdx rename to docs/build/isc/v1.4/docs/getting-started/networks-and-chains.mdx diff --git a/docs/build/isc/v1.1/docs/getting-started/quick-start.mdx b/docs/build/isc/v1.4/docs/getting-started/quick-start.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/getting-started/quick-start.mdx rename to docs/build/isc/v1.4/docs/getting-started/quick-start.mdx diff --git a/docs/build/isc/v1.1/docs/getting-started/tools.mdx b/docs/build/isc/v1.4/docs/getting-started/tools.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/getting-started/tools.mdx rename to docs/build/isc/v1.4/docs/getting-started/tools.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/ERC20.md b/docs/build/isc/v1.4/docs/how-tos/ERC20.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/ERC20.md rename to docs/build/isc/v1.4/docs/how-tos/ERC20.md diff --git a/docs/build/isc/v1.1/docs/how-tos/ERC721.md b/docs/build/isc/v1.4/docs/how-tos/ERC721.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/ERC721.md rename to docs/build/isc/v1.4/docs/how-tos/ERC721.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/allow.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/allow.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/allow.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/allow.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/get-allowance.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/get-allowance.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/get-allowance.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/get-allowance.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/take-allowance.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/take-allowance.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/allowance/take-allowance.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/allowance/take-allowance.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/get-balance.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/get-balance.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/send-assets-to-l1.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/send-assets-to-l1.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/send-assets-to-l1.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/basics/send-assets-to-l1.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/call-view.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/call-view.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/call-view.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/call-view.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/get-randomness-on-l2.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/get-randomness-on-l2.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/get-randomness-on-l2.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/get-randomness-on-l2.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/introduction.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/introduction.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/introduction.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-L2-nfts.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-L2-nfts.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-L2-nfts.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-L2-nfts.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-data.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-data.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-data.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-data.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-in-collection.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-in-collection.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-in-collection.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-in-collection.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-metadata.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-metadata.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/get-nft-metadata.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/get-nft-metadata.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/introduction.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/introduction.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/introduction.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/mint-nft.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/mint-nft.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/mint-nft.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/mint-nft.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/use-as-erc721.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/use-as-erc721.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/nft/use-as-erc721.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/nft/use-as-erc721.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/create-foundry.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/create-foundry.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/create-foundry.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/create-foundry.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/create-native-token.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/create-native-token.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/create-native-token.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/create-native-token.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/erc20-native-token.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/erc20-native-token.md similarity index 69% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/erc20-native-token.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/erc20-native-token.md index dfbe3d280e5..eef11254681 100644 --- a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/erc20-native-token.md +++ b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/erc20-native-token.md @@ -35,21 +35,11 @@ NativeTokenID memory id =token.nativeTokenID(); ### Full Example Code ```solidity -// SPDX-License-Identifier: MIT - -pragma solidity ^0.8.0; - -import "@iota/iscmagic/ISC.sol"; - -contract MyNativeToken { - - function nativeTokenID(uint32 _foundrySN) public view returns (bytes memory) { - ERC20NativeTokens token = ERC20NativeTokens( - ISC.sandbox.erc20NativeTokensAddress(_foundrySN) - ); - NativeTokenID memory id = token.nativeTokenID(); - return id.data; - } +function nativeTokenID(uint32 _foundrySN) public view returns (bytes memory) { + ERC20NativeTokens token = ERC20NativeTokens( + ISC.sandbox.erc20NativeTokensAddress(_foundrySN) + ); + NativeTokenID memory id =token.nativeTokenID(); + return id.data; } - ``` diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/introduction.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/introduction.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/introduction.md diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/mint-token.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/mint-token.md similarity index 57% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/mint-token.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/mint-token.md index 551452802db..bd79533d844 100644 --- a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/mint-token.md +++ b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/mint-token.md @@ -29,25 +29,13 @@ ISC.accounts.mintNativeTokens(_foundrySN, _amount, allowance); ## Full Example Code ```solidity -// SPDX-License-Identifier: MIT - -pragma solidity ^0.8.0; - -import "@iota/iscmagic/ISC.sol"; - -contract NativeTokenMinter { - event MintedNativeTokens(uint32 foundrySN, uint amount); - - function mintNativeTokens(uint32 _foundrySN, uint _amount, uint64 _storageDeposit) public payable { - require(msg.value == _storageDeposit * (10 ** 12), "Please send exact funds to pay for storage deposit"); - - ISCAssets memory allowance; - allowance.baseTokens = _storageDeposit; - - ISC.accounts.mintNativeTokens(_foundrySN, _amount, allowance); - - emit MintedNativeTokens(_foundrySN, _amount); - } +event MintedNativeTokens(uint32 foundrySN, uint amount); + +function mintNativeTokens(uint32 _foundrySN, uint _amount, uint64 _storageDeposit) public payable { + require(msg.value == _storageDeposit*(10**12), "Please send exact funds to pay for storage deposit"); + ISCAssets memory allowance; + allowance.baseTokens = _storageDeposit; + ISC.accounts.mintNativeTokens(_foundrySN, _amount, allowance); + emit MintedNativeTokens(_foundrySN, _amount); } - ``` diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/register-token.md b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/register-token.md similarity index 56% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/register-token.md rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/register-token.md index 6e3af8a789f..990ae5e69b3 100644 --- a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/register-token.md +++ b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/register-token.md @@ -43,32 +43,14 @@ address erc20address = ISC.sandbox.erc20NativeTokensAddress(_foundrySN); ### Full Example Code ```solidity -// SPDX-License-Identifier: MIT +event ERC20Address(address erc20address); -pragma solidity ^0.8.0; - -import "@iota/iscmagic/ISC.sol"; - -contract ERC20NativeTokenRegistry { - - event ERC20Address(address erc20address); - - function registerERC20NativeToken( - uint32 _foundrySN, - string calldata _name, - string calldata _symbol, - uint8 _decimals, - uint64 _storageDeposit - ) public payable { - require(msg.value == _storageDeposit * (10 ** 12), "Please send exact funds to pay for storage deposit"); - - ISCAssets memory allowance; - allowance.baseTokens = _storageDeposit; - - ISC.sandbox.registerERC20NativeToken(_foundrySN, _name, _symbol, _decimals, allowance); - - address erc20address = ISC.sandbox.erc20NativeTokensAddress(_foundrySN); - emit ERC20Address(erc20address); - } +function registerERC20NativeToken(uint32 _foundrySN, string calldata _name, string calldata _symbol, uint8 _decimals, uint64 _storageDeposit) public payable { +require(msg.value == _storageDeposit*(10**12), "Please send exact funds to pay for storage deposit"); +ISCAssets memory allowance; +allowance.baseTokens = _storageDeposit; +ISC.sandbox.registerERC20NativeToken(_foundrySN, _name, _symbol, _decimals, allowance); +address erc20address = ISC.sandbox.erc20NativeTokensAddress(_foundrySN); +emit ERC20Address(erc20address); } ``` diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/token/send-token-across-chains.mdx b/docs/build/isc/v1.4/docs/how-tos/core-contracts/token/send-token-across-chains.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/core-contracts/token/send-token-across-chains.mdx rename to docs/build/isc/v1.4/docs/how-tos/core-contracts/token/send-token-across-chains.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/create-a-basic-contract.md b/docs/build/isc/v1.4/docs/how-tos/create-a-basic-contract.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/create-a-basic-contract.md rename to docs/build/isc/v1.4/docs/how-tos/create-a-basic-contract.md diff --git a/docs/build/isc/v1.1/docs/how-tos/deploy-a-smart-contract.mdx b/docs/build/isc/v1.4/docs/how-tos/deploy-a-smart-contract.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/deploy-a-smart-contract.mdx rename to docs/build/isc/v1.4/docs/how-tos/deploy-a-smart-contract.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/introduction.md b/docs/build/isc/v1.4/docs/how-tos/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/introduction.md rename to docs/build/isc/v1.4/docs/how-tos/introduction.md diff --git a/docs/build/isc/v1.1/docs/how-tos/send-ERC20-across-chains.md b/docs/build/isc/v1.4/docs/how-tos/send-ERC20-across-chains.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/send-ERC20-across-chains.md rename to docs/build/isc/v1.4/docs/how-tos/send-ERC20-across-chains.md diff --git a/docs/build/isc/v1.1/docs/how-tos/send-NFTs-across-chains.md b/docs/build/isc/v1.4/docs/how-tos/send-NFTs-across-chains.md similarity index 99% rename from docs/build/isc/v1.1/docs/how-tos/send-NFTs-across-chains.md rename to docs/build/isc/v1.4/docs/how-tos/send-NFTs-across-chains.md index f76c757dfa9..3e9b5a435a7 100644 --- a/docs/build/isc/v1.1/docs/how-tos/send-NFTs-across-chains.md +++ b/docs/build/isc/v1.4/docs/how-tos/send-NFTs-across-chains.md @@ -135,7 +135,7 @@ approve step is also required, but the operations will happen on the `ONFT` cont - [layerZero Endpoint V1 (Mainnet)](https://docs.layerzero.network/v1/developers/evm/technical-reference/mainnet/mainnet-addresses) - [LayerZero explorer](https://Testnet.layerzeroscan.com/) -### Install and compile the Library +### Install and Compile the Library After you have cloned the [IOTA Community Utilities for LayerZero ONFT V1 repository](https://github.com/iota-community/layerzero-onft-v1-utils), diff --git a/docs/build/isc/v1.1/docs/how-tos/send-funds-from-L1-to-L2.mdx b/docs/build/isc/v1.4/docs/how-tos/send-funds-from-L1-to-L2.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/send-funds-from-L1-to-L2.mdx rename to docs/build/isc/v1.4/docs/how-tos/send-funds-from-L1-to-L2.mdx diff --git a/docs/build/isc/v1.1/docs/how-tos/test-smart-contracts.md b/docs/build/isc/v1.4/docs/how-tos/test-smart-contracts.md similarity index 100% rename from docs/build/isc/v1.1/docs/how-tos/test-smart-contracts.md rename to docs/build/isc/v1.4/docs/how-tos/test-smart-contracts.md diff --git a/docs/build/isc/v1.1/docs/introduction.md b/docs/build/isc/v1.4/docs/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/introduction.md rename to docs/build/isc/v1.4/docs/introduction.md diff --git a/docs/build/isc/v1.1/docs/reference/.gitignore b/docs/build/isc/v1.4/docs/reference/.gitignore similarity index 100% rename from docs/build/isc/v1.1/docs/reference/.gitignore rename to docs/build/isc/v1.4/docs/reference/.gitignore diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/accounts.md b/docs/build/isc/v1.4/docs/reference/core-contracts/accounts.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/accounts.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/accounts.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/blob.md b/docs/build/isc/v1.4/docs/reference/core-contracts/blob.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/blob.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/blob.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/blocklog.md b/docs/build/isc/v1.4/docs/reference/core-contracts/blocklog.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/blocklog.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/blocklog.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/errors.md b/docs/build/isc/v1.4/docs/reference/core-contracts/errors.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/errors.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/errors.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/evm.md b/docs/build/isc/v1.4/docs/reference/core-contracts/evm.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/evm.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/evm.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/governance.md b/docs/build/isc/v1.4/docs/reference/core-contracts/governance.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/governance.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/governance.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/overview.md b/docs/build/isc/v1.4/docs/reference/core-contracts/overview.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/overview.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/overview.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/root.md b/docs/build/isc/v1.4/docs/reference/core-contracts/root.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/root.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/root.md diff --git a/docs/build/isc/v1.1/docs/reference/core-contracts/xfer.md b/docs/build/isc/v1.4/docs/reference/core-contracts/xfer.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/core-contracts/xfer.md rename to docs/build/isc/v1.4/docs/reference/core-contracts/xfer.md diff --git a/docs/build/isc/v1.1/docs/reference/json-rpc-spec.md b/docs/build/isc/v1.4/docs/reference/json-rpc-spec.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/json-rpc-spec.md rename to docs/build/isc/v1.4/docs/reference/json-rpc-spec.md diff --git a/docs/build/isc/v1.1/docs/reference/magic-contract/introduction.md b/docs/build/isc/v1.4/docs/reference/magic-contract/introduction.md similarity index 100% rename from docs/build/isc/v1.1/docs/reference/magic-contract/introduction.md rename to docs/build/isc/v1.4/docs/reference/magic-contract/introduction.md diff --git a/docs/build/isc/v1.1/docs/reference/wasm-lib-data-types.mdx b/docs/build/isc/v1.4/docs/reference/wasm-lib-data-types.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/reference/wasm-lib-data-types.mdx rename to docs/build/isc/v1.4/docs/reference/wasm-lib-data-types.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/access.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/access.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/access.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/access.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/call.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/call.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/call.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/call.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/events.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/events.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/events.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/events.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/funcdesc.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/funcdesc.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/funcdesc.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/funcdesc.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/funcs.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/funcs.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/funcs.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/funcs.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/init.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/init.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/init.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/init.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/params.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/params.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/params.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/params.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/post.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/post.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/post.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/post.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/results.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/results.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/results.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/results.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/spec.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/spec.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/spec.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/spec.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/state.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/state.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/state.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/state.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/structs.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/structs.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/structs.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/structs.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/thunks.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/thunks.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/thunks.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/thunks.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/transfers.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/transfers.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/transfers.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/transfers.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/typedefs.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/typedefs.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/typedefs.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/typedefs.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/usage.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/usage.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/usage.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/usage.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/views.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/views.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/views.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/views.mdx diff --git a/docs/build/isc/v1.1/docs/schema/how-tos/yaml.mdx b/docs/build/isc/v1.4/docs/schema/how-tos/yaml.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/how-tos/yaml.mdx rename to docs/build/isc/v1.4/docs/schema/how-tos/yaml.mdx diff --git a/docs/build/isc/v1.1/docs/schema/introduction.mdx b/docs/build/isc/v1.4/docs/schema/introduction.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/introduction.mdx rename to docs/build/isc/v1.4/docs/schema/introduction.mdx diff --git a/docs/build/isc/v1.1/docs/schema/proxies.mdx b/docs/build/isc/v1.4/docs/schema/proxies.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/schema/proxies.mdx rename to docs/build/isc/v1.4/docs/schema/proxies.mdx diff --git a/docs/build/isc/v1.1/docs/solo/getting-started.md b/docs/build/isc/v1.4/docs/solo/getting-started.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/getting-started.md rename to docs/build/isc/v1.4/docs/solo/getting-started.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/deploying-sc.md b/docs/build/isc/v1.4/docs/solo/how-tos/deploying-sc.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/deploying-sc.md rename to docs/build/isc/v1.4/docs/solo/how-tos/deploying-sc.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/error-handling.md b/docs/build/isc/v1.4/docs/solo/how-tos/error-handling.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/error-handling.md rename to docs/build/isc/v1.4/docs/solo/how-tos/error-handling.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/examples.mdx b/docs/build/isc/v1.4/docs/solo/how-tos/examples.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/examples.mdx rename to docs/build/isc/v1.4/docs/solo/how-tos/examples.mdx diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/first-example.md b/docs/build/isc/v1.4/docs/solo/how-tos/first-example.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/first-example.md rename to docs/build/isc/v1.4/docs/solo/how-tos/first-example.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/invoking-sc.md b/docs/build/isc/v1.4/docs/solo/how-tos/invoking-sc.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/invoking-sc.md rename to docs/build/isc/v1.4/docs/solo/how-tos/invoking-sc.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/test.mdx b/docs/build/isc/v1.4/docs/solo/how-tos/test.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/test.mdx rename to docs/build/isc/v1.4/docs/solo/how-tos/test.mdx diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/the-l1-ledger.md b/docs/build/isc/v1.4/docs/solo/how-tos/the-l1-ledger.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/the-l1-ledger.md rename to docs/build/isc/v1.4/docs/solo/how-tos/the-l1-ledger.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/the-l2-ledger.md b/docs/build/isc/v1.4/docs/solo/how-tos/the-l2-ledger.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/the-l2-ledger.md rename to docs/build/isc/v1.4/docs/solo/how-tos/the-l2-ledger.md diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/timelock.mdx b/docs/build/isc/v1.4/docs/solo/how-tos/timelock.mdx similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/timelock.mdx rename to docs/build/isc/v1.4/docs/solo/how-tos/timelock.mdx diff --git a/docs/build/isc/v1.1/docs/solo/how-tos/view-sc.md b/docs/build/isc/v1.4/docs/solo/how-tos/view-sc.md similarity index 100% rename from docs/build/isc/v1.1/docs/solo/how-tos/view-sc.md rename to docs/build/isc/v1.4/docs/solo/how-tos/view-sc.md diff --git a/docs/build/isc/v1.1/docs/tutorials/cross-chain-nft-marketplace-part-1.md b/docs/build/isc/v1.4/docs/tutorials/cross-chain-nft-marketplace-part-1.md similarity index 87% rename from docs/build/isc/v1.1/docs/tutorials/cross-chain-nft-marketplace-part-1.md rename to docs/build/isc/v1.4/docs/tutorials/cross-chain-nft-marketplace-part-1.md index 50abd2a9f68..0f460e90060 100644 --- a/docs/build/isc/v1.1/docs/tutorials/cross-chain-nft-marketplace-part-1.md +++ b/docs/build/isc/v1.4/docs/tutorials/cross-chain-nft-marketplace-part-1.md @@ -8,32 +8,23 @@ The second part of the series will focus on bridging NFTs from another EVM netwo Finally, in part III, you will deploy another instance of the marketplace on the BNB Testnet, making the marketplace truly cross-chain. ## Marketplace Architecture Overview - The architecture of the marketplace will evolve as we progress through the tutorials. - ### Part I - In part I, we will start with this very simple architecture: - ![Cross Chain MarketPlace V1](../../../../../../static/img/tutorials/cross_chain_marketplace/Architecture-V1.png) ### Part II - -In Part II, you will add the contracts and scripts to manually bridge NFTs from the BNB Testnet to the ShimmerEVM Testnet and list them on the marketplace. - -The architecture will evolve to look like this: - +In Part II, you will add the contracts and scripts to manually bridge NFTs from the BNB Testnet to the ShimmerEVM Testnet and list them on the marketplace. The architecture will evolve to look like this: ![Cross Chain MarketPlace V2](../../../../../../static/img/tutorials/cross_chain_marketplace/Architecture-V2.png) ### Part III - Finally, in part III, you will deploy another marketplace instance on the BNB Testnet, where the contract will handle cross-chain transactions. This enables a user on the BNB Testnet, to view and buy an NFT listed on the ShimmerEVM Testnet and vice versa without switching networks. - The architecture will look like this: - ![Cross Chain MarketPlace V3](../../../../../../static/img/tutorials/cross_chain_marketplace/Architecture-V3.png) + + ## Prerequisites - [Node.js](https://nodejs.org) >= v18.0 @@ -63,6 +54,10 @@ In the `hardhat.config.js` file, update the `networks` object to include the Shi https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/ab11866504fe8f72fc54d719a316ec9291839ced/hardhat.config.js ``` + + + + ## Contracts In the first part of the tutorial, you will only need two contracts: the [NFT Marketplace contract](https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/ab11866504fe8f72fc54d719a316ec9291839ced/contracts/NFTMarketPlace.sol) and an [NFT ERC721-compatible](https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/contracts/MyERC721.sol) contract. @@ -73,12 +68,10 @@ Create a `contracts` folder in the root of the project and add the following fil The idea behind a marketplace contract is to allow users to list their NFTs for sale and other users to buy them. The contract will handle the transfer of the NFT from the seller to the buyer and the payment from the buyer to the seller. A seller must first allow the marketplace contract to transfer the NFT on their behalf before listing it for sale. -#### Data Structures - The main data structures and functions in the contract are: -- `struct Listing`: Represents an NFT listing with the seller's price and address. In further parts of the tutorial, `struct Listing` will be expanded to include more details about the NFT being listed, like the chain it resides on. - +- `struct Listing` +Represents an NFT listing with the price and the address of the seller. In further parts of the tutorial, `struct Listing` will be expanded to include more details about the NFT being listed, like the chain it resides on. ```solidity struct Listing { address seller; @@ -87,13 +80,15 @@ struct Listing { ``` -- `mapping s_listings` : Maps the token contract address to a mapping of token ID to `Listing.` +- `mapping s_listings` +Maps the token contract address to a mappring of token ID to `Listing`. ```solidity mapping(address => mapping(uint256 => Listing)) private s_listings; ``` -#### Functions -- `function listItem`: Allows a seller to list an NFT for sale by specifying the token contract address, the token ID, and the price. This function will stay the same in Part II, but the `Listing` struct will be expanded to include more details about the NFT being listed, like the chain it resides on. + +- `function listItem` +Allows a seller to list an NFT for sale by specifying the token contract address, the token ID, and the price. In Part II, this function will stay the same, but the `Listing` struct will be expanded to include more details about the NFT being listed, like the chain it resides on. ```solidity /* @@ -123,7 +118,11 @@ mapping(address => mapping(uint256 => Listing)) private s_listings; } ``` -- `function buyItem`: This handles the transfer of an NFT from a seller to the buyer. Similar to the `listItem` function, this function will stay the same in Part II because the NFTs will be bridged manually. + + + +- `function buyItem` +This handles the transfer of an NFT from a seller to buyer. Same as the `listItem` function, this function will stay the same in Part II, because the NFTs will be bridged manually. ```solidity /* @@ -159,7 +158,11 @@ mapping(address => mapping(uint256 => Listing)) private s_listings; ``` -- `function getListing`: Gets an NFT listing by its address and `tokenId`. + + + +- `function getListing` +gets an NFT listing by its address and `tokenId`. ```solidity function getListing(address nftAddress, uint256 tokenId) external @@ -185,7 +188,6 @@ A standard ERC721-compatible contract that allows minting and transferring of NF ```solidity reference https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/contracts/MyERC721.sol ``` -### Compile the Contracts After adding the contracts, compile them by running: @@ -199,7 +201,6 @@ npx hardhat compile First, create a `scripts` folder in the root of the project and add the following files under it: ### deploy_marketplace_shimmer.js - 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`. ```javascript reference @@ -213,13 +214,11 @@ npx hardhat run scripts/deploy_marketplace_shimmer.js --network shimmerevm-testn ``` ### deploy_er721_shimmer.js - This script will deploy the `MyERC721` contract to the ShimmerEVM Testnet and save the contract's address to a file called `MyERC721.txt`. ```javascript reference https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/deploy_erc721_shimmer.js ``` - You can run this script with the following command: ```bash @@ -233,7 +232,6 @@ After you have deployed the `MyERC721` contract, you are ready to mint an NFT us ```javascript reference https://github.com/iota-community/ISC-Cross-Chain-NFT-Marketplace/blob/main/scripts/mint_nft.js ``` - You can run the script by executing the following command: ```bash @@ -279,4 +277,4 @@ npx hardhat run scripts/buy_item.js --network shimmerevm-testnet ## Conclusion -In this first part of the cross-chain NFT marketplace tutorial, you have set up the project and deployed the NFTMarketplace contract to the ShimmerEVM Testnet. You have also deployed the MyERC721 contract, minted an NFT, and listed it on the marketplace. In the next part, we will manually bridge NFTs from the BNB Testnet and Shimmer Testnet to the ShimmerEVM Testnet and list them on the same marketplace. \ No newline at end of file +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. \ No newline at end of file diff --git a/docs/build/isc/v1.1/docs/tutorials/cross-chain-nft-marketplace-part-2.md b/docs/build/isc/v1.4/docs/tutorials/cross-chain-nft-marketplace-part-2.md similarity index 100% rename from docs/build/isc/v1.1/docs/tutorials/cross-chain-nft-marketplace-part-2.md rename to docs/build/isc/v1.4/docs/tutorials/cross-chain-nft-marketplace-part-2.md diff --git a/docs/build/isc/v1.1/sidebars.js b/docs/build/isc/v1.4/sidebars.js similarity index 100% rename from docs/build/isc/v1.1/sidebars.js rename to docs/build/isc/v1.4/sidebars.js diff --git a/docs/maintain/wasp/v1.1/docs/how-tos/chain-management.md b/docs/maintain/wasp/v1.4/docs/how-tos/chain-management.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/how-tos/chain-management.md rename to docs/maintain/wasp/v1.4/docs/how-tos/chain-management.md diff --git a/docs/maintain/wasp/v1.1/docs/how-tos/running-a-node.md b/docs/maintain/wasp/v1.4/docs/how-tos/running-a-node.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/how-tos/running-a-node.md rename to docs/maintain/wasp/v1.4/docs/how-tos/running-a-node.md diff --git a/docs/maintain/wasp/v1.1/docs/how-tos/running-an-access-node.md b/docs/maintain/wasp/v1.4/docs/how-tos/running-an-access-node.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/how-tos/running-an-access-node.md rename to docs/maintain/wasp/v1.4/docs/how-tos/running-an-access-node.md diff --git a/docs/maintain/wasp/v1.1/docs/how-tos/setting-up-a-chain.md b/docs/maintain/wasp/v1.4/docs/how-tos/setting-up-a-chain.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/how-tos/setting-up-a-chain.md rename to docs/maintain/wasp/v1.4/docs/how-tos/setting-up-a-chain.md diff --git a/docs/maintain/wasp/v1.1/docs/how-tos/wasp-cli.md b/docs/maintain/wasp/v1.4/docs/how-tos/wasp-cli.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/how-tos/wasp-cli.md rename to docs/maintain/wasp/v1.4/docs/how-tos/wasp-cli.md diff --git a/docs/maintain/wasp/v1.1/docs/reference/configuration.md b/docs/maintain/wasp/v1.4/docs/reference/configuration.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/reference/configuration.md rename to docs/maintain/wasp/v1.4/docs/reference/configuration.md diff --git a/docs/maintain/wasp/v1.1/docs/reference/metrics.md b/docs/maintain/wasp/v1.4/docs/reference/metrics.md similarity index 100% rename from docs/maintain/wasp/v1.1/docs/reference/metrics.md rename to docs/maintain/wasp/v1.4/docs/reference/metrics.md diff --git a/docs/maintain/wasp/v1.1/sidebars.js b/docs/maintain/wasp/v1.4/sidebars.js similarity index 100% rename from docs/maintain/wasp/v1.1/sidebars.js rename to docs/maintain/wasp/v1.4/sidebars.js diff --git a/scripts/get_wasp_references.sh b/scripts/get_wasp_references.sh index a1919e76452..4be209d9594 100755 --- a/scripts/get_wasp_references.sh +++ b/scripts/get_wasp_references.sh @@ -5,18 +5,18 @@ mkdir tmp cd tmp # Download and copy docs -curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.1/iscmagic.tar.gz | tar xzv -cp -Rv docs/iscmagic/* ../docs/build/isc/v1.1/docs/reference/magic-contract/ - -curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.1/iscutils.tar.gz | tar xzv -cp -Rv docs/iscutils ../docs/build/isc/v1.1/docs/reference/ - curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.3/iscmagic.tar.gz | tar xzv cp -Rv docs/iscmagic/* ../docs/build/isc/v1.3/docs/reference/magic-contract/ curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.3/iscutils.tar.gz | tar xzv cp -Rv docs/iscutils ../docs/build/isc/v1.3/docs/reference/ +curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.4/iscmagic.tar.gz | tar xzv +cp -Rv docs/iscmagic/* ../docs/build/isc/v1.4/docs/reference/magic-contract/ + +curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/wasp/1.4/iscutils.tar.gz | tar xzv +cp -Rv docs/iscutils ../docs/build/isc/v1.4/docs/reference/ + # Return to root and cleanup cd - rm -rf tmp