LogoLogo
Block ExplorerDiscordTwitterMirror
  • What Is Canto?
  • Free Public Infrastructure
    • NOTE
    • Canto Lending Market
    • Canto DEX
  • Canto Neofinance
    • Overview
    • Application Specific Dollar
  • User Guides
    • Connecting to Canto
    • Bridging Assets
      • Bridging to Canto
      • Bridging from Canto
      • Synapse Bridge
      • Celer cBridge
    • Providing Liquidity
    • Lending & Borrowing
    • Staking
    • Governance
  • EVM Development
    • Overview
    • Quickstart Guide
    • NOTE, DEX, and Lending Market
    • Contract Secured Revenue (CSR)
    • Verifying Contracts
    • Contract Addresses
    • Testnet
  • Running a Node
    • Validators
      • Quickstart Guide
      • Useful Commands
      • Snapshots
      • FAQ
      • Troubleshooting
      • Uptime
      • Slashing
    • Archive Node
    • Graph Node (Subgraphs)
  • Technical Reference
    • Application Specific Dollar
      • asdOFT
      • asdRouter
      • asdUSDC
    • Liquidity Coordinator
      • VotingEscrow
      • GaugeController
      • LendingLedger
      • LiquidityGauge
    • Architecture & Design
      • Onboarding Module
      • Gravity Bridge
      • NOTE Design
      • Canto Lending Protocol
      • IBC Token Recovery
    • Governance
      • Governance Module
      • GovShuttle Module
      • Lending Market Governance
    • Tokenomics
    • Audits
Powered by GitBook
On this page
  1. EVM Development

Verifying Contracts

The contributor-operated block explorer at https://oklink.com/canto/ supports contract verification, allowing you to share your smart contracts' source code, methods, and ABIs with users and developers through the explorer itself.

Another 3rd-party operated block explorer at https://canto.dex.guru/ supports smart contract verification with a native UI for Sourcify.

Verifying with Sourcify

At present, the explorer only supports contract verification via Sourcify. To verify a contract, follow these steps:

  1. Navigate to the contract you would like to verify on the Canto block explorer.

  2. On the Code tab, click Verify & Publish.

  3. Select verification via Sourcify and click Next.

  4. Import or upload your project's source files and metadata.

    • For Hardhat, include the JSON file located at artifacts/build-info/

    • For Truffle, include the JSON file located at build/contracts/

  5. Click Verify & publish. The contract will become verified within several minutes.

You can also verify contracts through the Sourcify website. For more information on how to do so, as well as guidelines on how partial matches, libraries, and more are handled, see the documentation.

PreviousContract Secured Revenue (CSR)NextContract Addresses

Last updated 1 year ago