Skip to content

Commit

Permalink
Add Polygon to Hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Mar 1, 2024
1 parent ab6fb33 commit 09930b9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ export default {
saveDeployments: true,
zksync: false
},
polygon: {
url: 'https://rpc.ankr.com/polygon',
chainId: 137,
loggingEnabled: true,
accounts: [process.env.PRIVATE_KEY],
saveDeployments: true,
zksync: false
},
mumbai: {
url: 'https://rpc.ankr.com/polygon_mumbai',
chainId: 80001,
Expand Down Expand Up @@ -201,6 +209,7 @@ export default {
},
etherscan: {
apiKey: {
polygon: process.env.POLYGONSCAN_KEY,
polygonMumbai: process.env.POLYGONSCAN_KEY,
mantaPacific: process.env.MANTAPACIFIC_KEY,
mantaPacificTestnet: process.env.MANTAPACIFIC_TEST_KEY,
Expand Down

0 comments on commit 09930b9

Please sign in to comment.