-
Notifications
You must be signed in to change notification settings - Fork 3
/
truffle-config.js
38 lines (35 loc) · 1000 Bytes
/
truffle-config.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
//var HDWalletProvider = require("./src/node_modules/truffle-hdwallet-provider");
//var mnemonic = "YOUR ACCOUNT MENOMIC HERE"
// e.g. "lamp kitchen cotton van whip happy reflect coil reef advance grow adapt
//var infurakey = "YOUR INFURA KEY HERE"
// Register at infura for a key
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
live: {
host: "localhost",
port: 8545,
network_id: "1",
from: "0x2cd02c6bfb7d36be9c98be275c5c30aa8d3848b8",
gas:5000000
}
//,
// ropsten: {
// provider: function() {
// return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/" + infurakey)
// },
// network_id: 3,
// gas: 4612388
// },
// rinkeby: {
// provider: function() {
// return new HDWalletProvider(mnemonic, "https://rinkeby.infura.io/" + infurakey)
// },
// network_id: 4
// }
}
};