New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@privy-io/wagmi

Package Overview
Dependencies
Maintainers
8
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privy-io/wagmi

Wagmi bindings for the react client

latest
npmnpm
Version
4.0.5
Version published
Weekly downloads
46K
-3.16%
Maintainers
8
Weekly downloads
 
Created
Source

@privy-io/wagmi

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

Installation

pnpm install -S @privy-io/wagmi

Setup

Configuration

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

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 contains the latest information about new releases, including features, fixes, and upcoming changes.

We use Semantic Versioning to track changes.

Keywords

privy

FAQs

Package last updated on 11 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts