Skip to main content

Requirements

  • Node.js ≥ 20 (LTS recommended)
  • @stellar/stellar-sdk is a peer dependency of @buckspay/core - install it alongside the SDK

Core package

Every Buckspay integration starts with @buckspay/core. Install it with your preferred package manager:
pnpm add @buckspay/core @stellar/stellar-sdk

Surface packages

Add the surface packages for your target platform. You only need the ones you use.

Web (browser)

pnpm add @buckspay/react @buckspay/signers @buckspay/accounts @buckspay/relayer

Mobile (React Native)

pnpm add @buckspay/react-native @buckspay/signers @buckspay/accounts @buckspay/relayer

Next.js BFF (server-side route)

pnpm add @buckspay/nextjs @buckspay/relayer

Package overview

Not sure which packages you need? See Which package do I need? for a one-line summary of each.