-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhardhat.config.js
48 lines (45 loc) · 1.31 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
require("@nomiclabs/hardhat-truffle5");
require("hardhat-gas-reporter");
require("@openzeppelin/hardhat-upgrades");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity : {
compilers : [
{
version : "0.8.13",
settings : {
optimizer : {
enabled : true,
runs : 200
},
},
},
],
},
networks : {
development : {
url : "127.0.0.1", // Localhost (default: none)
port : 7545, // Standard Ethereum port (default: none)
network_id : "*", // Any network (default: none)
gas : 11721970,
// gasPrice: 0
},
rinkeby : {
url : "https://rinkeby.infura.io/v3/<INFURA PROJECT KEY>", // Localhost (default: none)
port : 7545, // Standard Ethereum port (default: none)
network_id : "4", // Rinkeby
gas : 11721970,
accounts : [
// Private Key
]
// gasPrice: 0
},
},
gasReporter : {
enabled : true,
excludeContracts : ["@openzeppelin"],
showMethodSig : true,
}
};