-
Notifications
You must be signed in to change notification settings - Fork 22
/
buidler.config.js
132 lines (129 loc) · 4.03 KB
/
buidler.config.js
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
usePlugin("@nomiclabs/buidler-truffle5");
usePlugin("@nomiclabs/buidler-solhint");
usePlugin("solidity-coverage");
// This is a sample Buidler task. To learn how to create your own go to
// https://buidler.dev/guides/create-task.html
task("accounts", "Prints the list of accounts", async () => {
const accounts = await web3.eth.getAccounts();
for (const account of accounts) {
console.log(account);
}
});
module.exports = {
paths: {
artifacts: './build/contracts'
},
networks: {
buidlerevm: {
accounts: [
{
privateKey:
"0xc5e8f61d1ab959b397eecc0a37a6517b8e67a0e7cf1f4bce5591f3ed80199122",
balance: "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
privateKey:
"0xd49743deccbccc5dc7baa8e69e5be03298da8688a15dd202e20f15d5e0e9a9fb",
balance: "10000000000000000000000"
},
{
privateKey:
"0x23c601ae397441f3ef6f1075dcb0031ff17fb079837beadaf3c84d96c6f3e569",
balance: "10000000000000000000000"
},
{
privateKey:
"0xee9d129c1997549ee09c0757af5939b2483d80ad649a0eda68e8b0357ad11131",
balance: "10000000000000000000000"
},
{
privateKey:
"0x87630b2d1de0fbd5044eb6891b3d9d98c34c8d310c852f98550ba774480e47cc",
balance: "10000000000000000000000"
},
{
privateKey:
"0x275cc4a2bfd4f612625204a20a2280ab53a6da2d14860c47a9f5affe58ad86d4",
balance: "10000000000000000000000"
},
{
privateKey:
"0x7f307c41137d1ed409f0a7b028f6c7596f12734b1d289b58099b99d60a96efff",
balance: "10000000000000000000000"
},
{
privateKey:
"0x2a8aede924268f84156a00761de73998dac7bf703408754b776ff3f873bcec60",
balance: "10000000000000000000000"
},
{
privateKey:
"0x8b24fd94f1ce869d81a34b95351e7f97b2cd88a891d5c00abc33d0ec9501902e",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29085",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29086",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29087",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29088",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29089",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908a",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908b",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908c",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908d",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908e",
balance: "10000000000000000000000"
},
{
privateKey:
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908f",
balance: "10000000000000000000000"
}
]
}
},
solc: {
version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version)
optimizer: {
enabled: true,
runs: 200
}
}
};