-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtruffle.js
25 lines (25 loc) · 859 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
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
module.exports = {
contracts_directory: "./smart_contracts",
contracts_build_directory: "./build/smart_contracts",
networks: {
development: {
host: 'localhost',
port: 9545,
network_id: '4447' // Match ganache network id
},
},
solc: {
// Turns on the Solidity optimizer. For development the optimizer's
// quite helpful, just remember to be careful, and potentially turn it
// off, for live deployment and/or audit time. For more information,
// see the Truffle 4.0.0 release notes.
//
// https://github.com/trufflesuite/truffle/releases/tag/v4.0.0
optimizer: {
enabled: true,
runs: 200
}
}
}