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

@de1/wallet

v0.1.2

Published

A multi-chain wallets manager

Downloads

514

Readme

@de1/wallet

A multi-chain wallet manager that unifies wallet connection, network switching, and signing across EVM and non-EVM ecosystems. Built for dApps that need one integration surface instead of per-wallet glue code.

Highlights

  • Unified wallet API — Connect, switch chains, and sign through a shared BaseWallet interface, regardless of the underlying provider.
  • Broad chain coverage — Ethereum and major EVM L2s, plus Solana, Tron, Cosmos / Osmosis, Aptos, Sui, Near, Starknet, Bitcoin, Ontology, Terra, and more.
  • 50+ wallet adapters — Browser extensions, mobile wallets, WalletConnect, hardware (Ledger), and domain-based login (Unstoppable Domains).
  • One-call connect flowtryWalletConnect resolves the wallet, attaches the right chain metadata, and returns a ready-to-use connection.
  • Chain & wallet registries — Built-in chainsObj / walletsObj with RPC URLs, explorers, native currency, and popular tokens for UI and network switching.
  • EIP-6963 aware — Detects injected EVM providers so multi-wallet browser setups resolve cleanly.
  • SID / domain lookup — Optional Space ID name resolution via getSidName.

Supported ecosystems

| Category | Examples | |----------|----------| | EVM | Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, Fantom, Sonic, Linea, Scroll, zkSync, Blast, Mantle, and many more | | Solana | Solana mainnet | | Cosmos | Cosmos, Osmosis, Injective, Sei | | Move | Aptos, Sui | | Other | Tron, Near, Starknet, Bitcoin, Ontology, Terra, Flow |

Supported wallets

EVM / multi-chain

MetaMask · Rabby · Coinbase Wallet · OKX Wallet · Trust Wallet · TokenPocket · Bitget · Brave · Rainbow · Zerion · Math Wallet · Coin98 · SafePal · imToken · Clover · Ctrl (XDEFI) · Crypto.com · Binance Wallet · Gnosis Safe · Ledger · WalletConnect

Solana

Phantom · Solflare

Aptos

Petra · Martian · Pontem · Fewcha · Rise

Sui

Slush · Suiet · Bifrost

Cosmos

Keplr · Compass

Other

TronLink · Cyano (Ontology) · Terra Station · MyNear / Meteor / Sender · Argent X / Braavos (Starknet) · Unisat / OKX BTC · Unstoppable Domains · ONTO

Core capabilities

| Capability | Description | |------------|-------------| | Connect | Request accounts from extension, mobile, WalletConnect, or hardware wallets | | Switch network | Align the wallet to the target chain using registry metadata (chain ID, RPC, currency) | | Sign & interact | Expose chain-specific SDKs (e.g. Web3, Solana, Near) on the connected wallet instance | | Discover | List available wallets and supported chains for connect UI | | Error codes | Structured EnumErrors for missing wallets, unsupported chains, and user cancellations |

Install

npm install @de1/wallet

Quick start

import {
  tryWalletConnect,
  EnumChains,
  EnumWalletName,
  walletsObj,
  chainsObj,
} from '@de1/wallet';

// Connect MetaMask to Ethereum
const { wallet, chain } = await tryWalletConnect({
  chainName: EnumChains.ETH,
  walletName: EnumWalletName.MetaMask,
});

console.log(wallet.address);
console.log(chain.chainName);

// Browse registries for your connect UI
const wallets = walletsObj.walletList;
const eth = chainsObj.getChainByKey('eth');

Package exports

| Export | Purpose | |--------|---------| | tryWalletConnect | Connect a wallet to a chain in one call | | walletsObj / Wallets | Wallet instances and list for UI | | chainsObj / Chains / Chain | Chain metadata and helpers | | EnumChains / EnumWalletName | Typed chain and wallet identifiers | | Individual wallet classes | Direct use when you need a specific adapter (e.g. MetaMask, Phantom) | | getSidName | Space ID / domain name lookup | | solanaWeb3 | Re-exported Solana web3 helpers |

License

ISC