-
Notifications
You must be signed in to change notification settings - Fork 3
/
truffle.js
36 lines (35 loc) · 1.06 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
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "force pistol endless treat spot craft easily panel hurt potato slide explain";
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*" // Match any network id
},
ropsten: {
provider: function () {
return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/lMgQfS5DDh31T0z6iD5E")
},
network_id: 3,
gas: 4612388,
// from: "0x9BDe18763610E7beEE45F522B641F156D538d901"
},
rinkeby: {
provider: function () {
return new HDWalletProvider(mnemonic, "https://rinkeby.infura.io/lMgQfS5DDh31T0z6iD5E")
},
network_id: 4,
gas: 4612388,
// from: "0x9BDe18763610E7beEE45F522B641F156D538d901"
},
kovan: {
provider: function () {
return new HDWalletProvider(mnemonic, "https://kovan.infura.io/lMgQfS5DDh31T0z6iD5E")
},
network_id: 44,
gas: 7990000,
// from: "0x9BDe18763610E7beEE45F522B641F156D538d901"
},
}
};