From a88d761bb9ccaa79a600b28355a3737ee232fa63 Mon Sep 17 00:00:00 2001 From: dolebas Date: Fri, 13 Apr 2018 12:34:42 +0200 Subject: [PATCH] Update truffle.js, add missing "networks: {" --- src/ethereum/truffle.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/ethereum/truffle.js b/src/ethereum/truffle.js index 9a74160..1c1cad1 100644 --- a/src/ethereum/truffle.js +++ b/src/ethereum/truffle.js @@ -4,15 +4,16 @@ var mnemonic = 'candy maple cake sugar pudding cream honey rich smooth crumble s module.exports = { // See // to customize your Truffle configuration! - rinkeby: { - provider: new HDWalletProvider( - mnemonic, - 'https://rinkeby.infura.io/XAmfM8SVSh5OkuiYMIBx', - 1 - ), - network_id: 5, - gas: 6712388, - gasPrice: 10000000 + networks: { + rinkeby: { + provider: new HDWalletProvider( + mnemonic, + 'https://rinkeby.infura.io/XAmfM8SVSh5OkuiYMIBx', + 1 + ), + network_id: 5, + gas: 6712388, + gasPrice: 10000000 + }, }, -}, -}; \ No newline at end of file +};