验证合约
验证器端点
环境
验证器 URL
Foundry
forge verify-contract <CONTRACT_ADDRESS> src/MyContract.sol:MyContract \
--verifier sourcify \
--verifier-url https://verify.testnet.romeprotocol.xyz/ \
--chain-id <YOUR_CHAIN_ID> \
--compiler-version 0.8.20 --constructor-args $(cast abi-encode "constructor(uint256)" 42)Hardhat
检查验证状态
注意事项
最后更新于
这有帮助吗?