diff --git a/docs/base-chain/quickstart/deploy-on-base.mdx b/docs/base-chain/quickstart/deploy-on-base.mdx index af591acd6..2cc40b61c 100644 --- a/docs/base-chain/quickstart/deploy-on-base.mdx +++ b/docs/base-chain/quickstart/deploy-on-base.mdx @@ -165,6 +165,26 @@ This will return the initial value of the Counter contract's `number` storage va **Congratulations! You've deployed your smart contracts to Base Sepolia!** +### Verify Contract Source on Blockscout + +To make your contract source code publicly readable on [Blockscout](https://base-sepolia.blockscout.com/): + +1. Run the following command: + +```bash +forge verify-contract $COUNTER_CONTRACT_ADDRESS \ + src/Counter.sol:Counter \ + --verifier blockscout \ + --verifier-url https://base-sepolia.blockscout.com/api/ \ + --chain-id 84532 +``` + + +Blockscout does not require a real API key — you can pass any non-empty string or omit `--etherscan-api-key` entirely when using `--verifier blockscout`. + + +2. Visit [Blockscout Base Sepolia](https://base-sepolia.blockscout.com/) and search your contract address to confirm the ✅ **Verified** badge. + ## Next Steps - Use [wagmi](https://wagmi.sh) or [viem](https://viem.sh) to connect your frontend to your contracts.