Skip to content

Commit

Permalink
Added to hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
KuphJr committed Aug 31, 2024
1 parent 81645e7 commit cdd6e66
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ module.exports = {
arbitrumSepolia: networks.arbitrumSepolia.verifyApiKey,
baseSepolia: networks.baseSepolia.verifyApiKey,
optimismSepolia: networks.optimismSepolia.verifyApiKey,
base: networks.base.verifyApiKey,
optimism: networks.optimism.verify,
},
customChains: [
{
Expand Down Expand Up @@ -90,6 +92,22 @@ module.exports = {
browserURL: "https://amoy.polygonscan.com",
},
},
{
network: "base",
chainId: 8453,
urls: {
apiURL: "https://api.basescan.org/api",
browserURL: "https://basescan.org",
},
},
{
network: "optimism",
chainId: 10,
urls: {
apiUrl: "https://api-optimistic.etherscan.io/api",
browserURL: "https://optimistic.etherscan.io/",
},
},
],
},
gasReporter: {
Expand Down
2 changes: 2 additions & 0 deletions tasks/utils/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const BASE_URLS = {
42161: "https://arbiscan.io/",
84532: "https://sepolia.basescan.org/",
11155420: "https://sepolia-optimistic.etherscan.io/",
8453: "https://basescan.org/",
10: "https://optimistic.etherscan.io/",
}

/**
Expand Down

0 comments on commit cdd6e66

Please sign in to comment.