Skip to content

Commit

Permalink
chore: use polygonscan over oklink
Browse files Browse the repository at this point in the history
  • Loading branch information
dtbuchholz committed Apr 22, 2024
1 parent 1e29208 commit d20409a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ETHERSCAN_API_KEY=fixme
OPTIMISM_ETHERSCAN_API_KEY=fixme
ARBISCAN_API_KEY=fixme
ARBISCAN_NOVA_API_KEY=fixme
OKLINK_API_KEY=fixme
POLYSCAN_API_KEY=fixme
FILFOX_API_KEY=fixme
# hardhat
HARDHAT_DISABLE_AUTO_MINING=false
7 changes: 3 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const config: HardhatUserConfig = {

// polygon
polygon: process.env.POLYSCAN_API_KEY || "",
polygonAmoy: process.env.OKLINK_API_KEY || "",
polygonAmoy: process.env.POLYSCAN_API_KEY || "",
},
customChains: [
{
Expand Down Expand Up @@ -99,9 +99,8 @@ const config: HardhatUserConfig = {
network: "polygonAmoy",
chainId: 80002,
urls: {
apiURL:
"https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/AMOY_TESTNET",
browserURL: "https://www.oklink.com/amoy",
apiURL: "https://api-amoy.polygonscan.com/api",
browserURL: "https://amoy.polygonscan.com/",
},
},
],
Expand Down

0 comments on commit d20409a

Please sign in to comment.