Skip to content

Commit

Permalink
Add multichain support on polygon (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
bricestacey authored Dec 15, 2022
1 parent 045a228 commit bf8427a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ MUMBAI_URL=

# Etherscan
ETHERSCAN_API_KEY=
POLYGONSCAN_API_KEY=
7 changes: 6 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ const config: HardhatUserConfig | ExtendedHardhatUserConfig = {
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: process.env.ETHERSCAN_API_KEY
apiKey: {
mainnet: process.env.ETHERSCAN_API_KEY!,
goerli: process.env.ETHERSCAN_API_KEY!,
polygon: process.env.POLYGONSCAN_API_KEY!,
polygonMumbai: process.env.POLYGONSCAN_API_KEY!
}
}
};

Expand Down

0 comments on commit bf8427a

Please sign in to comment.