-
Notifications
You must be signed in to change notification settings - Fork 46
/
truffle.js
28 lines (23 loc) · 888 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
const LightWalletProvider = require('@digix/truffle-lightwallet-provider')
// Use this to monitor your deployment
// https://ropsten.etherscan.io/address/0x657bf3087fce4fb72bd60ce732f012f27bc6fb9c
module.exports = {
networks: {
development: {
host: process.env.RPC_HOST || 'localhost',
port: 8545,
network_id: "*" // Match any network id
},
"ropsten": {
provider: new LightWalletProvider({
keystore: './sigmate-v3-ti.json',
password: process.env.PASSWORD,
rpcUrl: 'https://ropsten.infura.io',
debug: true, // optional, show JSON-RPC logs
// prefund: 1e18, // optional, fund all lightwallet addresses (via coinbase) with this of wei
pollingInterval: 2000 // optional, polling interval for the provider (reduce for faster deploy with testRPC or kovan)
}),
network_id: '*',
},
}
};