For the complete documentation index, see llms.txt. This page is also available as Markdown.

Verify smart contracts

Verify Solidity contracts on ADI Mainnet and ADI Network AB Testnet.

Use the working Blockscout explorers to publish and verify contract source code. Blockscout is open, so verification does not require an API key.

Choose an explorer

Network
Verification status
Chain ID
API URL

Working

36900

https://explorer-bls.adifoundation.ai/api

Working

99999

https://explorer-api.ab.testnet.adifoundation.ai/api

Use the BLS explorer for ADI Mainnet. Use the testnet explorer for ADI Network AB Testnet. The primary mainnet explorer cannot verify contracts.

The BLS explorer runs Blockscout with the smart-contract-verifier and Sourcify backend.

Verify in the explorer

  1. Open the working explorer for your network.

  2. Paste the deployed contract address into the search field.

  3. Open the Contract tab.

  4. Select Verify & Publish.

  5. Select the compiler version and license.

  6. Upload your source using one of these formats:

    • A single Solidity file.

    • Multiple source files.

    • Standard JSON input.

Use the exact compiler version, optimizer settings, and constructor arguments from deployment.

Foundry

Configure the BLS explorer in foundry.toml. The empty key is intentional. Blockscout does not require an API key.

Deploy and verify on ADI Mainnet:

Or explicitly select Blockscout:

For ADI Network AB Testnet, use chain ID 99999 and its API endpoint:

Hardhat

Configure hardhat-verify with custom ADI network definitions. Empty API keys are correct for Blockscout.

Then run:

Verify on ADI Network AB Testnet:

The testnet network name is ADI Network AB Testnet. Its chain ID is 99999.

You can also use the blockscout-hardhat-verify plugin. It supports Blockscout verification directly.

Sourcify

Sourcify provides an additional verification backend for the BLS mainnet explorer. You can submit matching contract metadata and source files through Sourcify. The explorer can then display the verified result.

Network endpoints

Network
RPC URL
Explorer API URL

ADI Mainnet

https://rpc.adifoundation.ai

https://explorer-bls.adifoundation.ai/api

ADI Network AB Testnet

https://rpc.ab.testnet.adifoundation.ai

https://explorer-api.ab.testnet.adifoundation.ai/api

Last updated