-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
148 lines (144 loc) · 5.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
import "hardhat-typechain";
require("ts-node/register");
require("@nomiclabs/hardhat-truffle5");
require("@nomiclabs/hardhat-ethers");
// You have to export an object to set up your config
// This object can have the following optional entries:
// defaultNetwork, networks, solc, and paths.
// Go to https://hardhat.dev/config/ to learn more
export default {
defaultNetwork: "localhost",
networks: {
hardhat: {
blockGasLimit: 0xfffffffffff,
allowUnlimitedContractSize: true,
chainId: 1337,
accounts: [
// 20 accounts with 10^14 ETH each
// Addresses:
// 0xc783df8a850f42e7f7e57013759c285caa701eb6
// 0xead9c93b79ae7c1591b1fb5323bd777e86e150d4
// 0xe5904695748fe4a84b40b3fc79de2277660bd1d3
// 0x92561f28ec438ee9831d00d1d59fbdc981b762b2
// 0x2ffd013aaa7b5a7da93336c2251075202b33fb2b
// 0x9fc9c2dfba3b6cf204c37a5f690619772b926e39
// 0xfbc51a9582d031f2ceaad3959256596c5d3a5468
// 0x84fae3d3cba24a97817b2a18c2421d462dbbce9f
// 0xfa3bdc8709226da0da13a4d904c8b66f16c3c8ba
// 0x6c365935ca8710200c7595f0a72eb6023a7706cd
// 0xd7de703d9bbc4602242d0f3149e5ffcd30eb3adf
// 0x532792b73c0c6e7565912e7039c59986f7e1dd1f
// 0xea960515f8b4c237730f028cbacf0a28e7f45de0
// 0x3d91185a02774c70287f6c74dd26d13dfb58ff16
// 0x5585738127d12542a8fd6c71c19d2e4cecdab08a
// 0x0e0b5a3f244686cf9e7811754379b9114d42f78b
// 0x704cf59b16fd50efd575342b46ce9c5e07076a4a
// 0x0a057a7172d0466aef80976d7e8c80647dfd35e3
// 0x68dfc526037e9030c8f813d014919cc89e7d4d74
// 0x26c43a1d431a4e5ee86cd55ed7ef9edf3641e901
{
privateKey: "0xc5e8f61d1ab959b397eecc0a37a6517b8e67a0e7cf1f4bce5591f3ed80199122",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0xd49743deccbccc5dc7baa8e69e5be03298da8688a15dd202e20f15d5e0e9a9fb",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x23c601ae397441f3ef6f1075dcb0031ff17fb079837beadaf3c84d96c6f3e569",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0xee9d129c1997549ee09c0757af5939b2483d80ad649a0eda68e8b0357ad11131",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x87630b2d1de0fbd5044eb6891b3d9d98c34c8d310c852f98550ba774480e47cc",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x275cc4a2bfd4f612625204a20a2280ab53a6da2d14860c47a9f5affe58ad86d4",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x7f307c41137d1ed409f0a7b028f6c7596f12734b1d289b58099b99d60a96efff",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x2a8aede924268f84156a00761de73998dac7bf703408754b776ff3f873bcec60",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x8b24fd94f1ce869d81a34b95351e7f97b2cd88a891d5c00abc33d0ec9501902e",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29085",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29086",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29087",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29088",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29089",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908a",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908b",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908c",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908d",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908e",
balance: "100000000000000000000000000000000",
},
{
privateKey: "0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908f",
balance: "100000000000000000000000000000000",
},
],
},
localhost: { url: "http://localhost:8545" },
},
// This is a sample solc configuration that specifies which version of solc to use
solidity: {
version: "0.5.16",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
paths: {
sources: "./contracts",
tests: "./test",
},
typechain: {
outDir: "./types",
target: "truffle-v5",
},
mocha: {
timeout: 1000000,
},
};