Skip to content

Getting Started with SBC

SBC is a fiat-backed stablecoin issued by The Stable Coin Company (Stable Coin Inc.), redeemable 1:1 for USD, with reserves managed by Brale. This documentation covers integration, account abstraction, payment protocols, and developer tools.

The SBC platform provides complete account abstraction infrastructure 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: import.meta.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