forked from carrotcake-finance/carrotcake-smartcontracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
45 lines (44 loc) · 908 Bytes
/
hardhat.config.ts
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
import '@nomiclabs/hardhat-truffle5';
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-etherscan';
import 'hardhat-typechain';
import 'hardhat-deploy';
import 'hardhat-deploy-ethers';
import 'hardhat-contract-sizer';
import 'hardhat-gas-reporter';
import 'solidity-coverage';
export default {
default: 'hardhat',
networks: {
hardhat: {}
},
solidity: {
version: '0.6.12',
settings: {
optimizer: {
enabled: true,
runs: 9999
}
}
},
paths: {
sources: './contracts',
tests: './test',
cache: './build/cache',
artifacts: './build/artifacts'
},
gasReporter: {
currency: 'USD',
enabled: true
},
contractSizer: {
alphaSort: true,
runOnCompile: true,
disambiguatePaths: false
},
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: '<api-key>'
}
};