Verify with Chiliscan

Chiliscan is a service built by Routescan. You can therefore rely on their documentation for your everyday use.

Routescan provides several ways to verify your smart contract on Chiliz Chain:

  • For most contracts: using their verification form on Chiliscan

  • For more complex contracts: using command-line tools, such as Hardhat.

  • For easy contracts: using their API.

See Routescan's documentation on contract verification.

Using Chiliscan's verification form

Routescan provides a contract verification interface at https://chiliscan.com/verifycontract. It is also documented here: https://info.routescan.io/en/articles/11991234-verifying-contracts-ui

Steps:

  1. In the "Contract address" field, insert the address of the smart contract that you want to verify. Depending on the situation, the tool can tell you that a contract doesn't exist yet on Chiliz Chain, or that it has already been verified. If it's neither, further interface elements are displayed.

  2. Click on "Import from Solidity", and fill the form correctly:

    1. Select "0.8.24+xxx" as the compiler version.

    2. Select "Shangai" as the EVM version.

    3. Upload your contract file.

  3. Click on "Verify Contract".

If successful, your contract will be clearly labeled as verified, notably with a green check. The block explorer will make its source code visible and enable all interactive features.

If any errors occur, the interface will display a corresponding error message to guide you.

Using command-line tools

Routescan's own documentation features detailed guides on how to use command-line tools for verification. This is particularly useful if you're already want to automate contract verification in your development environment.

You can read their guides on deploying & verifying with:

Using Routescan's API

If you are working with simpler smart contracts, a Routescan-provided guide is available on Paragraph. This guide walks you through the steps to prepare and verify contracts that do not require complex build processes.

Of note: it requires contracts to be flattened.

Last updated

Was this helpful?