-
Notifications
You must be signed in to change notification settings - Fork 1
/
truffle.js
40 lines (40 loc) · 883 Bytes
/
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
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
// contracts_build_directory: "./build",
networks: {
ropsten: {
network_id: 3, // Official ropsten network id
host: '127.0.0.1',
port: 8545,
gas: 3000000,
gasPirce: 1e+9,
from: '0x2ac91344e9f023954dfe88efd5f7770db85eaba3'
},
development: {
host: "127.0.0.1",
port: 7545,
gas: 0x989680,
gasPrice: 50,
network_id: "*",
},
geth_dev: {
host: "127.0.0.1",
port: 8545,
/*provider: function() {
return new HDWalletProvider(mnemonic, "http://127.0.0.1:8545/");
},*/
gas: 0x989680,
network_id: "*",
}
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
mocha: {
useColors: true
}
};