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

shogun-sdk

v1.3.53

Published

Shogun SDK - all in one: Money Legos, One Shot, Intents SDK, UI Kit, Turnkey (Passkey/Telegram) with React, Turnkey Library

Readme

Shogun SDK

A comprehensive TypeScript SDK for cross-chain DeFi operations, token swaps, and wallet management.

Quick Start

1. Install the SDK

Choose the installation method that works for your project:

npm

npm install shogun-sdk

pnpm

pnpm add shogun-sdk

yarn

yarn add shogun-sdk

2. Use the SDK

import { LegoClient, useShogunQuote, Button } from 'shogun-sdk';

// Initialize client
const client = new LegoClient({ apiKey: 'YOUR_API_KEY' });

// Use React hooks
function MyComponent() {
  const { quote, isLoading } = useShogunQuote();
  return <Button>Swap Tokens</Button>;
}

3. Explore the Documentation

Each package has detailed documentation and examples. See the links below for specific guides.

Packages Overview

The Shogun SDK is a monorepo containing multiple specialized packages:

Core Packages

| Package | Description | Installation | |---------|-------------|--------------| | shogun-sdk | Main SDK package that re-exports all other packages | npm install shogun-sdk | | @shogun-sdk/money-legos | Core SDK for quotes, fees, balances, and cross-chain swaps | npm install @shogun-sdk/money-legos | | @shogun-sdk/intents-sdk | Cross-chain intent-based transactions (EVM ↔ Solana ↔ Sui) | npm install @shogun-sdk/intents-sdk |

React Integration

| Package | Description | Installation | |---------|-------------|--------------| | @shogun-sdk/one-shot | React hooks and context providers for swap interfaces | npm install @shogun-sdk/one-shot | | @shogun-sdk/ui-kit | React UI components built on Radix UI with Tailwind CSS | npm install @shogun-sdk/ui-kit |

Authentication & Wallet

| Package | Description | Installation | |---------|-------------|--------------| | @shogun-sdk/accounts | Turnkey wallet infrastructure integration (TypeScript) | npm install @shogun-sdk/accounts | | @shogun-sdk/accounts-react | React components for Turnkey authentication and passkeys | npm install @shogun-sdk/accounts-react |

What Each Package Does

🔧 Core Functionality

  • money-legos: The main engine for cross-chain swaps, price quotes, balance checking, and fee calculations
  • intents-sdk: Advanced intent-based transactions for complex cross-chain operations
  • shogun-sdk: Convenience package that includes everything in one install

⚛️ React Development

  • one-shot: Hooks like useShogunQuote, useTokenBalances for building swap UIs
  • ui-kit: Pre-built components like Button, Card, Modal for consistent design

🔐 Wallet & Auth

  • turnkey: Server-side wallet creation and management
  • turnkey-react: Client-side React components for login, passkeys, and authentication flows

Supported Chains

  • EVM Chains: Ethereum, Arbitrum, Optimism, Base, BSC, Bera Chain, Sonic
  • Solana: Native Solana support
  • Sui: Native Sui blockchain support

Development

# Install dependencies
pnpm install

# Build all packages
pnpm run build

# Run tests
pnpm test

# Lint code
pnpm run lint

Examples

Check out the examples directory for complete working examples:

Support

License

ISC