-
Notifications
You must be signed in to change notification settings - Fork 2
/
truffle.js
41 lines (39 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
35
36
37
38
39
40
41
require('babel-register');
require('babel-polyfill');
module.exports = {
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
networks: {
development: {
host: 'localhost',
port: 8545,
gas: 7000000,
network_id: '*', // Match any network id
//gas: 0xfffffffffff,
gasPrice: 0x01
},
coverage: {
host: "localhost",
network_id: "*",
port: 8555,
gas: 0xfffffffffff,
gasPrice: 0x01
},
rinkeby: {
host: "localhost", // Connect to geth on the specified
port: 8545,
from: "0x25a9f7512f28265Cb2772dE07DD947F969E19F49", // default address to use for any transaction Truffle makes during migrations
network_id: 4,
gas: 6900000 // Gas limit used for deploys
}
},
mocha: {
useColors: true,
slow: 30000,
bail: true
}
};