Verify a Smart Contract

circle-check

Verifying a smart contract allows you to confirm that the contract's source code corresponds to a specific contract address on the blockchain. This is crucial for transparency and trust, especially in the decentralized world of blockchain.

Once you have deployed your smart contract on Chiliz Chain, you can verify it by using a block explorer, such as Chiliscanarrow-up-right (by Routescanarrow-up-right) or Chiliz Block Explorerarrow-up-right (by Blockscoutarrow-up-right).

Verify with Chiliscanchevron-rightVerify with Chiliz Block Explorerchevron-right

You can also verify your contract through the command line:

Verify with Hardhatchevron-right

Note that it might be easier for you to validate your deployed smart contract using a flattened version of it. Here is how:

Flatten a Smart Contractchevron-right

In any case, always follow the best practices!

Verification Best Practiceschevron-right

Last updated

Was this helpful?