Getting Started
This guide walks you through:
- Installing the SDK
- Authenticating with a wallet
- Creating your first subscription
- Listening for webhooks
Requirements
- Node.js 18+
- pnpm / bun / npm
- WalletConnect or Coinbase Smart Wallet
- USDC on Base (testnet or mainnet)
Install SDK
npm install @recurrbase/sdk
Initialize Client
import { RecurrBase } from "@recurrbase/sdk";
const recurrbase = new RecurrBase({
apiKey: process.env.RECURRBASE_API_KEY,
});
ℹ️API Keys
Get your API key from the dashboard after creating an account.
Continue with Installation.