Verifying A Contract

EVM

Foundry

Verify a pre-existing contract

Hardhat

Solana

In Anchor you need to build a verifiable build using Docker to produce a consistent executable.

IDL (Interface Definition Language) is Solana's lingo for ABI. An IDL is uploaded to an account on-chain and block explorers are able to pick it up automatically.

To verify that it is stored correctly, run

Solana programs are upgradeable by default, so you can also upgrade the IDL:

Last updated