npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

privy-wallet-kit

v0.0.10

Published

Maintenance-mode React components and hooks for Privy-connected EVM wallets.

Readme

Privy Wallet Kit

npm version npm downloads License

Privy Wallet Kit is an experimental React component and hook library for EVM wallets connected through Privy.

Maintenance mode: This project receives critical compatibility and security fixes only. No new features are planned. For new applications, prefer Privy's official React hooks and wallet UI components.

Scope

The package provides:

  • Presentational wallet components such as WalletCard, AssetList, TransferForm, TransactionHistory, and NFTGallery.
  • EVM-focused hooks for balances, ERC-20 assets, transfers, message signing, and network switching.
  • Optional fetcher interfaces for transaction history and NFT data.

The package does not include an NFT or transaction-history indexer. NFTGallery and TransactionHistory must receive data directly or use an application-provided fetcher. They never generate placeholder wallet data.

This project does not support Privy's Solana or extended-chain wallets. It also does not replace Privy's current transaction confirmation UI, gas sponsorship, or funding flows.

Installation

npm install privy-wallet-kit @privy-io/react-auth viem react react-dom

Privy setup

Wrap the application with Privy's provider. The package supports React 18 and React 19.

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

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <PrivyProvider
      appId="your-privy-app-id"
      config={{
        embeddedWallets: {
          ethereum: {
            createOnLogin: 'users-without-wallets',
          },
        },
      }}
    >
      {children}
    </PrivyProvider>
  );
}

Components and hooks

import { AssetList, NetworkSwitcher, TransferForm } from 'privy-wallet-kit';
import 'privy-wallet-kit/style.css';

export function WalletPage() {
  return (
    <div className="space-y-4">
      <NetworkSwitcher />
      <AssetList tokens={[]} />
      <TransferForm onReview={console.log} onCancel={() => undefined} />
    </div>
  );
}

For new transaction and signing flows, prefer Privy's official useSendTransaction and useSignMessage hooks. The corresponding hooks in this package are retained for existing consumers.

Indexed data

Pass already-fetched data to the presentational components:

import { NFTGallery, TransactionHistory } from 'privy-wallet-kit';

<NFTGallery nfts={nftsFromYourIndexer} />;
<TransactionHistory transactions={transactionsFromYourIndexer} />;

Or provide an indexer-backed fetcher:

import { NFTGallery, TransactionHistory } from 'privy-wallet-kit';

<NFTGallery
  fetcher={({ address, chainId }) =>
    fetch(`/api/nfts?address=${address}&chainId=${chainId}`).then((response) => response.json())
  }
/>;

<TransactionHistory
  fetcher={({ address, chainId }) =>
    fetch(`/api/transactions?address=${address}&chainId=${chainId}`).then((response) =>
      response.json(),
    )
  }
/>;

The application is responsible for indexer credentials, pagination, normalization, and chain coverage.

Support policy

  • Critical security and compatibility fixes may be accepted.
  • Feature requests and roadmap expansion are out of scope.
  • APIs remain alpha and may not cover production requirements.
  • See the Storybook for the currently documented components.

License

MIT