Skip to content

Instantly share code, notes, and snippets.

@cds-amal
Last active July 9, 2021 19:17
Show Gist options
  • Save cds-amal/2d229a911a7a0bbd4363e5ce7e22035f to your computer and use it in GitHub Desktop.
Save cds-amal/2d229a911a7a0bbd4363e5ce7e22035f to your computer and use it in GitHub Desktop.
module.exports = {
networks: {
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
},
},
// Set default mocha options here, use special reporters etc.
mocha: {
// timeout: 100000
},
// Configure your compilers
compilers: {
solc: {
// version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
// settings: { // See the solidity docs for advice about optimization and evmVersion
// optimizer: {
// enabled: false,
// runs: 200
// },
// evmVersion: "byzantium"
// }
}
},
// Truffle DB is currently disabled by default; to enable it, change enabled: false to enabled: true
//
// Note: if you migrated your contracts prior to enabling this field in your Truffle project and want
// those previously migrated contracts available in the .db directory, you will need to run the following:
// $ truffle migrate --reset --compile-all
db: {
enabled: false
},
console: {
require: [
{ path: "./snippets/helpers.js"}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment