• Mark Tyneway's avatar
    contracts-bedrock: add forge contract verification support (#3141) · 28649d64
    Mark Tyneway authored
    * contracts-bedrock: add forge contract verification support
    
    Add etherscan contract verification for the hh/foundry
    compiler toolchain. This will eventually be upstreamed,
    but is implemented here to ensure that it works thoroughly
    first.
    
    To run the task:
    
    ```
    export ETHERSCAN_API_KEY=$(cat api-key.txt)
    $ npx hardhat forge-verify --network goerli
    ```
    
    In the future, other contract verification backends
    will be added to forge and this task will be updated
    to support them.
    
    Example contract that was verified: https://goerli.etherscan.io/address/0x1234662682c85fa6fb375416d14db965eba222ba#code
    
    An individual contract can be targeted instead of all of them
    with the `--contract` flag. If hardhat deploy has configured
    external deployments, forge will not be able to verify them.
    It may be possible to implement that in the future.
    
    * contracts-bedrock: modularize tasks
    28649d64
Name
Last commit
Last update
..
README.md Loading commit data...
angry-cameras-arrive.md Loading commit data...
config.json Loading commit data...
cool-items-smell.md Loading commit data...
curly-spies-switch.md Loading commit data...
dry-bears-beg.md Loading commit data...
early-keys-know.md Loading commit data...
eight-ravens-prove.md Loading commit data...
eighty-kings-approve.md Loading commit data...
fast-mangos-smoke.md Loading commit data...
hip-shrimps-cheat.md Loading commit data...
many-wasps-notice.md Loading commit data...
modern-candles-obey.md Loading commit data...
pretty-boxes-thank.md Loading commit data...
quiet-books-design.md Loading commit data...
rare-suits-turn.md Loading commit data...
slimy-spoons-repair.md Loading commit data...
smart-pumpkins-jam.md Loading commit data...
wet-doors-collect.md Loading commit data...
wet-suns-develop.md Loading commit data...
wicked-impalas-wonder.md Loading commit data...