Skip to content

Commit 249c8cc

Browse files
authored
Merge pull request #897 from pyk/optimism-mainnet
Add Optimism Mainnet Verification support
2 parents e9d454a + b870622 commit 249c8cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dapp/libexec/dapp/dapp-verify-contract

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ case "$chain" in
2929
export ETHERSCAN_API_URL=https://api-$chain.etherscan.io/api
3030
export ETHERSCAN_URL=https://$chain.etherscan.io/address
3131
;;
32+
optimism-mainnet)
33+
export ETHERSCAN_API_URL=https://api-optimistic.etherscan.io/api
34+
export ETHERSCAN_URL=https://optimistic.etherscan.io/address
35+
;;
3236
optimism-kovan)
3337
export ETHERSCAN_API_URL=https://api-kovan-optimistic.etherscan.io/api
3438
export ETHERSCAN_URL=https://kovan-optimistic.etherscan.io/address

0 commit comments

Comments
 (0)