Skip to content

Commit

Permalink
update hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
q1q0 committed Sep 11, 2023
1 parent cc01848 commit f08949d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const PRIVATE_KEY = process.env.PRIVATE_KEY;
const mnemonic = process.env.MNEMONIC ?? "test test test test test test test test test test test junk";

const networkGasPriceConfig: Record<string, number> = {
mainnet: 35,
mainnet: 37,
polygon: 50,
avalanche: 40,
arbitrum: 1,
Expand Down Expand Up @@ -120,7 +120,17 @@ const config: HardhatUserConfig = {
arbitrumOne: String(process.env.ARB_ETHSCAN_KEY),
avalanche: String(process.env.AVAX_ETHSCAN_KEY),
opera: String(process.env.FTM_ETHSCAN_KEY)
}
},
customChains: [
{
network: "mainnet",
chainId: 1,
urls: {
apiURL: "http://api.etherscan.io/api",
browserURL: "https://etherscan.io"
}
}
]
},
typechain: {
outDir: "typechain",
Expand Down

0 comments on commit f08949d

Please sign in to comment.