---
title: "Breez SDK — definition | Nuri Glossary"
description: "A toolkit that lets apps offer Lightning payments while the SDK handles channels and liquidity behind the scenes."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/breez-sdk"
---

# Breez SDK

A toolkit that lets apps offer Lightning payments while the SDK handles channels and liquidity behind the scenes.

## Basically

Breez SDK lets you build apps with Bitcoin and Lightning payments. It handles the technical setup and makes sure payments can be sent and received.

## Key Takeaways

- Breez SDK is an open-source toolkit for adding non-custodial Bitcoin and Lightning payments to any app. You do not need deep Lightning expertise or custom infrastructure such as an LSP or full node.
- The SDK ships in three implementations: Greenlight (now deprecated), Liquid (nodeless, using the Liquid sidechain), and Spark (the newest, built on Lightspark's Spark Layer 2). Each has different trade-offs around privacy, settlement speed, and trust assumptions.
- Breez SDK has a Rust core and bindings for Kotlin, Swift, React Native, Flutter, Python, Go, and C#. It targets cross-platform mobile and web apps, and over 75 applications have integrated it, including wallets, neobanks, social apps, and payment processors.

## What Is Breez SDK?

Breez SDK is a free, open-source development kit created by Breez Technology. It lets you integrate instant, non-custodial Bitcoin payments into applications without managing Lightning nodes, handling channel operations, or building swap infrastructure from scratch. You use simple functions to send, receive, and manage payments through a high-level API, while the SDK handles the protocol-level complexity underneath.
Breez Technology, founded in 2018 in Tel Aviv, was one of the earliest commercial ventures focused on Lightning and is credited with coining the term "Lightning Service Provider." The company first built the Breez wallet app, then extracted its infrastructure into a reusable SDK so any developer could embed the same capabilities. The result is an end-to-end solution covering node management, liquidity provisioning, inbound liquidity, on-chain swaps, and fiat on-ramp integrations.

## How It Works

Breez SDK has evolved through three distinct implementations. Each uses a different backend architecture while exposing a consistent developer API.

## Greenlight Implementation (Deprecated)

The original Breez SDK used Blockstream's Greenlight cloud infrastructure to host dedicated Lightning nodes for each user. Its architecture had three components.
The LSP opened a zero-conf channel to the user's Greenlight node when they needed to receive a payment, providing instant inbound capacity. The SDK used submarine swaps (similar to Loop) to convert between on-chain BTC and Lightning for on-chain interoperability. Greenlight reached its final release (v0.8.0) in May 2025 and is now deprecated.

## Liquid Implementation (Nodeless)

The Liquid implementation eliminates Lightning nodes and channels entirely. It uses the Liquid sidechain as a settlement layer, with submarine and reverse submarine swaps to bridge into Lightning.
The nodeless approach means no channel setup fees, no LSP dependency, and no channel closure delays. The Liquid sidechain also provides Confidential Transactions, hiding amounts and asset types for improved privacy. The trade-off is that Liquid is a federated sidechain with its own trust model, and block times average around one minute rather than being truly instant.

## Spark Implementation (Newest)

The most recent implementation is built on Spark, a Bitcoin-native Layer 2 developed by Lightspark. Spark uses a statechain model where users hold real Bitcoin, not wrapped tokens. It offers instant settlement and no minimum transaction amounts.
The Spark-based implementation has several key advantages. These include holding real Bitcoin, instant settlement, and no minimum transaction amounts.

## Language Support and Integration

The SDK core is written in Rust. Language bindings are generated for multiple platforms, including Kotlin, Swift, React Native, Flutter, Python, Go, and C#.
A typical integration starts with an API key from Breez. You then install the platform-specific package and initialise the SDK with a few configuration parameters. For example, you can initialise the Spark-based SDK in a Node.js environment.
The SDK handles all protocol negotiation, routing, and settlement internally. You work with straightforward send and receive functions rather than managing HTLCs, payment hashes, or channel state machines directly.

## Breez SDK vs LDK

The most common comparison is between Breez SDK and LDK (Lightning Dev Kit). Both enable Lightning integration, but they serve different developer needs. For a comprehensive comparison, see the Bitcoin Wallet SDK Comparison research article.
The wallet app lipa provides a notable example. It migrated from LDK to Breez SDK because running both a wallet client and all required services (LSP, channel state persistence, key management) proved too burdensome for a single development team.

## Mobile Wallets

Mobile wallet apps are the most common use case for embedded Lightning payments. Breez SDK handles mobile-specific challenges such as intermittent connectivity, background processing constraints, and key management. Apps like Cake Wallet (with over one million users) and Klever use the SDK to offer non-custodial Lightning alongside other assets. For deeper context on mobile wallet architecture, see the Lightning Mobile Wallets Architecture research article.

## Neobanks and Fintech Apps

Financial applications use Breez SDK to add Bitcoin payment rails without building Lightning infrastructure. Deblock, a European neobank, integrated the SDK to offer customers instant Bitcoin payments alongside traditional banking services. The SDK's built-in fiat on-ramp integrations, including Cash App and MoonPay, simplify the bridge between fiat and Bitcoin.

## Payment Processors

BTCPay Server, the open-source payment processor, integrated Breez SDK via a plugin. Merchants can accept Lightning payments without running and managing their own LND or Core Lightning node. This significantly lowers the operational burden for small businesses.

## Social and Messaging Apps

Primal, a Nostr-based social application, replaced its previous custodial Bitcoin setup with Breez SDK. Its users now have self-custodial wallets directly within the social app. Embedded wallets are growing across social platforms where users send tips, pay for content, or settle peer-to-peer transactions.

## Key Features Beyond Payments

The SDK includes several features beyond basic sending and receiving. These features simplify production deployments.

## Trust Assumptions Vary by Implementation

Each SDK backend carries different trust trade-offs. Greenlight relied on Blockstream's cloud infrastructure to host nodes, Liquid depends on the Liquid federation (a consortium of functionaries) to process transactions, and Spark uses Spark's operator model. You should understand which trust assumptions your chosen implementation introduces and communicate them clearly to users.

## Vendor Dependency

The SDK is open source under an MIT licence, but production deployments require an API key from Breez and depend on Breez-operated infrastructure for certain services. Applications would need to migrate if Breez discontinued support for an implementation, as happened with Greenlight. The deprecation of the Greenlight backend in 2025 demonstrated this risk: existing integrators had to move to either the Liquid or Spark implementation.

## Reduced Flexibility

The SDK's opinionated design trades customisation for convenience. Applications with unique requirements around routing, channel policies, or fee management may find the abstractions limiting. Teams needing fine-grained control over Lightning behaviour may be better served by LDK or direct node implementations, accepting the higher integration effort.

## Migration Between Implementations

Moving from one SDK backend to another, for example from Greenlight to Spark, is not a smooth upgrade. Each implementation manages funds differently, so migrations involve draining balances from one backend and re-depositing into another. Applications must handle this migration path carefully to avoid user confusion or temporary loss of access to funds.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
