Skip to content

Commit

Permalink
Merge pull request #3299 from NomicFoundation/hardhat-etherscan-fixes
Browse files Browse the repository at this point in the history
Add Arbitrum Goerli and fix Optimism Goerli URLs
  • Loading branch information
fvictorio committed Oct 27, 2022
2 parents 30f4cd3 + eb3f7a7 commit ab56282
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/quiet-dolls-do.md
@@ -0,0 +1,6 @@
---
"@nomiclabs/hardhat-etherscan": patch
---

- Added Arbitrum Goerli to the list of supported networks.
- Fixed the Optimism Goerli URLs.
11 changes: 9 additions & 2 deletions packages/hardhat-etherscan/src/ChainConfig.ts
Expand Up @@ -96,8 +96,8 @@ export const chainConfig: ChainConfig = {
optimisticGoerli: {
chainId: 420,
urls: {
apiURL: "https://api-goerli-optimistic.etherscan.io/api",
browserURL: "https://goerli-optimistic.etherscan.io/",
apiURL: "https://api-goerli-optimism.etherscan.io/api",
browserURL: "https://goerli-optimism.etherscan.io/",
},
},
polygon: {
Expand All @@ -121,6 +121,13 @@ export const chainConfig: ChainConfig = {
browserURL: "https://arbiscan.io/",
},
},
arbitrumGoerli: {
chainId: 421613,
urls: {
apiURL: "https://api-goerli.arbiscan.io/api",
browserURL: "https://goerli.arbiscan.io/",
},
},
arbitrumTestnet: {
chainId: 421611,
urls: {
Expand Down

0 comments on commit ab56282

Please sign in to comment.