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

rk-wallet-connector

v1.0.2

Published

Create a wallet connector for your dapp

Readme

Web3 Next.js Wallet App

This is a modern Next.js application template for connecting Ethereum wallets using wagmi and RainbowKit.

Features

  • Connect Wallet: Users can connect wallets (MetaMask, Rainbow, Coinbase, etc.) using a beautiful RainbowKit modal.
  • Multi-chain Support: Supports Ethereum mainnet, Polygon, Optimism, Arbitrum, Base, and (optionally) Sepolia testnet.
  • React Query Integration: Uses React Query for efficient data fetching and caching, as required by wagmi.
  • App Router Ready: Built for Next.js App Router with full support for client/server components.
  • Customizable Navbar: Includes a top navigation bar for navigation and wallet connection.

Structure

  • src/app/layout.tsx: Global layout, includes the Providers and navigation bar.
  • src/app/WagmiProvider.tsx: Sets up all required providers (RainbowKit, wagmi, React Query) for the app.
  • src/app/page.tsx: Example home page, shows how to use wagmi hooks and display wallet info.
  • src/wagmi.ts: (If present) Can be used for custom wagmi config.

Getting Started

  1. Install dependencies:
    npm i -g rk-wallet-connector
  2. Set up WalletConnect Project ID:
    • Get a free Project ID from WalletConnect Cloud.
    • Replace the placeholder in WagmiProvider.tsx with your actual Project ID.
  3. Run the app locally:
     create-wallet-connector <project-name>
  4. Visit http://localhost:3000 and click "Connect Wallet" in the top nav bar.

Customization

  • Add more pages in src/app/ and the ConnectButton/navbar will appear automatically.
  • Customize chains, theme, or wallet options in WagmiProvider.tsx.

Tech Stack


Starter template for your next Web3 project!