forked from 1inch/spot-price-aggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.js
More file actions
38 lines (35 loc) · 781 Bytes
/
hardhat.config.js
File metadata and controls
38 lines (35 loc) · 781 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
require('@nomiclabs/hardhat-ethers');
require('@nomiclabs/hardhat-etherscan');
require('@nomiclabs/hardhat-truffle5');
require('hardhat-deploy');
require('hardhat-gas-reporter');
require('solidity-coverage');
require('dotenv').config();
const networks = require('./hardhat.networks');
module.exports = {
solidity: {
version: '0.8.9',
settings: {
optimizer: {
enabled: true,
runs: 1000000,
},
},
},
networks,
namedAccounts: {
deployer: {
default: 0,
},
},
etherscan: {
apiKey: process.env.MAINNET_ETHERSCAN_KEY,
},
gasReporter: {
enable: true,
currency: 'USD',
},
mocha: {
timeout: 90000,
},
};