How to deploy a smart contract on ConsenSys zkEVM 📃

In this article, you will learn how to deploy a smart contract on the ConsenSys zkEVM testnet.

If you’re brand new to ConsenSys zkEVM, make sure to try the Beta Testnet first. Available on Earn3.


So here is how to deploy a smart contract on ConsenSys zkEVM:

First, go to Remix 👇🏻

Remix is a toolset for developing, deploying, debugging, and testing Ethereum and EVM-compatible smart contracts.

Click on “Create” and set a name for your contract. Eg. zkEVM Contract


Now we need an existing contract to deploy on ConsenSys zkEVM. For this, we’ll use the BUSD token contract. You can use any token contract you like, but not all contracts work smoothly, so use BUSD.

Copy the source code of the contract 👇🏻


Now paste the source code on Remix > Your contract page and hit OK 👇🏻


Head over to the “Solidity compiler” tab and hit on “Compile” 👇🏻

If there is no error, you will see a green check mark 👇🏻


Now it’s time to deploy the contract. But before that, switch the chain to ConsenSys zkEVM testnet on your Metamask. Make sure to hold some test ETH as we’ll need it for the gas fee.

If you haven’t added the chain yet, check this guide first. Adding the chain is not straightforward as we need an API key to add it. (Need to create an account on Earn3 first to access the guide.)

If you don’t have test ETH on ConsenSys zkEVM testnet, bridge some using the official bridge from Ethereum Goerli 👇🏻

https://bridge.goerli.zkevm.consensys.net/


Now go to the “Deploy page” > Choose “Injected Provider” on ENVIRONMENT and click on “Deploy 👇🏻

And confirm the transaction on Metamask 👇🏻


Once the transaction is successful, you’ll see your deployed contract like this 👇🏻

Congrats!!! 🎉🚀 You’ve successfully deployed a contract on the ConsenSys zkEVM testnet!!! This may come in handy later when ConsenSys launches it on the mainnet.


That’s it for now. Make sure to join us on Telegram to remain updated with ConsenSys airdrop and more.


Discover and track 100+ airdrops 👇🏻

Subscribe to Airdrop Adventure 🧭
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.