-
Notifications
You must be signed in to change notification settings - Fork 5
/
truffle.js
48 lines (48 loc) · 975 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
41
42
43
44
45
46
47
48
const { readFileSync } = require('fs')
var config = require('./config.json');
module.exports = {
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
networks: {
test: {
host: "127.0.0.1",
port: 8545,
gasPrice: 1000000000,
gas: 4700000,
from: "0x2748ee00126408d9009a8b066f4ca36ada395101",
network_id: '*'
},
production: {
host: config.host,
port: config.port,
gasPrice: 1000000000,
gas: 4700000,
from: config.account,
network_id: config.network_id
},
development: {
host: "127.0.0.1",
port: 8545,
gasPrice: 1000000000,
gas: 4700000,
from: "0x61e80ca5f7c4a5cf0f74281a267b54950d9bfa60",
network_id: '*'
},
docker: {
host: "192.168.0.102",
port: 9000,
network_id: "8000"
}
},
mocha: {
ui: "bdd",
reporterOptions: {
'mocha-osx-reporter': '-',
'spec': '-'
}
}
};