-
Notifications
You must be signed in to change notification settings - Fork 37
/
truffle.js
67 lines (64 loc) · 1.87 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
55
56
57
58
59
60
61
62
63
64
65
66
67
// Allows us to use ES6 in our migrations and tests.
require('dotenv').config()
var config = require('./config')
var private = require('./private-config')
require('babel-register')
require('babel-polyfill')
const LightWalletProvider = require('@digix/truffle-lightwallet-provider')
module.exports = {
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '1000',
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE,
from: '0xdf08f82de32b8d460adbe8d72043e3a7e25a3b39' // testprc main account here
},
development_geth: {
host: 'localhost',
port: 8545,
network_id: '8888',
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE,
from: '0xe8e84ee367bc63ddb38d3d01bccef106c194dc47'
},
ethereum: {
provider: new LightWalletProvider({
keystore: private.ethereum.keystore,
password: private.ethereum.password,
rpcUrl: config.infura.ethereum
}),
network_id: '1',
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE
},
ropsten: {
provider: new LightWalletProvider({
keystore: private.ropsten.keystore,
password: private.ropsten.password,
rpcUrl: config.infura.ropsten
}),
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE,
network_id: '3'
},
rinkeby: {
provider: new LightWalletProvider({
keystore: private.rinkeby.keystore,
password: private.rinkeby.password,
rpcUrl: config.infura.rinkeby
}),
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE,
network_id: '4'
},
coverage: {
host: "localhost",
network_id: "*",
port: 8555,
gas: 0xfffffffffff,
gasPrice: 0x01
}
}
}