Verifying a smart contract on NERO Chain from the Explorer.

This tutorial explains how to verify your smart contract on the NERO Testnet.

Deploy Your Contract on NERO Chain

If you haven't deployed the contract yet, you can refer to the information on the previous page.

Please enter the generated contract address into the search box.

Click on "Verify and Publish"

Fill in the Correct Information about Your Contract

It is recommended to use flattened code. This is necessary if your code utilizes a library or inherits dependencies. To achieve this, you can use the POA solidity flattener

  • The compiler version should be the same as your compilation setup.

  • The Optimization Setup should also match your setup.

  • Enter the Solidity Contract Code

Click on "Verify and Publish" to finish this process. Now you are all set!

Last updated