-
Notifications
You must be signed in to change notification settings - Fork 70
/
truffle-config.js
36 lines (36 loc) · 941 Bytes
/
truffle-config.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
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
module.exports = {
compilers: {
solc: {
version: '0.5.3+commit.10d17f24',
docker: false,
settings: { optimizer: { enabled: true, runs: 200 } },
},
},
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*', // eslint-disable-line camelcase
},
test: {
host: 'localhost',
port: 8545,
network_id: '*', // eslint-disable-line camelcase
},
coverage: {
host: 'localhost',
port: 8555,
network_id: '*', // eslint-disable-line camelcase
gas: 0xfffffffffff,
gasPrice: 0x01,
},
ganache: {
host: 'localhost',
port: 8545,
network_id: '*', // eslint-disable-line camelcase
},
},
};