forked from CoinAlpha/basket-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
46 lines (45 loc) · 1.22 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
const { DEPLOYER_ADDRESS } = require('./config');
module.exports = {
networks: {
ropsten: {
host: 'localhost',
gas: 4700000, // Current Ropsten limit is approx 4712388
gasPrice: 20e9, // 20 GWei
network_id: '3',
},
rinkeby: {
host: 'localhost',
gas: 7500000, // Current approximate limit
gasPrice: 20e9, // 20 GWei
network_id: '4',
},
kovan: {
host: 'localhost',
gas: 6900000, // Current approximate limit
gasPrice: 20e9, // 20 GWei
network_id: '42',
},
mainnet: {
host: 'localhost',
gas: 8e6,
gasPrice: 20e9, // 20 GWei
network_id: '1',
},
parrotMn: {
host: '<ETHEREUM_NODE_IP>',
port: 8545,
// gas: 7984452, // Current Ropsten limit is approx 4712388
gasPrice: 2e9, // 30 GWei
network_id: '1',
from: DEPLOYER_ADDRESS,
},
parrotRp: {
host: '<ETHEREUM_NODE_IP>',
port: 7545,
gas: 4712388, // Current Ropsten limit is approx 4712388
gasPrice: 20e9, // 30 GWei
network_id: '3',
from: DEPLOYER_ADDRESS,
},
},
};