forked from 0xsequence/erc-1155
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
47 lines (44 loc) · 941 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
46
47
import { HardhatUserConfig } from 'hardhat/config'
import '@nomiclabs/hardhat-truffle5'
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-web3'
import 'hardhat-gas-reporter'
import 'solidity-coverage'
const config: HardhatUserConfig = {
solidity: {
version: '0.7.4',
settings: {
optimizer: {
enabled: true,
runs: 100000,
details: {
yul: true,
constantOptimizer: false
}
}
}
},
paths: {
root: 'src',
tests: '../tests'
},
networks: {
hardhat: {
chainId: 127001,
accounts: {
mnemonic: 'test test test test test test test test test test test junk'
},
},
ganache: {
url: 'http://127.0.0.1:8545',
blockGasLimit: 10000000
}
},
gasReporter: {
enabled: !!process.env.REPORT_GAS === true,
currency: 'USD',
gasPrice: 10,
showTimeSpent: true
}
}
export default config