Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@breeztech/breez-sdk-spark-react-native

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@breeztech/breez-sdk-spark-react-native

React Native bindings for the Breez SDK - Nodeless (Spark Implementation)

Source
npmnpm
Version
0.14.0
Version published
Weekly downloads
399
51.71%
Maintainers
2
Weekly downloads
 
Created
Source

Breez SDK - Spark

What is the Breez SDK?

The Breez SDK provides developers with an end-to-end solution for integrating self-custodial Lightning into their apps and services. It eliminates the need for third parties, simplifies the complexities of Bitcoin and Lightning, and enables seamless onboarding for billions of users to the future of value transfer.

What is the Breez SDK - Spark?

It’s a nodeless integration that offers a self-custodial, end-to-end solution for integrating Lightning payments, utilizing Spark with on-chain interoperability and third-party fiat on-ramps.

Installation

For React Native Apps

To install the package:

npm install @breeztech/breez-sdk-spark-react-native

For Expo Managed Workflow

To install the package in an Expo project:

npx expo install @breeztech/breez-sdk-spark-react-native

Then add the plugin to your app.json or app.config.js:

{
  "expo": {
    "plugins": [
      "@breeztech/breez-sdk-spark-react-native"
    ]
  }
}

Plugin Options

To enable Passkey support, set enablePasskey to true. This adds webcredentials:keys.breez.technology to the iOS Associated Domains entitlement:

{
  "expo": {
    "plugins": [
      ["@breeztech/breez-sdk-spark-react-native", {
        "enablePasskey": true
      }]
    ]
  }
}

After adding the plugin, rebuild your app:

npx expo prebuild
npx expo run:ios
npx expo run:android

Note: This package contains native code and requires a custom development build. It will not work with Expo Go.

Usage

Head over to the Breez SDK - Spark documentation to start implementing Lightning in your app.

import { connect, defaultConfig } from '@breeztech/breez-sdk-spark-react-native';
import RNFS from 'react-native-fs';

// ...

const mnemonic = 
  'abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about';

let config = defaultConfig(Network.Mainnet);
config.apiKey = apiKey;

const sdk = await connect({
  config,
  mnemonic,
  storageDir: `${RNFS.DocumentDirectoryPath}/breezSdkSpark`,
});

Pricing

The Breez SDK is free for developers.

Support

Have a question for the team? Join us on Telegram or email us at contact@breez.technology.

Information for Maintainers and Contributors

This repository is used to publish a NPM package providing React Native bindings to the Breez SDK - Spark's underlying Rust implementation. The React Native bindings are generated using UniFFi Bindgen React Native.

Any changes to Breez SDK - Spark, the React Native bindings, and the configuration of this React Native package must be made via the spark-sdk repository.

Keywords

react-native

FAQs

Package last updated on 10 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts