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

unich-connectors

v0.1.1

Published

A unified wallet connector for EVM and Solana chains with mobile-first design

Readme

Unich Connectors

A unified blockchain wallet connector library for EVM and Solana chains with mobile-first design.

Overview

Unich Connectors simplifies blockchain wallet integration with a consistent interface for connecting to EVM and Solana chains. Built with React and TypeScript, it handles the complexities of wallet interactions, state management, and error handling.

Key Features

  • Multi-chain Support: EVM and Solana chains with a unified API
  • Mobile-first Design: Deep linking and responsive behavior for mobile devices
  • State Management: Persistent connection state with Zustand
  • Error Handling: Structured error system with recovery options
  • Type-safe: Full TypeScript support
  • Provider Integration: Built on top of Wagmi and Solana Wallet Adapter

Installation

npm install unich-connectors

Peer Dependencies

This package has several peer dependencies that need to be installed in your host application:

npm install @solana/wallet-adapter-phantom @solana/wallet-adapter-solflare @tabler/icons-react @tanstack/react-query react react-dom

Development Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Install peer dependencies for development:
npm run install-peers
  1. Start development build with watch mode:
npm run dev

Quick Start

import { WalletProvider, useWalletContext } from 'unich-connectors';

function App() {
  return (
    <WalletProvider>
      <MyDApp />
    </WalletProvider>
  );
}

function ConnectButton() {
  const { connect, disconnect, isConnected, account } = useWalletContext();
  
  return (
    <button onClick={isConnected ? disconnect : () => connect('metamask')}>
      {isConnected ? `Disconnect ${account.slice(0, 6)}...` : 'Connect'}
    </button>
  );
}

Documentation

Supported Wallets

EVM

  • MetaMask
  • Coinbase Wallet
  • WalletConnect
  • Trust Wallet
  • OKX Wallet
  • Brave Wallet

Solana

  • Phantom
  • Solflare
  • Backpack
  • Coin98

Troubleshooting

Module not found errors

If you encounter "module not found" errors in your host application:

  1. Make sure all peer dependencies are installed in your host application
  2. Try running npm run install-peers in this package if developing locally
  3. Check that your bundler is correctly configured to handle the dependencies

License

MIT


Developed by Unich Labs