1

I've seen people using both in their codes - https://github.com/ethereum/web3.js and https://github.com/ethjs.

Do I need both? Does ethjs depend on web3?

1
  • Web3js is an official project of the Ethereum Foundation.
  • Ethjs is a lightweight reimplementation of web3.js that has an async only API. There is no dependency relationship between them.
  • Another library that is widely used is ethers.js
  • 1
    Typo in the second point? "...lightweight reimplementation of web3.js..."? – Richard Horrocks May 30 at 11:39
  • 1
    Thanks! Edited. – shanet May 30 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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