-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle-config.js
More file actions
60 lines (60 loc) · 1.32 KB
/
Copy pathtruffle-config.js
File metadata and controls
60 lines (60 loc) · 1.32 KB
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
// File: `truffle-config.js` (edited for 7nodes example)
// File: `truffle-config.js`
module.exports = {
compilers: {
solc: {
version: "0.8.0" // or any other version you want to use
}
},
networks: {
development: {
host: "127.0.0.1",
port: 22006, // was 8545
network_id: "*", // Match any network id
gasPrice: 0,
gas: 5000000
},
nodetwo: {
host: "127.0.0.1",
port: 22001, // was 8545
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
nodethree: {
host: "127.0.0.1",
port: 22002, // was 8545
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
nodefour: {
host: "127.0.0.1",
port: 22003,
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
nodefive: {
host: "127.0.0.1",
port: 22004, // was 8545
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
nodesix: {
host: "127.0.0.1",
port: 22005, // was 8545
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
nodeseven: {
host: "127.0.0.1",
port: 22000,
network_id: "*", // Match any network id
gasPrice: 0,
gas: 4500000
},
},
};