Last active
October 6, 2019 22:49
-
-
Save ChamsBouzaiene/0360040579b81cee70d90a348bc65ee9 to your computer and use it in GitHub Desktop.
truffle config for the ganache blockchain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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