-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
61 lines (58 loc) · 1.45 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
53
54
55
56
57
58
59
60
61
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config();
require('hardhat-deploy');
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity:
{
version: "0.8.15",
settings: {
// See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 2000,
},
// evmVersion: "byzantium"
},
},
namedAccounts: {
deployer: { default: 0 }
},
networks: {
localhost: {
url: "http://127.0.0.1:8545",
allowUnlimitedContractSize: true,
},
hardhat: {
allowUnlimitedContractSize: true,
},
arbitrum_one: {
url: "https://arb1.arbitrum.io/rpc",
accounts: [process.env.DEPLOYER_KEY]
},
bsc_testnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545",
chainId: 97,
gasPrice: 20000000000,
gas: 3000000,
accounts: [process.env.DEPLOYER_KEY]
},
goerli: {
url: "https://goerli.infura.io/v3/8516a359516c40aba7c35bcf1444218a",
chainId: 5,
accounts: [process.env.DEPLOYER_KEY],
gas: 3000000
},
sepolia: {
url: "https://sepolia.infura.io/v3/8516a359516c40aba7c35bcf1444218a",
accounts: [process.env.DEPLOYER_KEY],
},
arbitrum_goerli: {
url: "https://goerli-rollup.arbitrum.io/rpc",
accounts: [process.env.DEPLOYER_KEY]
}
},
etherscan: {
apiKey: "166EGR1ZCWS8G5AG94YNQYPZ3QHU558FTR"
}
};