Deploying a fast and cheap Solidity Smart Contract using Remix

Adam
2 min readDec 14, 2022

--

This is how to deploy Solidity smart contracts that can handle up to πŸš€πŸš€πŸš€2000 transactions per second πŸš€πŸš€πŸš€, using the Neon Labs EVM!

As of tomorrow (2022/12/12) the Neon EVM will be live on Solana’s mainnet. Why should you care?

Now you can get the best of both worlds, fast and cheap transactions using the smart contract language and tools you know and love, like Open Zeppelin, Metamask, Hardhat and more!

For this example we will use Remix and Metamask. But don’t forget, all of the most popular Ethereum tooling is compatible with Neon Labs’ EVM.

I’ll link to the Neon Docs for most of the step-by-step.

As always, mainnet is not recommended for development, so here are the steps to get started with devnet. It is just as easy to deploy to mainnet once your smart contract is ready for production.

Configure Metamask and Get Some Neon Tokens

  • This will walk you through configuring Metamask for smart contract deployment on the Neon EVM: Setup Metamask
  • Once Metamask is configured request a devnet $NEON airdrop of at least 3 $NEON here: NEON Devnet Faucet

Create and Deploy your Smart Contract with Remix

  • This will guide you through configuring Remix for Neon and deploying a β€˜hello world’ solidity smart contract to the Neon EVM: Remix Tutorial

Verify your Smart Contract with Neonscan

  • Just like Ethereum has Etherscan, Neon has Neonscan. This enables smart contract transparency by allowing you to upload your solidity code and have it verified against on chain bytecode for everyone to see.
  • Once the smart contract is deployed, paste your smart contract address into the search bar of Neonscan and make sure your network is on Devnet
  • The β€˜Contract’ tab will be where you can paste in your Solidity code to verify it against the deployed bytecode.
  • Here is an example of a deployed and verified smart contract.

Conclusion

That is all there is to it. The Neon Labs team has done an amazing job of bringing higher throughput to Solidity smart contracts without sacrificing compatibility with existing Ethereum smart contract tooling!

I look forward to using my favorite tools, like Foundry, to deploy Solidity smart contracts powered by the scalability and cost efficiency of Solana!

--

--

No responses yet