Repolode
wevm

wevm/wagmi

React and Vue hooks and TypeScript utilities for building Ethereum apps, built on top of viem.

Stars
6,773
Forks
1,462
Open issues
19
Last commit
3 days ago

What is it?

Wagmi provides reactive primitives for connecting Ethereum applications to wallets and blockchains. Its hooks cover common frontend needs such as reading account and chain state, querying balances, and sending transactions, with the state managed reactively in the UI framework.

The library is written in TypeScript and is built on top of viem, a lower-level Ethereum client library. Wagmi offers React and Vue bindings, with a framework-agnostic core package (@wagmi/core) that can be used without a UI framework.

Documentation and guides are hosted at wagmi.sh, and the project accepts contributions following its published contributing guide.

Key features

  • 01React and Vue hooks for Ethereum wallet and chain state
  • 02Framework-agnostic core package (@wagmi/core) for non-UI usage
  • 03Built on viem, a TypeScript Ethereum client library
  • 04Includes helpers for reading balances and sending transactions
  • 05Written in TypeScript

Use cases

  • Building a decentralized application (dApp) frontend in React
  • Adding wallet connection and account state to a Vue app
  • Reading on-chain data such as balances and contract state in a web UI

Topics

FAQ

What is wagmi?
React and Vue hooks and TypeScript utilities for building Ethereum apps, built on top of viem. Wagmi provides reactive primitives for connecting Ethereum applications to wallets and blockchains. Its hooks cover common frontend needs such as reading account and chain state, querying balances, and sending transactions, with the state managed reactively in the UI framework.
Is wagmi free to use? What license does it have?
wagmi is open source under the MIT license. Check the license terms before using it in commercial products.
Is wagmi still maintained?
Actively maintained. The last commit to wagmi was on Nov 4, 2026.
What can I use wagmi for?
Building a decentralized application (dApp) frontend in React Adding wallet connection and account state to a Vue app Reading on-chain data such as balances and contract state in a web UI
Where can I get wagmi?
The source code and installation instructions are on GitHub: https://github.com/wevm/wagmi

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects

A modular faucet for EVM testnets that uses proof-of-work mining, captchas, IP limits and other checks to deter bots from draining funds.

Backend & APIs#ethereum#faucet#testnet
5.7K+10 this week2.1KTypeScriptAGPL-3.0Well maintainedUpdated 3 days ago