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

@xrpl-wallet-kit/next

v0.1.18

Published

Next.js helpers for XRPL Wallet Kit.

Readme

@xrpl-wallet-kit/next

Next.js helper exports for XRPL Wallet Kit.

This package keeps Next.js integrations pointed at the client-safe React bindings while allowing apps to depend on a Next-specific package name.

Install

npm install @xrpl-wallet-kit/next @xrpl-wallet-kit/client

Choosing a setup

Use @xrpl-wallet-kit/client for the shortest default-wallet setup. For a smaller selective build, combine @xrpl-wallet-kit/core, @xrpl-wallet-kit/react (or this package), and only the adapter packages you support. The client package includes the first-party adapter factories even when configuration enables a subset.

Client Component Usage

"use client";

import { createWalletKit } from "@xrpl-wallet-kit/client";
import { WalletKitProvider, WalletButton } from "@xrpl-wallet-kit/next";

const kit = createWalletKit({
  metadata: {
    name: "My XRPL App",
    description: "Wallet connection for My XRPL App",
    url: typeof window !== "undefined" ? window.location.origin : "https://my-xrpl-app.example",
    icons: ["https://my-xrpl-app.example/icon.png"],
  },
  network: "mainnet",
  autoReconnect: true,
  walletConnectProjectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID,
  ui: {
    accountPanel: {
      showBalance: true,
      showRecentTransactions: true,
    },
    toast: true,
  },
});

export function WalletConnectButton() {
  return (
    <WalletKitProvider manager={kit.manager}>
      <WalletButton />
    </WalletKitProvider>
  );
}

The exported WalletButton also supports host attributes and a WalletButtonHandle ref. This is useful when a Client Component needs the underlying mount element or imperative UI controller.

App Router Notes

  • Use wallet hooks and browser configuration from Client Components. Provider children remain present in server-rendered HTML.
  • @xrpl-wallet-kit/react now publishes the same client boundary; this package remains a Next-specific discoverability alias.
  • Prefix browser-exposed environment variables with NEXT_PUBLIC_.
  • Keep auth verification and private API secrets in server routes.
  • For Sign-In with XRPL, pair this package with @xrpl-wallet-kit/auth.

Related

  • @xrpl-wallet-kit/react - underlying React provider, hooks, and button
  • @xrpl-wallet-kit/client - default wallet kit factory
  • @xrpl-wallet-kit/auth - Sign-In with XRPL helpers