Question · Blockchain and Web3 course · Module 4: ethers.js & viem

Comparing the Libraries

When is it worth using ethers.js instead of viem?

Answer options

  • When the project is in JavaScript without TypeScript and you need a proven, well-documented library
  • Never, viem is always better
  • Only on mobile devices
  • Only in unit tests

You can check the correct answer by solving this task in the CodeWorlds game.