-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle.js
More file actions
35 lines (35 loc) · 862 Bytes
/
truffle.js
File metadata and controls
35 lines (35 loc) · 862 Bytes
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
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "mnemonic here";
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*", // Match any network id
gas: 8000000
},
// ropsten: {
// provider: new HDWalletProvider(mnemonic, "ropsten node url"),
// network_id: 3,
// gas: 4612388
// },
rinkeby: {
provider: new HDWalletProvider(mnemonic, "http://35.159.51.209:8545"),
network_id: 4,
gas: 8000000
},
kovan: {
provider: new HDWalletProvider(mnemonic, "infura link"),
network_id: 4,
gas: 8000000
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
}
};