-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
45 lines (44 loc) · 1.1 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
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic =
"furnace hungry scare bean swarm culture injury infant mean balcony erupt slow";
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
ropsten: {
provider: function() {
return new HDWalletProvider(
mnemonic,
"https://ropsten.infura.io/8Q30zi3TAqlJ6JSCwcul"
);
},
network_id: 3,
gas: 4600000,
gasPrice: 20000000000
},
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
live: {
provider: function() {
return new HDWalletProvider(
mnemonic,
"https://mainnet.infura.io/8Q30zi3TAqlJ6JSCwcul"
);
},
network_id: 1,
gas: 3500000,
gasPrice: 3000000000
},
mainnet: {
host: "localhost",
network_id: 1,
port: 8545,
gas: 4600000,
gasPrice: 10000000000,
from: "0x8D012fA42370adD6268b547d955EEF603C89821A"
}
}
};