Breez.Sdk.Spark 0.13.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Breez.Sdk.Spark --version 0.13.1
                    
NuGet\Install-Package Breez.Sdk.Spark -Version 0.13.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Breez.Sdk.Spark" Version="0.13.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Breez.Sdk.Spark" Version="0.13.1" />
                    
Directory.Packages.props
<PackageReference Include="Breez.Sdk.Spark" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Breez.Sdk.Spark --version 0.13.1
                    
#r "nuget: Breez.Sdk.Spark, 0.13.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Breez.Sdk.Spark@0.13.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Breez.Sdk.Spark&version=0.13.1
                    
Install as a Cake Addin
#tool nuget:?package=Breez.Sdk.Spark&version=0.13.1
                    
Install as a Cake Tool

Breez SDK - Spark

Overview

The Breez SDK provides developers with an end-to-end solution for integrating instant, non-custodial bitcoin 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.

The Breez SDK is free for developers.

What is the Breez SDK - Spark?

It’s a nodeless integration that offers a non-custodial, end-to-end solution for integrating bitcoin, utilizing the Bitcoin-native Layer 2 Lightning & Spark, with on-chain interoperability. Using the Breez SDK, you’ll be able to:

  • Send payments via various protocols such as: Lightning address, LNURL-Pay, Bolt11, BTC address, Spark address
  • Receive payments via various protocols such as: Lightning address, LNURL-Pay, Bolt11, BTC address

Key Features

  • Send and receive Lightning payments
  • Send and receive via LNURL-pay & Lightning addresses
  • Send and receive Spark payments (BTC)
  • Passkey login for seedless experience
  • Issue, send and receive Spark tokens (BTKN)
  • On-chain interoperability
  • Convert Spark tokens (BTKN) to bitcoin and vice versa
  • Bindings to all popular languages & frameworks
  • Keys are only held by users
  • Multi-app & multi-device support via real-time sync service
  • Payments persistency including restore support
  • Automatic claims
  • WebAssembly support
  • Free open-source solution

Getting Started

Head over to the Breez SDK documentation to start implementing bitcoin in your app.

You'll need an API key to use the Breez SDK. To request an API key is free - you just need to complete this simple form.

API

API documentation is here.

Command Line

The Breez SDK - Spark cli is a command line client that allows you to interact with and test the functionality of the SDK.

Demo

Looking for a quick way to try the Breez SDK in the browser or as PWA? Check out our demo app Glow:

Note: The demo is for demonstration purposes only and not intended for production use.

Example Apps

The repository includes full working CLI example apps for every supported language, demonstrating end-to-end SDK usage.

Language CLI Example App
Rust crates/breez-sdk/cli
JavaScript/TypeScript cli/langs/wasm, glow-web
Swift cli/langs/swift
Kotlin cli/langs/kotlin-multiplatform
Flutter/Dart cli/langs/flutter
Python cli/langs/python
Go cli/langs/golang
React Native cli/langs/react-native
C# cli/langs/csharp

Support

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

How does the Breez SDK - Spark work?

The Breez SDK uses Spark, a Bitcoin-native Layer 2 built on a shared signing protocol, to enable real-time, low-fee, self-custodial payments.

When sending a payment, Spark delegates the transfer of on-chain bitcoin to the recipient through a multi-signature process. Spark Operators help facilitate the transfer, but they cannot move funds without the user. This allows the payment to settle almost instantly, without requiring a blockchain confirmation.

When receiving a payment, the same process works in reverse: the network updates ownership of the bitcoin to the user through the shared signing system, recording the change off-chain while always keeping the funds secure.

Unlike blockchains, rollups, or smart contracts, Spark doesn’t create a new ledger or require trust in external consensus. On Bitcoin’s main chain, Spark transactions appear as a series of multi-sig wallets. Off-chain, Spark keeps a lightweight record of balances and history.

Funds are non-custodial: you can exit Spark at any time and reclaim your bitcoin directly on the Bitcoin main chain.

Build & Test

  • crates: Contains the root Rust cargo workspace.
    • breez-sdk: Collection of Breez SDK crates.
      • bindings: The FFI bindings for Go, Kotlin, Python, React Native, and Swift.
      • cli: Contains the Rust command line interface client for the SDK.
      • common: The common Breez SDK Rust library.
      • core: The core Breez SDK Rust library.
      • wasm: The Wasm interface bindings.
    • spark: The Spark crate.
  • packages: Contains the packages for Flutter, React Native and Wasm.

Contributing

Contributions are always welcome. Please read our contribution guide to get started.

SDK Development Roadmap

  • Send/Receive Lightning payments
  • Send/Receive Spark payments
  • Send/Receive via on-chain addresses
  • CLI Interface
  • Go, C#, React Native, Python, JS, Flutter, Kotlin & Swift languages bindings
  • WebAssembly support
  • Send via LNURL-Pay
  • Send to a Lightning address
  • Payments persistency including restore support
  • Automatic on-chain claims
  • Receive via LNURL-Pay w/ offline & Lightning address support
  • Full support (issue, send & receive) for Spark tokens (BTKN)
  • LNURL-Withdraw
  • Sign and verify arbitrary messages
  • Real-time sync
  • External input parsers
  • External signer
  • LNURL-Auth
  • Fiat on-ramp
  • BTC <> USDB swaps
  • Hodl invoice support
  • Passkey login for seedless experience
  • Contacts management
  • Stable balance
  • USDT send support
  • USDC send support
  • USDT receive support
  • USDC receive support
  • NWC
  • Bolt12
  • Add additional fees via a dedicated portal
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.13.2-dev2 22 4/17/2026
0.13.2-dev1 39 4/16/2026
0.13.1 90 4/13/2026
0.13.0 83 4/13/2026
0.12.3 90 4/13/2026
0.12.3-dev1 84 4/10/2026
0.12.2 105 4/2/2026
0.12.2-dev4 83 4/1/2026
0.12.2-dev3 85 3/31/2026
0.12.2-dev2 171 3/28/2026
0.12.2-dev1 82 3/20/2026
0.12.1 93 3/17/2026
0.11.0 88 3/13/2026
0.11.0-dev2 85 3/6/2026
0.11.0-dev1 89 3/5/2026
0.10.0 99 2/25/2026
0.9.1 100 2/22/2026
0.9.0 95 2/20/2026
0.8.2 101 2/16/2026
0.7.21 94 2/14/2026
Loading failed