diff --git a/develop/smart-contracts/.pages b/develop/smart-contracts/.pages index f6a94265c..27dd0dc10 100644 --- a/develop/smart-contracts/.pages +++ b/develop/smart-contracts/.pages @@ -3,4 +3,6 @@ nav: - index.md - 'Overview': overview.md - 'Wasm (ink!)': wasm-ink.md - - evm + - 'Native EVM Contracts': native-evm-contracts.md + - 'Parachain Contracts': parachain-contracts.md + - 'EVM Toolkit': evm-toolkit \ No newline at end of file diff --git a/develop/smart-contracts/evm-toolkit/.pages b/develop/smart-contracts/evm-toolkit/.pages new file mode 100644 index 000000000..13d668fd5 --- /dev/null +++ b/develop/smart-contracts/evm-toolkit/.pages @@ -0,0 +1,4 @@ +title: EVM Toolkit +nav: + - index.md + - 'Connect Your Wallet': connect-your-wallet.md \ No newline at end of file diff --git a/develop/smart-contracts/evm/connect-your-wallet.md b/develop/smart-contracts/evm-toolkit/connect-your-wallet.md similarity index 82% rename from develop/smart-contracts/evm/connect-your-wallet.md rename to develop/smart-contracts/evm-toolkit/connect-your-wallet.md index da2f42911..2cdd17040 100644 --- a/develop/smart-contracts/evm/connect-your-wallet.md +++ b/develop/smart-contracts/evm-toolkit/connect-your-wallet.md @@ -19,11 +19,11 @@ To connect to the Westend Asset Hub TestNet via MetaMask, you need to follow the 1. Open the MetaMask extension and click in the network icon to switch to the Asset Hub Westend TestNet - ![](/images/develop/smart-contracts/metamask/metamask-connection-1.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-1.webp) 2. Click on the **Add a custom network** button - ![](/images/develop/smart-contracts/metamask/metamask-connection-2.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-2.webp) 3. Fill in the required fields with the following parameters and click the **Save** button @@ -35,11 +35,11 @@ To connect to the Westend Asset Hub TestNet via MetaMask, you need to follow the | **Currency symbol** |
```WND```| | **Block explorer URL** |
```https://assethub-westend.subscan.io```| - ![](/images/develop/smart-contracts/metamask/metamask-connection-3.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-3.webp) 4. Click on the **Asset-Hub Westend TestNet** to switch the network - ![](/images/develop/smart-contracts/metamask/metamask-connection-4.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-4.webp) ## Request Test Tokens @@ -50,11 +50,11 @@ To start conducting transactions and interacting with smart contracts on the Wes 2. Copy your MetaMask address linked to the Westend Asset Hub and paste it into the designated field on the Faucet page - ![](/images/develop/smart-contracts/metamask/metamask-connection-5.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-5.webp) 3. Click **Get Some WND** button to request free test WND tokens. These tokens will be sent to your MetaMask wallet shortly. - ![](/images/develop/smart-contracts/metamask/metamask-connection-6.webp) + ![](/images/develop/smart-contracts/evm-toolkit/connect-your-wallet/connect-your-wallet-6.webp) ## Conclusion diff --git a/develop/smart-contracts/evm-toolkit/index.md b/develop/smart-contracts/evm-toolkit/index.md new file mode 100644 index 000000000..e69de29bb diff --git a/develop/smart-contracts/evm/.pages b/develop/smart-contracts/evm/.pages deleted file mode 100644 index 6ee103b01..000000000 --- a/develop/smart-contracts/evm/.pages +++ /dev/null @@ -1,7 +0,0 @@ -title: EVM -nav: - - index.md - # This page is temporarily hidden; it has been commented out to preserve its content. - # - 'Native EVM Contracts': native-evm-contracts.md - - 'Parachain Contracts': parachain-contracts.md - - 'Connect Your Wallet': connect-your-wallet.md \ No newline at end of file diff --git a/develop/smart-contracts/evm/index.md b/develop/smart-contracts/evm/index.md deleted file mode 100644 index eccafb4c0..000000000 --- a/develop/smart-contracts/evm/index.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: EVM -# This content is temporarily hidden and has been commented out to ensure it is preserved. -# description: Explore EVM support in Polkadot, covering native Asset Hub contracts and parachain implementations like Astar and Moonbeam for smart contract development. -description: Explore EVM support in Polkadot and learn how EVM-compatible smart contracts integrate seamlessly within the Polkadot ecosystem. -template: index-page.html ---- - -# EVM - -The Polkadot ecosystem supports Ethereum-compatible smart contracts through both native EVM contracts and EVM-compatible parachains. Native EVM contracts are designed to run on Polkadot's Ethereum-compatible virtual machine, PolkaVM, which natively supports Ethereum's EVM. This allows Polkadot to execute Solidity-based contracts directly within its ecosystem without relying on external Ethereum networks or EVM-compatible parachains. - -With EVM support, developers can build decentralized applications (dApps) using familiar tools, languages like Solidity, and established smart contract standards, all while taking advantage of Polkadot's unique features, such as scalability and cross-chain interoperability. - -Whether deploying existing Ethereum contracts on Polkadot or creating new applications, this section provides the resources you need to get started. Learn how to leverage popular EVM tools, such as [Remix](https://remix.ethereum.org/){target=\_blank} and [Ethers.js](https://docs.ethers.org/){target=\_blank}, to integrate Ethereum-compatible smart contract functionality into the Polkadot ecosystem. - -- Want to learn more? Jump to [In This Section](#in-this-section) to get started -- Ready to start coding? Check out the [Deploy a Smart Contract](#deploy-a-smart-contract) section to get started - -## In This Section - -:::INSERT_IN_THIS_SECTION::: - -## Deploy a Smart Contract - -