# @privy-io/wagmi

> Wagmi bindings for the react client

Latest version **4.0.20** (published 2026-11-03) · 0 weekly downloads

## Install

```sh
npm install @privy-io/wagmi
pnpm add @privy-io/wagmi
yarn add @privy-io/wagmi
bun add @privy-io/wagmi
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.20 |
| Published | 2026-11-03 |
| First published | 2024-02-14 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 49.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | privy.io |
| Maintainers | payton-privy, sternhenri, asta-li, ahollenbach, ankushswar1, joshnaviprivy, ajin-privy, andrewprivyadmin |
| Keywords | privy, wagmi |

## Links

- npm: https://www.npmjs.com/package/@privy-io/wagmi
- Homepage: https://docs.privy.io
- Issues: https://privy.io/slack
- npm.io page: https://npm.io/package/@privy-io/wagmi

## Recent versions

- 4.0.20 (latest) — 2026-11-03
- 4.0.17-beta-20260828180615 (beta) — 2026-08-28
- 4.0.13-snapshot-20260618180820 (snapshot) — 2026-06-18
- 4.0.19 — 2026-10-13
- 4.0.18 — 2026-10-02
- 4.0.17 — 2026-08-31
- 4.0.17-beta-20260827192706 — 2026-08-27
- 4.0.17-beta-20260826194301 — 2026-08-26
- 4.0.16 — 2026-08-05
- 4.0.15 — 2026-07-23
- 4.0.14 — 2026-07-02
- 4.0.13 — 2026-06-18
- 4.0.12 — 2026-06-13
- 4.0.11 — 2026-06-03
- 4.0.11-snapshot-20260602144559 — 2026-06-02
- … 179 more at https://npm.io/package/@privy-io/wagmi/versions

## README

# @privy-io/wagmi

`wagmi` bindings for the `@privy-io/react-auth` library.

## Installation

```sh
pnpm install -S @privy-io/wagmi
```

## Setup

### Configuration

```ts
import {http} from 'wagmi';
import {mainnet} from 'wagmi/chains';

import {createConfig} from '@privy-io/wagmi';

export const config = createConfig({
  chains: [mainnet],
  transports: {
    [mainnet.id]: http(),
  },
});

declare module 'wagmi' {
  interface Register {
    config: typeof config;
  }
}
```

### Providers

```tsx
import {QueryClient, QueryClientProvider} from '@tanstack/react-query';
import {type ReactNode} from 'react';

import {PrivyProvider} from '@privy-io/react-auth';
import {WagmiProvider} from '@privy-io/wagmi';

import config from './config';

const queryClient = new QueryClient();

export const Providers = ({children}: {children: ReactNode}) => (
  <PrivyProvider appId="<your-app-id">
    <QueryClientProvider client={queryClient}>
      <WagmiProvider config={config}>{children}</WagmiProvider>
    </QueryClientProvider>
  </PrivyProvider>
);
```

## Usage

Use `wagmi` as you normally would!

## Changelog

Our [changelog](https://docs.privy.io/reference/sdk/wagmi/changelog) contains the latest information about new releases, including features, fixes, and upcoming changes.

We use [Semantic Versioning](https://semver.org/) to track changes.

---
_Source: https://npm.io/package/@privy-io/wagmi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
