Skip to main content
Partner
Breez is a fully featured Lightning SDK that lets developers add self-custodial Lightning and Spark payments to their apps with almost zero lift. If you want to integrate LNURL, Lightning Addresses, or Nostr support, Breez gives you everything in one place. It also includes bindings for all major languages and frameworks, making it the easiest and most complete way to build on Lightning today. Learn more ->

Features


The SDK is written in Rust with bindings for all major languages (JS, Kotlin, Swift, Go, Python, RN, Flutter, C#). Here’s how to integrate it in your app.

Installation

npm install @breeztech/breez-sdk-spark

Quick Integration

When developing a browser application, import from @breeztech/breez-sdk-spark/web. You must initialize the WebAssembly module with await init() before making any other calls.
import init, {
  initLogging,
  defaultConfig,
  SdkBuilder,
} from "@breeztech/breez-sdk-spark/web";

// Initialise the WebAssembly module
await init();

Documentation