Verifying a Smart Contract on Nero Chain

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.

Navigate to the Tokens page, find your contract, and click on the address link.

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