Contract verification

What is the contract verification

Contract verification is the process of compiling the source code of a given smart contract in a high-level language (such as Solidity) and verifying that it is the same as the byte code to be executed at the contract address.

Contract verification improves reliability because users can see the verified code associated with the contract address on the verified service.

circle-info

For now, contract verification needs to be done manually. But the auto-verification function is coming soon.

Prerequisites

  • DApp is created

  • Module is deployed

How to verify contract

To begin, open the Contract Validation page of the Blockchain Explorer for the chain in which you deployed the module. For example,

Testnet

Mainnet

If your chain is not listed above, search a block explorer by google.

In this article, we will proceed using Mumbai testnet.

When you access the contract verification page, you will see the following UI.

To get the information you need to enter on this screen, go to Bunzz and navigate to the DApp dashboard.

circle-exclamation

Click on the "Verify" button to get information for verify.

You can then get these information. Enter this information in the verification screen of the Blockchain Explorer.

When you are finished, click the Continue button. Then the following screen will appear and you will need to enter the respective information.

When you are finished, click the "Verify and Publish" button to complete the verification.

Last updated