-
Notifications
You must be signed in to change notification settings - Fork 2
/
hardhat.config.js
52 lines (50 loc) · 1.03 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
// module.exports = {
// solidity: {
// compilers: [
// {
// version: "0.7.6",
// settings: {
// evmVersion: "istanbul",
// optimizer: {
// enabled: true,
// runs: 1000,
// },
// },
// },
// ],
// },
// networks: {
// hardhat: {
// forking: {
// url: "https://eth-mainnet.alchemyapi.io/v2/db3BCFYSHgpg1hiuWyFjw1vdGNADl0zj",
// },
// },
// }
// };
require('@nomiclabs/hardhat-waffle');
module.exports = {
solidity: {
compilers: [
{
version: "0.7.6",
settings: {
evmVersion: "istanbul",
optimizer: {
enabled: true,
runs: 1000,
},
},
},
],
},
networks: {
hardhat: {
forking: {
url: "https://eth-mainnet.alchemyapi.io/v2/db3BCFYSHgpg1hiuWyFjw1vdGNADl0zj",
accounts: {
// `0x${"47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a"}`
}
},
},
}
};