0

This question is an extension of Deploying to testnet using Truffle and Metamask

Need to deploy smart contracts over ropsten testnet that connected through metamask . I am using truffle framework to write smart contract so what should i write in truffle.js to achieve the task.

5
  • I just answered this post which should give you all you need: ethereum.stackexchange.com/a/23320/4108 Commented Jul 30, 2017 at 13:21
  • i follow your answer , i use second method but it gives me error - (node:23567) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: this.provider.sendAsync is not a function how do i resolve it Commented Jul 31, 2017 at 14:09
  • Hi, Sorry I forgot one point. The answer is update for more details. But inn short, you need to run npm init and then npm install ethereumjs-wallet bip39 web3-provider-engine [email protected] --save Commented Aug 1, 2017 at 10:13
  • @GregJeanmart i already do that but same problem occurs Commented Aug 1, 2017 at 10:30
  • It's working correctly for me. I copied my package.json here so you can have a look and maybe remove the node-modules folder and rerun npm install Commented Aug 1, 2017 at 11:00

0

Browse other questions tagged or ask your own question.