forked from LoopringSecondary/protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle.js
45 lines (45 loc) · 921 Bytes
/
truffle.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
module.exports = {
solc: {
optimizer: {
enabled: true,
runs: 10000
}
},
networks: {
live: {
host: "localhost",
port: 8546,
network_id: '1', // main-net
gasPrice: 5000000000
},
testnet: {
host: "localhost",
port: 8545,
network_id: '2', // main-net
gasPrice: 21000000000
},
priv: {
host: "localhost",
port: 8545,
network_id: '50', // main-net
gasPrice: 5000000000,
gas: 4500000
},
development: {
host: "localhost",
port: 8545,
network_id: "*", // Match any network id
gasPrice: 21000000000,
gas: 4500000
},
docker: {
host: "testrpc",
port: 8545,
network_id: "*", // Match any network id
gasPrice: 21000000000,
gas: 4500000
}
},
test_directory: 'transpiled/test',
migrations_directory: 'transpiled/migrations',
};