[Ethereum] the difference between web3.js and ethers.js


Can anyone write a short comparison between the most important features of the two libraries?

Best Answer

For me, it is less about features (however there are a couple cool features/design choices in ethers.js).

Ethers.js is:

  • smaller
  • well tested
  • well documented
  • well maintained
  • less buggy

If you want to use ethers, you might want to check Waffle, a framework for creating smart contracts with ethers.