-
Notifications
You must be signed in to change notification settings - Fork 3
/
truffle.js
67 lines (66 loc) · 1.29 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
require("babel-polyfill");
require("babel-register")({
"presets": ["es2015"],
"plugins": ["syntax-async-functions","transform-regenerator"]
});
module.exports = {
networks: {
live: {
network_id: 1,
host: "localhost",
port: 8546,
gas: 4543760
},
ropsten: {
network_id: 3,
host: "localhost",
port: 8545,
gas: 4543760
},
rinkeby: {
network_id: 4,
host: "localhost",
port: 8545,
gas: 4543760
},
kovan: {
network_id: 42,
host: "localhost",
port: 8545,
gas: 4543760
},
development: {
network_id: "*",
host: "localhost",
port: 8545,
gas: 4543760
},
coverage: {
host: 'localhost',
network_id: '*', // eslint-disable-line camelcase
port: 8555,
gas: 0xfffffffffff,
gasPrice: 0x01,
}
},
rpc: {
host: "localhost",
port: 8545
},
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
compilers: {
solc: {
version: "0.5.15", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
optimizer: {
enabled: true,
runs: 200
}
}
}
};