Getting Started

This guide walks you through:

  1. Installing the SDK
  2. Authenticating with a wallet
  3. Creating your first subscription
  4. 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.