-
Notifications
You must be signed in to change notification settings - Fork 44
/
truffle.js
44 lines (41 loc) · 1.24 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
var config = require('./config')
require('babel-register')
require('babel-polyfill')
const LightWalletProvider = require('@digix/truffle-lightwallet-provider')
module.exports = {
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*',
gas: config.constants.MAX_GAS,
from: '0xdf08f82de32b8d460adbe8d72043e3a7e25a3b39' // testprc main account here
},
ethereum: {
provider: new LightWalletProvider({
keystore: '/Users/davidvanisacker/.sigmate/sigmate-v3-tokensale-mainnet.json',
password: 'popcorn123!',
rpcUrl: config.infura.ethereum
}),
network_id: '1',
gas: config.constants.MAX_GAS,
gasPrice: config.constants.DEFAULT_GAS_PRICE
},
ropsten: {
provider: new LightWalletProvider({
keystore: '/Users/davidvanisacker/.sigmate/sigmate-v3-tokensale-ropsten.json',
password: 'popcorn123!',
rpcUrl: config.infura.ropsten
}),
network_id: '3'
},
rinkeby: {
provider: new LightWalletProvider({
keystore: '/Users/davidvanisacker/.sigmate/sigmate-v3-tokensale-rinkeby.json',
password: 'popcorn123!',
rpcUrl: config.infura.rinkeby
}),
network_id: '4'
}
}
}