Skip to main content
Once your contract is deployed to a live network, the next step is to verify its source code on the block explorer. Verifying a contract means uploading its source code, along with the settings used to compile the code, to a repository (typically maintained by a block explorer). This allows anyone to compile it and compare the generated bytecode with what is deployed on chain. Doing this is extremely important in an open platform like Monad. In this guide we’ll explain how to do this using Foundry v1.8 or later with the Monad execution environment enabled.
This guide assumes you have Foundry v1.8.0 or later installed and network = "monad" configured in foundry.toml. See the installation and configuration instructions if you haven’t set it up yet.