Verified contracts create trust and transparency by providing users with the source code of the smart contracts they are interacting with. It gives users the opportunity to audit the code and verify that it works the way they expect it to.

Source code verification works by compiling contracts to generate bytecode and then matching that with the bytecode stored on the blockchain.

1. To verify the contract, visit https://subnets.avax.network/tools/verify-contract, and enter the chain and address of the contract

2. Now upload the contract's metadata file and any necessary source files below. Avalanche uses Sourcify to compile and verify contracts behind the scenes.

Verified Contracts

On Avalanche Explorer, verified contracts will have a verified icon.

Note: A verified contract does not certify the security, performance, or integrity of the smart contract. Nor is it an endorsement of the contract or its owner.

Users will also be able to easily view information about the contract on the contract’s address page. Information such as the contract's name, source code, and ABI information will be available to the user in a readable format.

Unverified Contracts

On Avalanche Explorer, unverified contracts will have their contract byte code displayed for users to access. Only when the user uploaded contract info is submitted for automatic verification will the source code be displayed to users.


For any additional questions, please visit our knowledge base or contact a support team member via the chat button at support.avax.network.

Chat with Ava Labs | Use Apps on Avalanche | Validate on Avalanche

Build on Avalanche

Did this answer your question?