Verify through Foundry
Last updated
Last updated
SocialScan supports verifying smart contracts through Foundry, please refer to https://book.getfoundry.sh/reference/forge/forge-verify-contract for more information.
You must include the following args
Example
contract_address
Your contract address to verify
contract_name
Your contract name to verify
compiler_version
Compiler version, e.g. v0.8.25+commit.b61c2a91
chain
Put your chain id (Not required)
verifier-url
<api_host>/v1/explorer/command_api/contract
API Host: https://api.socialscan.io/<chain_name>/
verifier
Use "blockscout" or "etherscan"
etherscan-api-key
If you use "etherscan" as a verifier, you need to put a random string here