Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

@typechain/hardhat

Zero-config TypeChain integration for Hardhat to generate types from smart contracts.

Crypto and web3NPM

GitHubWebsite

1. License

License from npm.

github.com/ethereum-ts/Typechain

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What @typechain/hardhat does

Zero-config TypeChain integration for Hardhat to generate types from smart contracts.

@typechain/hardhat popularity

40 / 100
Gid Score, #3159 overall
149K
downloads a week, npm
2,790
GitHub stars
2
agent projects use it
@typechain/hardhat: downloads per weeknpm, @typechain/hardhat 149,392
@typechain/hardhat: GitHub starsethereum-ts/Typechain 2,790

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How @typechain/hardhat is used

  • @typechain/hardhat is a dependency in 2 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 44 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is viem (47 projects).
  • Projects that use it most often also use Hardhat (97.7%), ethers.js (95.5%), TypeChain (90.9%).

Often used with

In 97.7% of its projects
In 95.5% of its projects
In 90.9% of its projects
In 88.6% of its projects
In 88.6% of its projects
In 86.4% of its projects
In 86.4% of its projects
In 86.4% of its projects

More about @typechain/hardhat

More in Crypto and web3

Alternatives

@typechain/hardhat This page

MITGid 40149K/wk

viem

TypeScript interface for Ethereum with type-safe interactions.

MITGid 7310.7M/wk

ethers.js

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

MITGid 695.1M/wk

Compare @typechain/hardhat with another tool

Get started

Install it.

npm install @typechain/hardhat

No step-by-step start for @typechain/hardhat yet: we have not written its hand-checked card.