-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
52 lines (48 loc) · 1.09 KB
/
hardhat.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/** @type import('hardhat/config').HardhatUserConfig */
require("@nomicfoundation/hardhat-toolbox");
require("@nomiclabs/hardhat-waffle");
try {
if (process.env.UseTenderly == "True") {
require("@tenderly/hardhat-tenderly");
}
} catch (error) {}
require("dotenv").config();
const LOCAL_URL = "http://127.0.0.1:8545/";
module.exports = {
networks: {
localhost: {
timeout: 120000,
url: LOCAL_URL,
gas: 8000000,
gasPrice: 8000000000,
},
hardhat: {
hostname: "0.0.0.0",
gas: 3000000,
allowUnlimitedContractSize: true,
},
avalancheTest: {
url: "https://rpc.ankr.com/avalanche_fuji",
chainId: 43113,
accounts: [process.env.PRIVATE_KEY],
gas: 8000000,
gasPrice: 25000000000,
},
ArbitrumGoerli: {
url: "https://goerli-rollup.arbitrum.io/rpc",
chainId: 421613,
gas: 8000000,
accounts: [process.env.PRIVATE_KEY],
gasPrice: 25000000000,
},
},
solidity: {
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 1,
},
},
},
};