-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtruffle.js
35 lines (33 loc) · 1.01 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
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "remind struggle west dentist under sauce there find scatter mention method indoor";
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*",
gas: 4612388
},
coverage: {
host: "localhost",
network_id: "*",
port: 8555, // <-- If you change this, also set the port option in .solcover.js.
gas: 0xfffffffffff, // <-- Use this high gas value
gasPrice: 0x01 // <-- Use this low gas price
},
rinkeby: {
provider: function() {
return new HDWalletProvider(mnemonic, "http://94.130.216.246:8545/SJNZXWlD8Ed9GGdD4pWl")
},
gasPrice: 1000000000,
network_id: 3,
gas: 6000000
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
}
};