Skip to main content

Contract Verification

Verify your smart contracts on Blockscout so anyone can read the source code behind them and interact with them directly in the explorer.

How to Verify

1

Deploy Your Contract

Deploy your smart contract to the ETC mainnet or Mordor testnet

2

Gather Information

Note the contract address, compiler version, and constructor arguments

3

Submit Source Code

Upload your source code via Blockscout verification interface

4

Verify & Publish

Blockscout compiles your source and compares it with the deployed bytecode. On a match, the contract shows as verified.

Why Verify Your Contract?

Build Trust

Users can verify the code matches what's deployed on-chain

Enable Interaction

Verified contracts get read/write tabs in the explorer

Improve Discoverability

Verified contracts appear in search and verified contract lists

Security Audits

Makes it easier for security researchers to audit your code

What You Need

  • Contract Address: the deployed contract's address on mainnet or testnet
  • Compiler Version: the exact Solidity or Vyper version used (e.g., v0.8.24)
  • Source Code: the original source files, including all imports
  • Constructor Arguments: ABI-encoded, if your contract's constructor takes any
  • Optimization Settings: whether the optimizer was on, and its run count
  • EVM Version: the target you compiled for, such as shanghai for Ethereum Classic

Need Help Building?

Check out our developer documentation for guides on smart contract development, testing, and deployment on Ethereum Classic.