-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathhardhat.config.js
More file actions
49 lines (47 loc) · 993 Bytes
/
hardhat.config.js
File metadata and controls
49 lines (47 loc) · 993 Bytes
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
require("@nomiclabs/hardhat-waffle");
require('dotenv').config()
require("@nomiclabs/hardhat-etherscan");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: "0.5.16",
settings : {
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"useLiteralContent": true
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}
},
networks: {
ropsten: {
url: process.env.infura,
accounts: [process.env.pk],
gasPrice: 20000000000
},
mainnet: {
url: process.env.infuraMain,
accounts: [process.env.pkMainnet],
gasPrice: 19500000000
}
},
etherscan: {
apiKey: process.env.etherscan
}
};