Skip to content

Instantly share code, notes, and snippets.

@ChamsBouzaiene
Last active October 6, 2019 22:49
Show Gist options
  • Save ChamsBouzaiene/0360040579b81cee70d90a348bc65ee9 to your computer and use it in GitHub Desktop.
Save ChamsBouzaiene/0360040579b81cee70d90a348bc65ee9 to your computer and use it in GitHub Desktop.
truffle config for the ganache blockchain
const path = require("path");
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
contracts_build_directory: path.join(__dirname, "client/src/contracts"),
networks: {
develop: {
port: 8545
},
private: {
port: 8545,
network_id: 5777,
gas: 6000000,
host: "127.0.0.1"
},
ropsten: {
port: 8545,
network_id: 5777,
gas: 6000000,
host: "127.0.0.1"
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment