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

create-sbc-app

v0.4.5

Published

Scaffold a new SBC App Kit project with one command.

Readme

create-sbc-app

The easiest way to get started with SBC Account Abstraction. Create feature-complete applications with gasless transactions in seconds.

Quick Start

# Create a new SBC app
npx create-sbc-app my-app

# Or specify a template directly
npx create-sbc-app my-app --template react

# Navigate to your app
cd my-app

# Install dependencies
pnpm install # or npm install

# Start development server
pnpm dev # or npm run dev

CLI Options

Usage: npx create-sbc-app [project-directory] [options]

Create a new SBC App Kit project with an opinionated template

Arguments:
  project-directory        Directory to create the new app in

Options:
  -V, --version           output the version number
  -t, --template <type>   Template to use: react, react-dynamic, react-para, or react-turnkey
  -c, --chain <chain>     Chain to use: baseSepolia, base, radiusTestnet, or radius
  --api-key <apiKey>      Your SBC API key for immediate configuration
  --wallet <wallet>       Wallet integration (not yet implemented)
  -h, --help             display help for command

Examples:
  $ npx create-sbc-app my-app
  $ npx create-sbc-app my-app --template react --chain radius
  $ npx create-sbc-app my-app --template react-dynamic --chain base
  $ npx create-sbc-app my-app --template react-para --api-key your-key
  $ npx create-sbc-app my-app --template react-turnkey --chain base

Available Templates:
  - react           React + Vite template with SBC integration
  - react-dynamic   React + Vite with Dynamic wallet integration
  - react-para      React + Vite with Para wallet integration
  - react-turnkey   React + Vite + Express backend with Turnkey embedded wallets

Available Chains:
  - baseSepolia     Base Sepolia testnet (default)
  - base            Base mainnet
  - radiusTestnet   Radius testnet (react template only - not supported by Dynamic, Para, or Turnkey)
  - radius          Radius mainnet (react template only - not supported by Dynamic, Para, or Turnkey)

✨ Features

The React template includes comprehensive, production-ready examples:

🔋 Core Functionality

  • Smart Account Management - Automatic account creation and management
  • Gasless Transactions - Send ETH and interact with contracts without gas fees
  • Gas Estimation - Preview transaction costs before sending
  • Batch Transactions - Send multiple operations in a single transaction
  • Real-time Balance Tracking - Monitor account balances and transaction status
  • Error Handling - Comprehensive error messages and recovery suggestions

🎨 User Experience

  • Modern UI Design - Beautiful, responsive interfaces
  • Form Validation - Real-time address and input validation
  • Loading States - Clear feedback during operations
  • Success/Error Feedback - Visual confirmation of transaction status
  • Block Explorer Integration - Direct links to view transactions
  • Copy-to-Clipboard - Easy address and hash copying

🛠️ Developer Experience

  • TypeScript Support - Full type safety
  • Environment Configuration - Secure API key and settings management
  • Debug Logging - Comprehensive development logging
  • Hot Reload - Fast development iteration
  • Production Ready - Optimized builds and deployment preparation

🚀 Templates

React Template (Default)

Best for: Client-side applications, rapid prototyping, and production use

npx create-sbc-app my-app

Supported Chains: Base Sepolia, Base, Radius Testnet, Radius Mainnet

Features:

  • Fast development setup
  • Hot module replacement
  • Direct wallet connection (MetaMask, Coinbase, WalletConnect)
  • Built-in testing framework
  • Easy deployment to static hosts
  • Modern React patterns and hooks

React + Dynamic Template

Best for: Applications requiring embedded wallets with social logins

npx create-sbc-app my-app --template react-dynamic

Supported Chains: Base Sepolia, Base (Radius Testnet not supported)

Features:

  • Dynamic SDK integration for embedded wallets
  • Social login support (Google, Twitter, Discord, etc.)
  • Email/SMS wallet creation
  • All standard SBC features

Additional Requirements: Dynamic Environment ID from Dynamic Dashboard

React + Para Template

Best for: DeFi applications leveraging EIP-2612 permits

npx create-sbc-app my-app --template react-para

Supported Chains: Base Sepolia, Base, Radius Testnet, Radius

Features:

  • Para wallet integration
  • EIP-2612 permit signatures
  • Gasless token approvals
  • All standard SBC features

Additional Requirements: Para API Key from Para

React + Turnkey Template

Best for: Production applications requiring embedded wallets with biometric authentication and backend infrastructure

npx create-sbc-app my-app --template react-turnkey

Supported Chains: Base Sepolia, Base (Radius Testnet not supported)

Features:

  • Turnkey embedded wallet integration with passkey authentication
  • Express backend server for secure Turnkey API operations
  • Two authentication methods: biometric passkeys (Face ID/Touch ID) or wallet connection (MetaMask/Coinbase)
  • Account history and multi-account management
  • Full-stack development with dev:fullstack script
  • ERC-4337 smart accounts with gasless transactions
  • All standard SBC features

Additional Requirements:

  • Turnkey Organization ID and API Keys from Turnkey Dashboard
  • Backend deployment for production use (Railway, Render, Vercel, etc.)

Architecture:

  • Frontend: React + Vite (port 5173)
  • Backend: Express server (port 3001)
  • Runs both services concurrently with npm run dev:fullstack

📝 Configuration

Environment Variables

The template includes comprehensive environment configuration:

Required

# Your SBC API key (get from SBC dashboard)
VITE_SBC_API_KEY=your_api_key_here

# Supported chains: "baseSepolia" | "base" | "radiusTestnet" | "radius"
VITE_CHAIN="baseSepolia"

📱 UI Components

The template includes:

  • Account information display with copy functionality
  • Transaction forms with validation
  • Gas estimation interfaces
  • Success/error feedback with block explorer links
  • Responsive design with dark mode support

🚀 Development Workflow

1. Create Your App

npx create-sbc-app my-sbc-app
cd my-sbc-app

2. Set Up Environment

# Copy environment template
cp .env.template .env

# then ensure your .env has the environment variables set up

# Supported chains: "baseSepolia" | "base" | "radiusTestnet" | "radius"
VITE_CHAIN="baseSepolia"
# Custom RPC URL (optional) - e.g. get one from Alchemy at https://dashboard.alchemy.com/apps
VITE_RPC_URL=
# Get your SBC API Key at https://dashboard.stablecoin.xyz
VITE_SBC_API_KEY=

3. Start Development

npm install
npm run dev

4. Test Features

  • Connect and view your smart account
  • Try sending test transactions
  • Experiment with gas estimation
  • Test batch transactions

5. Customize and Build

  • Modify the UI to match your needs
  • Add your own smart contract interactions
  • Build for production

📚 Documentation

📄 License

MIT - Built with ❤️ by the SBC team