mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2024-10-31 23:55:20 +01:00
51 lines
1.2 KiB
JavaScript
51 lines
1.2 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,
|
|
},
|
|
},
|
|
},
|
|
external: {
|
|
command: 'node ./compileHasher.js',
|
|
targets: [
|
|
{
|
|
path: './build/contracts/Hasher2.json',
|
|
},
|
|
{
|
|
path: './build/contracts/Hasher3.json',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
plugins: ['truffle-plugin-verify', 'solidity-coverage'],
|
|
}
|