-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
91 lines (89 loc) · 2.33 KB
/
hardhat.config.ts
File metadata and controls
91 lines (89 loc) · 2.33 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import '@typechain/hardhat';
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
import '@nomiclabs/hardhat-etherscan';
import 'hardhat-contract-sizer';
import 'hardhat-gas-reporter';
import 'solidity-coverage';
require('dotenv').config();
module.exports = {
solidity: {
version: '0.8.9',
settings: {
optimizer: {
runs: 200,
enabled: true,
},
},
},
networks: {
hardhat: {
mining: {
auto: true,
interval: 0,
},
accounts: { count: 2000 },
},
localhost: {
url: 'http://127.0.0.1:8545/',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
ethereum: {
url: 'https://nd-158-188-666.p2pify.com/548163c72137050a0454645854af1ffc',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
binance: {
url: 'https://rpc.ankr.com/bsc',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
avalanche: {
url: 'https://api.avax-test.network/ext/bc/C/rpc',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
polygon: {
url: 'https://nd-046-983-923.p2pify.com/1aace6ebb1db9383cd75547f66d39741',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
energywebchain: {
url: 'https://rpc.energyweb.org',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
gasPrice: 200000000000,
},
moonbeam: {
url: 'https://rpc.ankr.com/moonbeam',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
songbird: {
url: 'https://songbird.towolabs.com/rpc',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
goerli: {
url: 'https://nd-734-064-122.p2pify.com/62dc5c5a86cd193963ee39f48eb2cadf',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
mumbai: {
url: 'https://rpc-mumbai.maticvigil.com/',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
fuji: {
url: 'https://api.avax-test.network/ext/C/rpc',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
volta: {
url: 'https://volta-rpc.energyweb.org/',
accounts: [process.env.RINKEBY_PRIVATE_KEY],
},
},
gasReporter: {
currency: 'USD',
gasPrice: 120,
coinmarketcap: '2f8f78a1-2769-493f-9cd4-df353a6594d7',
},
typechain: {
outDir: 'typechain',
target: 'ethers-v5',
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
};