Wagmi
A strong pick. 2nd of 10 blockchain libraries.
Wagmi gives React apps hooks for Ethereum wallets and contracts, and it also has Vue, Solid and plain TypeScript cores. It is built on viem. It is the default way to build an EVM dApp frontend today, and wallet kits such as RainbowKit, Reown AppKit and Privy build on it.
Best for: Teams building a React (or Vue) frontend that connects to user wallets and reads and writes EVM contracts.
Scores
Overall8.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.5 to 8.5
For EVM dApp frontends it is the clear default. It is well typed, actively maintained by a funded team, and the base of the whole wallet-kit ecosystem. It does not cover backends, scripts or Solana, where viem or Solana Kit are the picks, and its major-version churn is a real cost. That keeps it a strong pick for a named kind of project rather than the category-wide default.
- npm downloads ratio: 4.6, against a 4.1 median
- github releasesLastYear: 222 releases in the last year
- pkgpulse.com/guides/wagmi-vs-ethersjs-vs-viem-web3-javascript-libraries-2026: Guide names it the React layer of the viem stack
- wagmi.sh/react/guides/migrate-from-v2-to-v3: v3 brought a new major with breaking changes
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
Wagmi is a strong pick when a new React app needs wallet state and typed EVM contract operations together. Viem is the broader pick for standalone EVM reads and writes, and Solana projects need a Solana SDK. Regular releases and current v3 adoption support the recommendation, while wallet UI kit compatibility can still determine which major version a team can ship.
- wagmi.sh/react/getting-started: React wallet and contract workflows on viem
- viem.sh: Standalone typed EVM clients and utilities
- npm versionsLastYear and peers: Active release cadence and chain-specific alternatives
- github.com/Uniswap/interface/blob/main/apps/web/package.json: Production frontend declares Wagmi 3
- docs.reown.com/appkit/react/core/installation: Reown's React setup still specifies Wagmi 2
- github.com/rainbow-me/rainbowkit/blob/main/packages/rainbowkit/package.json: RainbowKit still declares Wagmi 2 compatibility
Needed by many2.9
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. Wagmi narrows it further to EVM frontends, mainly in React, with Vue and Solid adapters. Inside that niche, almost every dApp frontend needs this kind of tool.
- github description: Reactive primitives for Ethereum apps
- pkgpulse.com/guides/wagmi-vs-ethersjs-vs-viem-web3-javascript-libraries-2026: Recommends wagmi for React dApps and viem for backends and non-React code
GPT-6.2 Sol: 2.8, likely 1.6 to 4.0
Blockchain integration is a niche across JavaScript and TypeScript work. The main Wagmi package serves React apps on EVM chains, and the separate Core package extends it beyond React. JetBrains found that 3% of developers targeted blockchain in 2024, which gives a rough baseline for the category.
- jetbrains.com/lp/devecosystem-2024: Broad developer survey puts blockchain at 3%
- wagmi.sh/react/getting-started: React hooks for Ethereum and EVM chains
- wagmi.sh/core/getting-started: Separate framework-independent package
Helps a lot8.5
How well does it do the job for those who need it?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
It is the most complete EVM frontend layer: ABI-typed hooks, multi-chain config, many connectors, TanStack Query caching, and a CLI for generating typed contract code. Its docs are thorough and it publishes llms.txt for AI agents. Connector edge cases on mobile, and the churn between majors, keep it below the top.
- pkgpulse.com/guides/wagmi-vs-ethersjs-vs-viem-web3-javascript-libraries-2026: Praises its multi-chain ergonomics, caching and 15+ connectors
- wagmi.sh/react/guides/migrate-from-v2-to-v3: In v3, users control connector dependencies themselves
- Github.com/wevm/wagmi/issues/3606: Reported injected connector ID mix-ups
- wagmi.sh/llms.txt: Docs published for LLM agents
GPT-6.2 Sol: 8.5, likely 7.3 to 9.5
Version 3.7.11 covers wallet state, typed contract reads and writes, signing, and transaction receipts, with caching through TanStack Query. The current examples and ABI inference help developers and coding agents catch incorrect calls at compile time. Next.js hydration and connector setup add work. Evidence for runtime performance across wallets is limited.
- github.com/wevm/wagmi/releases/tag/wagmi@3.7.11: Stable release and bundled Core and connector versions
- wagmi.sh/react/getting-started: Hook coverage, setup examples, and query caching
- wagmi.sh/react/typescript: ABI inference and compile-time checks
- wagmi.sh/react/guides/ssr: Cookie setup for wallet-state hydration
- reddit.com/r/ethdev/comments/17ymha8/wagmi_alternative_package: Older firsthand migration report prefers Wagmi and viem to web3-react
Holds up over time8.3
Will it still be a good choice in two years?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
The project is very active: 309 commits and 222 releases in the last year, and only 6 open issues. The wevm team is funded by Paradigm, with Tempo shown as a sponsor, and many wallet companies depend on it. Breaking majors arrive every year or two, which adds upgrade cost.
- github commitsLastYear / releasesLastYear: 309 commits, 222 releases
- github openIssues / closedIssues: 6 open against 1253 closed
- paradigm.xyz/writing/paradigm-and-wagmi: Paradigm sponsors the maintainers full time
- docs.tempo.xyz/sdk/typescript: Tempo ships its SDKs on viem and wagmi
GPT-6.2 Sol: 8.0, likely 6.7 to 9.0
Wevm has a sponsor-backed two-person core team, and the React package published 51 versions in the past year. A reported wallet reconnection bug reached a Core patch within two months. Teams reported being blocked from moving to Wagmi 3 by wallet UI kit compatibility, and the number of people who can authorize releases is unclear.
- npm versionsLastYear: 51 versions for the React package
- github commitsLastYear: 309 commits across the shared repository
- github.com/sponsors/wevm: Sponsors fund the two listed core team members
- github.com/wevm/wagmi/issues/5233: August report of a stuck wallet connection
- github.com/wevm/wagmi/releases/tag/@wagmi%2Fcore@3.6.6: October patch fixes the reconnection failure
- github.com/rainbow-me/rainbowkit/issues/2626: Downstream users reported blocked v3 upgrades
Used widely5.7
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Downloads reached 6.5M per 4 weeks, up from 1.4M a year ago. That ratio of 4.6 is a little above the 4.1 median, so it is gaining ground modestly. Part of the volume comes from wallet kits that install wagmi as a peer dependency, but those are still choices of the wagmi stack. Its 5,440 dependent repositories beat viem's count but trail ethers.js by far.
- npm downloadsLast4Weeks: 6.49M, against 1.41M a year ago
- dependents: 5440 repos and 502 packages
- peers ethers.js dependentRepos: 93k for ethers.js, a much larger legacy base
GPT-6.2 Sol: 5.3, likely 4.0 to 6.6
Four-week downloads rose from 1.41 million to 6.49 million, or 4.61× year over year against the catalog median of 4.1×. The indexed count of 5,440 dependent repositories exceeds viem's 2,412 and trails ethers.js at 93,211. CI and wallet-kit installs inflate downloads, and the repository's stars cover multiple packages. Sparse social coverage and incomplete repository indexing leave the direct adoption estimate wide.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 4.61× year-over-year download growth
- medianDownloadsRatio: Catalog growth baseline of 4.1×
- dependents and peers: 5,440 indexed repositories and 502 npm packages
- github stars, hackerNews and bluesky: 6,770 shared stars, one relevant HN story, zero Bluesky links
- github.com/rainbow-me/rainbowkit/blob/main/packages/rainbowkit/package.json: Wallet UI kit declares Wagmi as a peer dependency
Vouched for8.0
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Many independent companies build on it and document it: RainbowKit, Reown AppKit, ConnectKit, Privy, Web3Auth, MetaMask and Coinbase CDP. Independent comparison guides recommend it as the React default. Developer surveys do not cover this niche, and the write-ups found are of uneven quality.
- docs.metamask.io/metamask-connect/evm/quickstart/wagmi.md: MetaMask has a wagmi integration quickstart
- docs.cdp.coinbase.com/wallets/ecosystem-compatibility/wagmi: Coinbase documents wagmi compatibility
- docs.privy.io/reference/sdk/wagmi/changelog: Privy ships a wagmi integration that tracks v3
- pkgpulse.com/guides/wagmi-vs-ethersjs-vs-viem-web3-javascript-libraries-2026: Third-party guide recommends wagmi with viem
GPT-6.2 Sol: 8.5, likely 7.3 to 9.4
Uniswap's web app declares Wagmi 3, and MetaMask documents it for its React Embedded Wallet SDK. Aave declares Wagmi 2, and Ethereum.org lists Wagmi in its builder resources. The 2025 Solidity survey found 33% usage among respondents to the library question. That survey measured use, and the available evidence says less about retention or performance on the latest patch.
- github.com/Uniswap/interface/blob/main/apps/web/package.json: Uniswap web app declares Wagmi 3.6.17
- docs.metamask.io/embedded-wallets/sdk/react: Embedded Wallet SDK documents Wagmi 3 integration
- github.com/aave/interface/blob/main/package.json: Aave interface declares Wagmi 2
- ethereum.org/developers/tools: Lists Wagmi as an Ethereum frontend tool
- soliditylang.org/survey-2025: 33% reported using Wagmi among 871 library-question respondents
Safe7.7
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
There are no known advisories, the package has only 3 direct dependencies, it uses the MIT licence, and its Scorecard is 7.9 with pinned dependencies and safe workflows. Code-Review scores only 3, and the Vulnerabilities check scores 4. Wallet connector SDKs are a known supply-chain risk in this space, as the 2023 Ledger connect-kit incident showed, and v3 now lets users choose and pin those SDKs.
- advisories total: 0 advisories
- scorecard: 7.9 overall, Code-Review 3, Vulnerabilities 4
- npm dependencies: 3 direct dependencies
- Ledger connect-kit compromise, Dec 2023: A wallet SDK supply-chain attack hit dApp frontends
GPT-6.2 Sol: 7.8, likely 6.4 to 8.8
Wagmi is MIT-licensed, has three direct dependencies, and has zero cataloged package advisories. Its release workflow uses npm trusted publishing, and v3 makes third-party wallet SDKs optional. Scorecard gives 7.9 overall, with weak code review and vulnerability checks and a zero for fuzzing. The installed connector versions affect risk, and the optional WalletConnect provider's Community License limits commercial use above specified thresholds.
- advisories and npm: Zero cataloged advisories, MIT, three direct dependencies
- scorecard checks: Code review 3, vulnerabilities 4, fuzzing 0
- github.com/wevm/wagmi/blob/wagmi@3.7.11/.github/workflows/changesets.yml: GitHub Actions publishes through npm trusted publishing
- wagmi.sh/react/guides/migrate-from-v2-to-v3: Wallet SDKs became optional peer dependencies
- github.com/WalletConnect/walletconnect-monorepo/blob/v2.0/providers/ethereum-provider/LICENSE.md: WalletConnect Community License sets commercial-use thresholds
Good
- It types contract reads and writes from the ABI, through viem and ABIType, so TypeScript catches wrong calls.
- TanStack Query handles caching, refetching and request deduplication, so hooks stay in sync with the chain without extra code.
- The major wallet kits (RainbowKit, Reown AppKit, ConnectKit, Privy) and the docs of MetaMask and Coinbase build on it.
- It is very actively maintained by the funded wevm team, with clear migration guides and an llms.txt file for AI agents.
Bad
- It works only with EVM chains and is tied to frontend frameworks. Backends and scripts should use viem directly.
- Major versions (v1, v2, v3) have each brought breaking API changes and renamed hooks, and the wallet kits must catch up after each one.
- Users report wallet connector bugs, such as mobile 'connector not found' errors and mixed-up injected provider IDs.
- It adds TanStack Query and a larger bundle on top of viem.
The numbers
- npm downloads, 4 weeks
- 6.5M ×4.6 in a year
- GitHub stars
- 6.8k
- Commits, 12 months
- 309
- npm version
- 3.7.11 Nov 2026
- Versions, 12 months
- 51
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 7.9 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (wevm/wagmi), npm (wagmi), OSV and the OpenSSF Scorecard.
Blockchain libraries
- 8.9viem
- 8.2Wagmi
- 8.0Solana Kit
- 7.1Ox
- 6.9bitcoinjs-lib
- 6.7Hardhat
- 6.6ethers.js
- 6.3Solana web3.js
- 5.6thirdweb
- 1.7web3.js