-
Notifications
You must be signed in to change notification settings - Fork 6
/
truffle.js
48 lines (45 loc) · 1015 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
var test = true
var rinkeby = true
var account
if(test){
account = "0x01da6f5f5c89f3a83cc6bebb0eafc1f1e1c4a303"
if(rinkeby){
account = "0xa84135fdbd790a6feeffd204b14a103bb2e41e92"
}
}
// module.exports = {
// networks: {
// development: {
// host: "localhost",
// port: 8545,
// network_id: "*", // Match any network id
// from: account,
// //gas: 4612388
// gas: 4612388
// },
// rinkeby: {
// host: "localhost", // Connect to geth on the specified
// port: 8545,
// from: account, // default address to use for any transaction Truffle makes during migrations
// network_id: 4,
// gas: 4612388 // Gas limit used for deploys
// }
// }
// };
module.exports = {
networks: {
ropsten: {
host: "127.0.0.1",
port: 8545,
network_id: "3",
from: account,
gas: 4700000
},
mainnet: {
host: "127.0.0.1",
port: 8545,
network_id: "1",
gas: 4700000
}
}
};