Hardhat ethers Plugin
Hardhat plugin integrating ethers.js for Ethereum smart contract development.
Crypto and web3 npm MIT
Used in agent projects
58
0.5% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#31 of 89
by use in those projects
Downloads
208K
npm, last 7 days, @nomicfoundation/hardhat-ethers
GitHub stars
8,511
last push Oct 10, 2026
How Hardhat ethers Plugin is used
Hardhat ethers Plugin is a dependency in 58 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #31 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use Hardhat (98.3%), ethers.js (82.8%), OpenZeppelin Contracts (79.3%).
Often used with Hardhat ethers Plugin
| Hardhat | 98.3% of Hardhat ethers Plugin projects · 56.0× more than average |
|---|---|
| ethers.js | 82.8% of Hardhat ethers Plugin projects · 18.3× more than average |
| OpenZeppelin Contracts | 79.3% of Hardhat ethers Plugin projects · 60.7× more than average |
| dotenv | 70.7% of Hardhat ethers Plugin projects · 4.5× more than average |
| viem | 69.0% of Hardhat ethers Plugin projects · 5.6× more than average |
| Hardhat Toolbox | 63.8% of Hardhat ethers Plugin projects · 89.0× more than average |
| Chai | 58.6% of Hardhat ethers Plugin projects · 24.4× more than average |
| Hardhat Verify | 56.9% of Hardhat ethers Plugin projects · 153.7× more than average |
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list Hardhat ethers Plugin as a dependency.
Install
| Package | npm install @nomicfoundation/hardhat-ethers |
|---|---|
| Main stacks | TypeScript / JavaScript (32), Next.js (19), Rust (6), Python (1) |
| Example projects | FairCrypto/XEN-crypto, zeta-chain/toolkit, Cyfrin/2024-07-biconomy, StableExo/TheWarden |
Alternatives to Hardhat ethers Plugin
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| 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 |
| ethers.js npm Complete Ethereum library for building dapps, wallets and blockchain tools. |
574 (4.5%) | 3.6M | 8,710 | 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 | — |