Elestia Open Source Ratings
6.6

ethers.js

Reasonable, with limits. 7th of 10 blockchain libraries.

ethers.js is the long-standing, self-contained Ethereum library for providers, wallets, contracts and ENS. It is still solid and widely used. One maintainer works on it slowly, and viem now does the same job better for most new TypeScript projects.

Best for: Teams that keep an existing ethers codebase, or that write Node scripts and backends that want a stable, batteries-included Ethereum API.

WebsiteGitHubnpm

Scores

Overall6.6

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

ethers works well, is safe enough and is still very common, so it is a reasonable pick. viem does the same EVM job with better types, a smaller bundle and a far more active team, and Wagmi builds on viem. Development by one maintainer and falling share keep ethers below viem for new projects.

GPT-6.2 Sol: 7.1, likely 6.0 to 8.2

Ethers.js 6.17.0 is a strong choice for JavaScript scripts and teams using Hardhat’s ethers toolbox. Viem is the stronger default for a new TypeScript EVM app because it infers contract types and ships updates more frequently. Ethers’ large installed base and mature API support continued use, while slower releases and the unresolved WebSocket dependency issue make its two-year outlook less certain.

Needed by many3.2

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

Blockchain work is a clear niche among JavaScript developers. ethers covers only Ethereum and EVM chains, not Solana or Bitcoin. Within that niche it serves both frontend and backend work.

  • github description: Ethereum library and wallet only
  • category scope: Web3 is a small share of JS work

GPT-6.2 Sol: 3.4, likely 2.3 to 4.5

Ethereum and compatible chains create a clear niche for wallets, apps, and automation in browsers and Node.js. Solana and Bitcoin require different libraries. The Solidity survey shows how common ethers.js is within its niche, but the share of all JavaScript and TypeScript developers who need it is harder to measure.

Helps a lot7.3

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

The API is complete and mature, and it tracks new EIPs. Independent comparisons say viem gives better TypeScript inference, a smaller tree-shakable bundle and somewhat lower latency. ethers v6 contract methods are typed loosely by default.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

Version 6.17.0 covers the core Ethereum workflows and provides documented error codes with TypeScript guards. Viem infers contract methods and arguments directly from the ABI, while ethers.js usually needs generated bindings for that level of checking. An older independent multicall benchmark favored viem, with uncertain implications for other workloads. Coding agents have clear v6 examples to follow, although a developer reported receiving incompatible v5 code from an AI assistant.

Holds up over time5.5

Will it still be a good choice in two years?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

ethers still ships feature releases, most recently v6.17.0 in June 2026. But one maintainer does the work, with 41 commits a year, 238 open pull requests, a Scorecard Maintained score of 1 and no public v7 plan. The ecosystem is moving towards viem, so the risk of further slowdown is real.

  • github commitsLastYear / contributors / openPullRequests: 41 commits, 1 contributor, 238 open PRs
  • github releasesLastYear: 2 releases; last on 2026-06-18
  • peers viem commitsLastYear: viem has 1225 commits a year
  • dwellir.com/blog/web3js-guide: web3.js sunset; ethers and viem named as successors

GPT-6.2 Sol: 5.9, likely 4.5 to 7.3

Ethers.js shipped two releases in the past year, with the latest five months ago, and recorded 41 commits to viem’s 1,225. Sponsorship and the June release’s ENSv2 work support continued maintenance, though work centers on one maintainer and several reported bugs remain open. The v5-to-v6 migration required real API changes, and the pace of future fixes is uncertain.

Used widely6.8

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

With 19.5M downloads per 4 weeks and 93k dependent repositories, it has the largest installed base in the category. Its downloads grew 2.2x in a year, well below the 4.1 median, while viem grew about 4.5x and now has twice the downloads. Many installs come through Hardhat plugins and old codebases, so it is losing share of new projects.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 19.5M vs 8.9M, ratio 2.2 vs median 4.1
  • dependents repos: 93,211 repos, the most of any peer
  • peers viem downloadsLast4Weeks: viem at 40M, up from 8.9M

GPT-6.2 Sol: 6.6, likely 5.5 to 7.7

The collector found 93,211 dependent repositories and 13,154 dependent packages, the strongest recorded base among these peers. Four-week installs rose from 8.87 million to 19.55 million, or 2.2×, below both the 4.1× catalog baseline and viem’s 4.5× growth. The Solidity survey confirms broad current use, while automated and indirect installs and incomplete repository coverage make new-project adoption harder to estimate.

Vouched for7.0

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

Years of production use across DeFi, Hardhat's ethers plugin and countless tutorials stand behind it. Current independent comparisons now mostly recommend viem for new work. Survey data for this niche is thin.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

Hardhat 3 ships an official ethers toolbox, and OpenZeppelin supports ethers for contract deployments and upgrades. Ethereum.org recommends it for new projects, and 70% of respondents in the latest Solidity survey reported using it. The survey measures use, and the small independent benchmark only covers one workload, so evidence on satisfaction and comparative performance is thinner.

Safe5.9

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

There are no OSV advisories, the licence is MIT, it has only 7 dependencies and its crypto comes from @noble. The Scorecard is 3.7, with no code review, no branch protection and unpinned dependencies. A single person publishes releases, which concentrates the supply-chain risk.

  • advisories total: 0 advisories
  • scorecard score: 3.7; Code-Review 0, Branch-Protection 0
  • npm dependencies: 7 dependencies
  • github license: MIT

GPT-6.2 Sol: 5.3, likely 4.1 to 6.7

Ethers has a permissive MIT license, seven direct dependencies, a public reporting policy, and zero tracked direct advisories. Its pinned Node.js WebSocket dependency predates an upstream memory-exhaustion fix, and exposure depends on how the application connects. OpenSSF scores code review, branch protection, and workflow token permissions at zero, and the public release record is concentrated around one maintainer. A 2025 malware report traced local tampering with installed ethers files to a separate npm package.

Good

  • One package covers providers, wallets, signing, ABI coding, contracts and ENS, with only 7 dependencies.
  • It has the largest base of tutorials, Stack Overflow answers and dependent repositories, so AI agents write correct v6 code for it easily.
  • It keeps up with protocol changes, such as EIP-7702, PeerDAS blobs and ENSv2 in the 2025-2026 releases.
  • It has no known advisories against v6, and it uses the audited @noble crypto libraries.

Bad

  • One maintainer does nearly all the work: 41 commits and 2 releases in the last year, with 238 open pull requests.
  • Contract calls are weakly typed (often any) unless you add TypeChain-style tooling, while viem infers types from the ABI.
  • The bundle is larger and tree-shakes worse than viem's in frontend apps.
  • Wagmi and much of the newer ecosystem build on viem, so ethers gets less frontend integration.

The numbers

npm downloads, 4 weeks
20M ×2.2 in a year
GitHub stars
8.7k
Commits, 12 months
41
npm version
6.17.0 Jun 2026
Versions, 12 months
2
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.7 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (ethers-io/ethers.js), npm (ethers), OSV and the OpenSSF Scorecard.

Blockchain libraries

  1. 8.9viem
  2. 8.2Wagmi
  3. 8.0Solana Kit
  4. 7.1Ox
  5. 6.9bitcoinjs-lib
  6. 6.7Hardhat
  7. 6.6ethers.js
  8. 6.3Solana web3.js
  9. 5.6thirdweb
  10. 1.7web3.js
Compare all 10 on six scores