-
Notifications
You must be signed in to change notification settings - Fork 5
/
truffle.js
47 lines (38 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
37
38
39
40
41
42
43
44
45
46
47
const HDWalletProvider = require('truffle-hdwallet-provider');
mnemonic = "congress push dog erosion attend distance virus embody fiction scheme puzzle letter";
//mnemonic = "heavy entry bone system elbow cost misery artwork inner pet suit secret";
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*", // Match any network id
gas: 6700000,
gasPrice: 1
},
//My own Kovan instance
localnode: {
host: "localhost",
port: 8545,
network_id: "42",
gas: 50000000,
gasPrice: 100000000000
},
kovan: {
provider: function () {
return new HDWalletProvider(mnemonic, "https://kovan.infura.io/nq321ByKuruIz2XqTGd5");
},
network_id: '42',
gas: 8000000,
gasPrice: 7000000000 //7 GWei
},
mainnet: {
provider: function () {
return new HDWalletProvider(mnemonic, "https://kovan.infura.io/nq321ByKuruIz2XqTGd5");
},
network_id: '1',
gas: 3000000,
gasPrice: 7000000000 //7 GWei
},
}
}