No description
  • Rust 84.2%
  • Kotlin 4.3%
  • Dart 3.5%
  • Swift 2.5%
  • JavaScript 1.7%
  • Other 3.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ross Savage aa070e7d76
Recover from a stale wallet UTXO cache (#1103)
* Recover from a stale wallet UTXO cache

* Address review feedback

* Address review feedback

* Rework cache repair

* Add drain tests
2026-08-04 09:43:23 +00:00
.githooks Fix clippy test issues (#850) 2025-04-03 10:21:27 +00:00
.github ci: publish: fix react native and swift (#1082) 2026-03-11 17:40:05 +01:00
cli Upgrade dependencies: lwk 0.18.0 and boltz-client 0.4.0 (#1099) 2026-06-16 23:49:12 +01:00
lib Recover from a stale wallet UTXO cache (#1103) 2026-08-04 09:43:23 +00:00
packages Upgrade dependencies: lwk 0.18.0 and boltz-client 0.4.0 (#1099) 2026-06-16 23:49:12 +01:00
regtest Upgrade dependencies: lwk 0.18.0 and boltz-client 0.4.0 (#1099) 2026-06-16 23:49:12 +01:00
.gitignore Attempt UTXO selection when building a wallet tx (#874) 2026-04-15 09:20:09 +00:00
.gitmodules regtest: wasm+chain swaps: fix test flakiness (#1094) 2026-05-13 14:06:40 +02:00
CONTRIBUTING.md feat!: migrate Flutter bindings to Cargokit (#1012) 2025-09-25 23:25:08 +03:00
DEVELOPMENT.md feat!: migrate Flutter bindings to Cargokit (#1012) 2025-09-25 23:25:08 +03:00
jitpack.yml Publish CI fixes (#289) 2024-06-18 09:34:47 +02:00
LICENSE Add license 2024-04-29 21:49:52 +02:00
Makefile feat: add NWC plugin (#920) 2025-10-23 09:58:17 +02:00
README.md Clarify Breez SDK support for bitcoin and stablecoins 2026-08-03 14:39:40 -04:00
rust-toolchain.toml Fix clippy lints from newer toolchain (#1104) 2026-08-03 20:32:58 +00:00

Notice for Builders
For new partners looking to add instant, non-custodial bitcoin and stablecoins to their apps or services, we recommend building with the Breez SDK - Spark. For existing partners building with the Breez SDK - Liquid, we recommend moving to the Spark implementation ASAP.

Breez SDK - Liquid

Overview

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

Its a nodeless integration that offers a non-custodial, end-to-end solution for integrating bitcoin, utilizing the Liquid Network & Lightning, with on-chain interoperability and third-party fiat on-ramps. Using the SDK you'll be able to:

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

Key Features

  • Send and receive Lightning payments
  • Send and receive on-chain transactions
  • Complete LNURL & BOLT12 functionality
  • USDT and multi-asset support on Liquid
  • Lightning address & BIP353 support
  • Multi-app support
  • Multi-device support
  • Real-time state backup
  • WebAssembly support
  • Keys are only held by users
  • Built-in fiat on-ramp
  • Free open-source solution

Getting Started

Head over to the Breez SDK - Liquid documentation to start implementing Lightning 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 - Liquid cli is a command line client that allows you to interact with and test the functionality of the SDK.

Support

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

How does the Breez SDK - Liquid work?

The Breez SDK - Liquid uses submarine swaps and reverse submarine swaps to send and receive payments, enabling funds to move frictionlessly between the Lightning Network and the Liquid sidechain.

Breez SDK - Liquid

When sending a payment the SDK performs a submarine swap, converting L-BTC from a users Liquid wallet into sats on the Lightning Network, and sends them to the recipient.

When receiving a payment, the SDK performs a reverse submarine swap, converting incoming sats into L-BTC, and then deposits them in the users Liquid wallet.

Build & Test

  • cli: Contains the Rust command line interface client for the SDK - Liquid.
  • lib: Contains the root Rust cargo workspace.
    • bindings: The ffi bindings for Kotlin, Python, React Native, and Swift.
    • core: The core SDK - Liquid rust library.
  • packages: Contains the plugin packages for Flutter & React Native.

Within each sub-project readme, there are instructions on how to build, test, and run.

Contributing

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

SDK Development Roadmap

  • Send/Receive Lightning payments
  • CLI Interface
  • Foreign languages bindings
  • Export/Import SDK data
  • Pay BTC on-chain
  • Receive via on-chain address
  • LNURL-Pay
  • LNURL-Withdraw
  • Send to a Lightning address
  • Receive via Lightning address
  • Webhook for receiving payments
  • Offline receive via notifications
  • Offline swaps via notifications
  • Real-time sync
  • External input parsers
  • Bolt12 send
  • BIP353 pay codes
  • Amountless BTC swaps
  • Support USDT and other Liquid assets
  • Pay fees with USDT
  • Lower minimum payment amount
  • WebAssembly
  • Bolt12 receive
  • Add fees via a dedicated portal
  • USDT <-> LBTC swaps
  • NWC
  • WebLN