Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

ethers.js

Complete Ethereum library for building dapps, wallets and blockchain tools.

Crypto and web3 npm MIT

Used in agent projects
574
4.5% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#5 of 89
by use in those projects
Downloads
3.6M
npm, last 7 days, ethers
GitHub stars
8,710
last push Jun 18, 2026

How ethers.js is used

ethers.js is a dependency in 574 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.5%), #5 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use viem (64.8%), wagmi (41.5%), TanStack Query (31.9%).

Often used with ethers.js

viem64.8% of ethers.js projects · 5.3× more than average
wagmi41.5% of ethers.js projects · 8.1× more than average
TanStack Query31.9% of ethers.js projects · 3.3× more than average
TypeScript74.9% of ethers.js projects
Axios30.7% of ethers.js projects · 3.1× more than average
React63.4% of ethers.js projects · 1.5× more than average
ESLint56.4% of ethers.js projects · 1.5× more than average
Next.js43.2% of ethers.js projects · 1.9× more than average

By coding agent

Claude Code1.3% of projects set up for it
Cursor0.9% of projects set up for it
GitHub Copilot0.5% of projects set up for it

Share of public repos configured for each agent that list ethers.js as a dependency.

Install

Packagenpm install ethers
Main stacksTypeScript / JavaScript (313), Next.js (232), Rust (13), Python (7)
Example projectssunflower-land/sunflower-land, ant-design/ant-design-web3, nirholas/three.ws, ask-the-hive/the-hive, dabit3/x402-starter-kit

Alternatives to ethers.js

All crypto and web3

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Solana Web3.js npm
Official JavaScript SDK for interacting with the Solana blockchain.
2,099 (16.5%) 2.6M 2,767 MIT
viem npm
TypeScript interface for Ethereum with type-safe interactions.
1,566 (12.3%) 6.5M 3,577 MIT
Solana SPL Token npm
JavaScript API for interacting with Solana's SPL Token program.
924 (7.3%) 1.2M 223 Apache-2.0
wagmi npm
React hooks library for Ethereum interactions and wallet connections.
650 (5.1%) 1M 6,759 MIT
Solana Wallet Adapter npm
React hooks and UI for connecting Solana wallets to dapps with state management.
547 (4.3%) 1M 2,030 Apache-2.0
Anchor npm
Framework for developing Solana smart contracts with TypeScript and Rust.
438 (3.4%) 851K 5,142 (MIT OR Apache-2.0)
solders pypi
Python bindings for Solana Rust tools enabling efficient blockchain interaction.
423 (3.3%) 388K 449 —
solana-py pypi
Python SDK for interacting with Solana blockchain and building on-chain programs.
342 (2.7%) 247K 1,445 —
Is ethers.js right for your project? Ask AgentGid →