-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
49 lines (47 loc) · 1.14 KB
/
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
48
49
/** @type import('hardhat/config').HardhatUserConfig */
import '@typechain/hardhat'
import '@nomiclabs/hardhat-ethers'
/**
* 0.8.18 was the latest version supported on config authoring
*
* https://hardhat.org/hardhat-runner/docs/reference/solidity-support
*/
export default {
networks: {
hardhat: {
chainId: 33133,
allowUnlimitedContractSize: false,
loggingEnabled: false,
mining: {
auto: false,
interval: 0
}
},
local: {
url: 'http://localhost:8545',
chainId: 33133,
allowUnlimitedContractSize: false,
loggingEnabled: true,
mining: {
auto: false,
interval: 0
}
}
},
solidity: {
compilers: [
{
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
{
version: '0.8.18'
}
]
}
}