stellarcade-sdk

Installation

Requirements

  • Node.js >= 22 (or a modern browser — the SDK is isomorphic apart from the Freighter connector, which needs window)

Install

npm install stellarcade-sdk
pnpm add stellarcade-sdk
yarn add stellarcade-sdk

The package ships both ESM and CJS builds plus type declarations — no extra @types package needed.

Peer setup

If you're using the Freighter connector in a browser app, you also need the Freighter extension installed by the end user; the SDK detects it at runtime via connector.isAvailable() and does not bundle it.