diff --git a/truffle-config.js b/truffle-config.js index a6330d6d5..7a0021ff8 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -1,4 +1,22 @@ module.exports = { // See // to customize your Truffle configuration! + networks: { + development: { + host: "127.0.0.1", + port: "7545", + network_id: "*" // match any network id + }, + rinkeby: { + host: "localhost", + port: 8545, + network_id: 4, + gas: 4700000 + } + }, + compilers: { + solc: { + version: "0.4.17" + } + } }; diff --git a/truffle.js b/truffle.js index bb067d70f..7a0021ff8 100644 --- a/truffle.js +++ b/truffle.js @@ -13,5 +13,10 @@ module.exports = { network_id: 4, gas: 4700000 } + }, + compilers: { + solc: { + version: "0.4.17" + } } };