Skip to main content

Verify a smart contract on Monad Explorer using Foundry

note

Currently, the RPC and block explorer are not public; this page will be updated as soon as they are.

We appreciate your patience.

If you are using foundry-monad template, you can simply run the below command:

forge verify-contract <contract_address> <contract_name>

Example:

forge verify-contract 0x195B9401D1BF64D4D4FFbEecD10aE8c41bEBA453 src/Counter.sol:Counter

On successful verification of smart contract, you should get a similar output in your terminal:

Start verifying contract `0x1355a4f7829161a4d27BDb8970D32b89ef89A1Be`

Submitting verification for [src/Counter.sol:Counter] 0x1355a4f7829161a4d27BDb8970D32b89ef89A1Be.
Submitted contract for verification:
Response: `OK`
GUID: `1355a4f7829161a4d27bdb8970d32b89ef89a1be67448d78`