# 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](https://sourcify.dev/#/verifier). For more information on how to do so, as well as guidelines on how partial matches, libraries, and more are handled, see the [documentation](https://docs.sourcify.dev/docs/how-to-verify/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.canto.io/evm-development/verifying-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
