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

signer-test-sdk-react

v0.0.22

Published

React SDK for Abstraxn Wallet - React components, hooks, and providers for seamless Web3 wallet integration

Readme

@abstraxn/signer-react

React SDK for Abstraxn Wallet - React components, hooks, and providers for seamless Web3 wallet integration.

This package provides React-specific components and hooks that use @abstraxn/signer-core under the hood.

📦 Installation

npm install @abstraxn/signer-react

Requirements:

  • React 18.0.0 or higher (supports both React 18 and React 19)
  • Node.js 16.0.0 or higher
  • @abstraxn/signer-core (installed automatically as a dependency)

🚀 Quick Start

1. Wrap Your App with AbstraxnProvider

import { AbstraxnProvider, type AbstraxnProviderConfig } from '@abstraxn/signer-react';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';

const providerConfig: AbstraxnProviderConfig = {
  apiKey: 'your-api-key-here',
};

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <AbstraxnProvider config={providerConfig}>
      <App />
    </AbstraxnProvider>
  </StrictMode>,
);

2. Use the ConnectButton Component

import { ConnectButton } from "@abstraxn/signer-react";

function App() {
  return (
    <div>
      <ConnectButton
        connectText="Connect Wallet"
        connectedText="Connected"
        showAddress={true}
      />
    </div>
  );
}

3. Or Use Hooks for Custom Integration

import { useAbstraxnWallet } from "@abstraxn/signer-react";

function HookConnectButton() {
  const { showOnboarding, loading } = useAbstraxnWallet();

  return (
    <button
      onClick={showOnboarding}
      disabled={loading}
      className="demo-connect-button"
    >
      {loading ? 'Connecting...' : 'Connect via Hook'}
    </button>
  );
}

✨ Features

  • 🔐 Multiple Auth Methods: Email OTP, Social login (Google, Discord, X), Passkey, External wallets
  • 💼 Wallet Management: Connect, disconnect, view wallet info, export wallets
  • 🎨 Beautiful UI Components: Pre-built ConnectButton, WalletModal, and OnboardingUI
  • 🌓 Theme Support: Light and dark themes
  • 🔄 Auto-Reconnect: Automatic session restoration
  • 📱 Responsive Design: Works on all devices
  • TypeScript: Full TypeScript support
  • 🌐 Multi-Chain: Support for multiple blockchain networks

📚 Components

  • AbstraxnProvider - Context provider
  • ConnectButton - Ready-to-use connect button
  • WalletModal - Wallet management modal
  • OnboardingUI - Authentication UI component

🪝 Hooks

  • useAbstraxnWallet() - Main wallet hook
  • useIsConnected() - Check connection status
  • useAddress() - Get wallet address
  • useWhoami() - Get user information
  • useExternalWalletInfo() - External wallet information
  • usePrepareTransaction() - Prepare and sign transactions
  • useExportWallet() - Export wallet

🔗 Related Packages

  • @abstraxn/signer-core - Core SDK (dependency)
  • @abstraxn/signer - Backward compatible wrapper (deprecated)

📝 License

MIT