forked from Neufund/ESOP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle.js
54 lines (53 loc) · 1.79 KB
/
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
46
47
48
49
50
51
52
53
54
require('babel-register');
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
test: {
host: "localhost",
port: 8545,
gas: 4800000, // close to current ropsten limit
network_id: "192837992"
},
test_deployment: {
host: "localhost",
port: 8546,
gas: 4100000, // close to current mainnet limit
network_id: "192837991"
},
paritydev: {
host: "localhost",
port: 8444,
network_id: "17",
},
ropsten: {
host: "localhost", // local parity ropsten node with nano attached
port: 8545,
network_id: "3",
// from: '0xDba5a21D0B5DEAD8D63d5A4edf881005751211C2' // public key of admin role
},
kovan: {
host: "localhost", // local parity ropsten node with nano attached
port: 8545,
network_id: "42",
from: '0xE459a8c206B2E91d998CFBB187D0efc4FC7e92D3' // public key of admin role
},
"live": {
network_id: 1, // Ethereum public network
host: "192.168.100.30", // local parity ropsten node with nano attached
port: 8545,
from: '0x11A1cEE1C6681EE8e6891164a3e3EAf17Ed0E207',
gas: 4300000, // close to current mainnet limit
gasPrice: 21000000000 // 21 gwei /shannon
// optional config values
// host - defaults to "localhost"
// port - defaults to 8545
// gas
// gasPrice
// from - default address to use for any transaction Truffle makes during migrations
}
}
};