tornado-anonymity-mining/truffle.js

40 lines
1.0 KiB
JavaScript

module.exports = {
// Uncommenting the defaults below
// provides for an easier quick-start with Ganache.
// You can also follow this format for other networks;
// see <http://truffleframework.com/docs/advanced/configuration>
// for more details on how to specify configuration options!
//
networks: {
// development: {
// host: '127.0.0.1',
// port: 8545,
// network_id: '*',
// },
// test: {
// host: "127.0.0.1",
// port: 7545,
// network_id: "*"
// }
coverage: {
host: 'localhost',
network_id: '*',
port: 8554, // <-- If you change this, also set the port option in .solcover.js.
gas: 0xfffffffffff, // <-- Use this high gas value
gasPrice: 0x01, // <-- Use this low gas price
},
},
compilers: {
solc: {
version: '0.6.12',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
},
plugins: ['truffle-plugin-verify', 'solidity-coverage'],
}