-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathhardhat.config.ts
50 lines (49 loc) · 1.07 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
50
require('@nomiclabs/hardhat-truffle5');
require('hardhat-typechain');
module.exports = {
defaultNetwork: 'hardhat',
networks: {
hardhat: {
chainId: 31337,
gas: 12000000,
blockGasLimit: 0x1fffffffffffff,
allowUnlimitedContractSize: true,
timeout: 1800000,
accounts: [
{
privateKey: process.env.PRIVATE_KEY_1,
balance: '10000000000000000000000',
},
{
privateKey: process.env.PRIVATE_KEY_2,
balance: '10000000000000000000000',
},
{
privateKey: process.env.PRIVATE_KEY_3,
balance: '10000000000000000000000',
},
{
privateKey: process.env.PRIVATE_KEY_4,
balance: '10000000000000000000000',
},
],
},
},
solidity: {
version: '0.5.16',
optimizer: {
enabled: true,
runs: 200,
},
},
paths: {
sources: './contracts/5',
tests: './test',
cache: './cache',
artifacts: './artifacts',
},
typechain: {
outDir: './typechain',
target: 'truffle-v5',
},
};