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

@kemal1212/kemal

v1.0.0

Published

kemal

Downloads

3

Readme

Multi-Chain Wallet Development Kit

A comprehensive, AI-enhanced SDK for building secure, non-custodial wallets with unified blockchain access.

Features

🔗 Multi-Chain Support

  • Ethereum, Polygon, Arbitrum
  • Bitcoin
  • TON Network
  • Extensible architecture for new chains

🤖 AI-Powered Features

  • Transaction risk analysis
  • Gas fee optimization
  • Cross-chain route suggestions
  • Portfolio insights and recommendations
  • Suspicious activity detection

🔐 Security First

  • Non-custodial design
  • Stateless architecture
  • Hardware wallet support
  • Secure key derivation

Installation

npm install @tether/multi-chain-wallet-sdk

Quick Start

import { WalletSDK } from '@tether/multi-chain-wallet-sdk';

// Initialize SDK
const sdk = new WalletSDK({
  aiEnabled: true,
  networks: ['ethereum', 'polygon', 'bitcoin'],
  apiKeys: {
    ethereum: 'your-infura-key',
    polygon: 'your-polygon-key'
  }
});

// Create a new wallet
const { mnemonic, accounts } = await sdk.createWallet();
console.log('Wallet created:', mnemonic);
console.log('Accounts:', accounts);

// Get balances across all chains
const ethAccount = accounts.find(acc => acc.chain === 'ethereum');
const balances = await sdk.getAllBalances(ethAccount.address);
console.log('Balances:', balances);

// AI-powered transaction analysis
const transaction = {
  from: ethAccount.address,
  to: '0x742d35Cc6634C0532925a3b8D8b3f8B2C3F5C8D1',
  value: '1.5',
  chain: 'ethereum'
};

const analysis = await sdk.analyzeTransaction(transaction);
console.log('AI Analysis:', analysis);

// Send transaction
if (analysis.risk === 'low') {
  const txHash = await sdk.sendTransaction(transaction);
  console.log('Transaction sent:', txHash);
}

API Reference

Core Methods

createWallet(mnemonic?: string)

Creates a new wallet with accounts for all supported chains.

importWallet(mnemonic: string)

Imports an existing wallet from mnemonic phrase.

getBalance(address: string, chain: SupportedChain)

Gets the native token balance for a specific address and chain.

sendTransaction(transaction: Transaction)

Sends a transaction with AI-powered risk analysis.

AI Features

analyzeTransaction(transaction: Transaction)

Performs comprehensive risk analysis on a transaction.

predictGasFees(chain: SupportedChain)

Predicts optimal gas fees based on network conditions.

suggestOptimalRoute(fromChain, toChain, amount)

Suggests the best cross-chain route for token transfers.

generatePortfolioInsights(addresses)

Analyzes portfolio diversification and provides recommendations.

Configuration

interface WalletConfig {
  aiEnabled?: boolean;
  networks?: SupportedChain[];
  apiKeys?: {
    ethereum?: string;
    polygon?: string;
    arbitrum?: string;
    bitcoin?: string;
    ton?: string;
  };
}

Supported Chains

| Chain | Type | Status | Features | |-------|------|--------|----------| | Ethereum | EVM | ✅ | Full support with ERC-20 tokens | | Polygon | L2/EVM | ✅ | Low-fee transactions and DeFi | | Arbitrum | L2/EVM | ✅ | Optimistic rollup scaling | | Bitcoin | UTXO | ✅ | Native Bitcoin transactions | | TON | Non-EVM | ✅ | High-performance blockchain |

Examples

See the /examples directory for complete implementation examples:

  • Basic wallet operations
  • Cross-chain transfers
  • DeFi integrations
  • AI-powered features
  • React application integration

Development

# Install dependencies
npm install

# Build the SDK
npm run build

# Run tests
npm test

# Watch mode for development
npm run dev

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Add tests for your changes
  4. Ensure all tests pass
  5. Submit a pull request

License

MIT License - see LICENSE file for details.