Skip to content

Commit 223da11

Browse files
authored
Merge pull request #3962 from invocamanman/patch-1
Add Polygon zkEVM chain config on hardhat verify
2 parents 9a7fb3a + c2155fb commit 223da11

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.changeset/friendly-ways-beg.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nomicfoundation/hardhat-verify": patch
3+
---
4+
5+
Added polygonZkEVM and polygonZkEVMTestnet

packages/hardhat-verify/src/internal/chain-config.ts

+16
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ export const builtinChains: ChainConfig[] = [
106106
browserURL: "https://goerli-optimism.etherscan.io/",
107107
},
108108
},
109+
{
110+
network: "polygonZkEVM",
111+
chainId: 1101,
112+
urls: {
113+
apiURL: "https://api-zkevm.polygonscan.com/api",
114+
browserURL: "https://zkevm.polygonscan.com",
115+
},
116+
},
109117
{
110118
network: "moonbeam",
111119
chainId: 1284,
@@ -130,6 +138,14 @@ export const builtinChains: ChainConfig[] = [
130138
browserURL: "https://moonbase.moonscan.io/",
131139
},
132140
},
141+
{
142+
network: "polygonZkEVMTestnet",
143+
chainId: 1442,
144+
urls: {
145+
apiURL: "https://api-testnet-zkevm.polygonscan.com/api",
146+
browserURL: "https://testnet-zkevm.polygonscan.com",
147+
},
148+
},
133149
{
134150
network: "ftmTestnet",
135151
chainId: 4002,

0 commit comments

Comments
 (0)