Last active
December 14, 2022 11:00
-
-
Save MerlinEgalite/df3f94a69e309e8bea99e16f5b5e56fe to your computer and use it in GitHub Desktop.
Command line to verify contracts with forge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forge verify-contract --chain-id 1 --num-of-optimizations 200 --constructor-args $(cast abi-encode "constructor(address)" 0x) --compiler-version v0.8.16 <the_contract_address> src/MyToken.sol:MyToken <your_etherscan_api_key> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment