update hardhat config

This commit is contained in:
q1q0 2023-09-11 17:58:33 -04:00
parent cc018480e9
commit f08949dbc2

View File

@ -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 mnemonic = process.env.MNEMONIC ?? "test test test test test test test test test test test junk";
const networkGasPriceConfig: Record<string, number> = { const networkGasPriceConfig: Record<string, number> = {
mainnet: 35, mainnet: 37,
polygon: 50, polygon: 50,
avalanche: 40, avalanche: 40,
arbitrum: 1, arbitrum: 1,
@ -120,7 +120,17 @@ const config: HardhatUserConfig = {
arbitrumOne: String(process.env.ARB_ETHSCAN_KEY), arbitrumOne: String(process.env.ARB_ETHSCAN_KEY),
avalanche: String(process.env.AVAX_ETHSCAN_KEY), avalanche: String(process.env.AVAX_ETHSCAN_KEY),
opera: String(process.env.FTM_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: { typechain: {
outDir: "typechain", outDir: "typechain",