mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
update hardhat config
This commit is contained in:
parent
cc018480e9
commit
f08949dbc2
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user