forked from icemanparachute/TLBank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
43 lines (41 loc) · 975 Bytes
/
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
require('@nomiclabs/hardhat-etherscan');
require('@nomiclabs/hardhat-waffle');
require('hardhat-gas-reporter');
require('solidity-coverage');
require('hardhat-deploy');
require("dotenv").config();
module.exports = {
solidity: {
version: '0.8.18',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
sepolia: {
deploy: ['scripts/deploy'],
url: process.env.SEPOLIA_URL,
accounts: [process.env.SEPOLIA_PRIVATE_KEY],
},
goerli: {
deploy: ['scripts/deploy'],
url: process.env.GOERLI_URL,
accounts: [process.env.GOERLI_PRIVATE_KEY],
},
mainnet: {
deploy: ['scripts/deploy'],
url: process.env.MAINNET_URL,
accounts: [process.env.MAINNET_PRIVATE_KEY],
}
},
etherscan: {
apiKey: {
sepolia: process.env.ETHERSCAN_APIKEY,
goerli: process.env.ETHERSCAN_APIKEY,
mainnet: process.env.ETHERSCAN_APIKEY,
},
},
};