Skip to content

Getting Started with SBC

Stable Coin Inc (SBC) provides a complete account abstraction platform for building gasless blockchain applications. Our managed infrastructure handles the complexity of ERC-4337, so you can focus on building great user experiences.

Quick Start

Option 1: CLI (Fastest)

# Create a new app with Radius testnet
npx create-sbc-app my-app --chain radiusTestnet
cd my-app
pnpm install
pnpm dev

Option 2: Manual Setup

# Install SDK
npm install @stablecoin.xyz/react @stablecoin.xyz/core viem
// Wrap your app
import { SbcProvider, WalletButton } from '@stablecoin.xyz/react'
import { radiusTestnet } from './config/radius'
 
const config = {
  apiKey: process.env.VITE_SBC_API_KEY,
  chain: radiusTestnet
}
 
function App() {
  return (
    <SbcProvider config={config}>
      <WalletButton>Connect Wallet</WalletButton>
    </SbcProvider>
  )
}

Get your API key from dashboard.stablecoin.xyz.

What's Next?

New to SBC?

Ready to Build?

Reference