If I am using Infura Node interact with smart contracts. And I want to build/setup web3 apis on a ubuntu machine on AWS. Do i need to install truffle on that machine or just node.js and web3 is enough?

  • 3
    node.js and web3 is enough – Jaime Jan 7 at 14:52
  1. Download Node.js and npm from https://nodejs.org/en/, and then install them.

  2. Run npm install web3.


Does this mean we just need to move the build folder at web3 server? and we don’t need truffle compile or truffle setup there?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.