---
title: "Off-Chain Protocol — definition | Nuri Glossary"
description: "A system that runs outside the chain and anchors to it only when needed."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/off-chain-protocol"
---

# Off-Chain Protocol

A system that runs outside the chain and anchors to it only when needed.

## Basically

You process transactions outside the main blockchain. The system regularly links its records or proofs back to that blockchain.

## Key Takeaways

- An off-chain protocol moves transaction processing away from the base layer blockchain to improve speed, reduce cost and increase throughput, while still anchoring security to the underlying chain.
- The category covers payment channels such as Lightning, statechains such as Spark, sidechains such as Liquid, rollups and federated systems such as Fedimint.
- Each approach makes different trade-offs between trustlessness, finality, privacy and complexity. Compare these trade-offs to choose the right Layer 2 solution.

## What Is an Off-Chain Protocol?

An off-chain protocol processes transactions outside the main blockchain while periodically anchoring state or proofs to the base layer. Participants conduct state transitions privately instead of recording every transaction on-chain for all network nodes to validate. Only summaries or disputes are settled on the underlying blockchain.
Bitcoin and other blockchains are intentionally constrained. Bitcoin processes roughly 7 transactions per second, with 10-minute block times and limited block space. These constraints ensure decentralisation and security, but also create bottlenecks for everyday payments. Off-chain protocols move most transaction activity away from the congested base layer while inheriting its security guarantees through periodic anchoring, fraud proofs or validity proofs.
Off-chain protocols cover many distinct architectures. Lightning channels are fully trustless, while federated sidechains exchange some trust assumptions for simplicity. All of them execute transactions quickly and cheaply off-chain, then settle securely on-chain.

## How It Works

Off-chain protocols follow a three-phase pattern despite their architectural differences. Their designs vary, but they share the same approach to execution and settlement.
The base layer acts as an arbiter of last resort, not the primary execution layer. Participants can always fall back to on-chain enforcement if a counterparty misbehaves, but they never need to under normal conditions.

## A Simplified Example

Two parties open a payment channel by locking funds in a 2-of-2 multisig on-chain, using one transaction. They exchange thousands of payments off-chain through signed updates, then broadcast a single closing transaction that reflects the final balances. The blockchain sees two transactions, while the participants exchange thousands.

## Types of Off-Chain Protocols

Off-chain protocols cover a broad design space. Each type makes different trade-offs between trust assumptions, finality speed, privacy and complexity. See the Bitcoin Layer 2 comparison for a comprehensive comparison of Bitcoin-specific approaches.

## Payment Channels (Lightning Network)

Payment channels let two parties transact unlimited times off-chain after a single on-chain funding transaction. The Lightning Network connects individual channels into a network, allowing payments to route across multiple hops using HTLCs (Hashed Time-Locked Contracts).
Lightning's security relies on a penalty mechanism. If either party broadcasts an outdated state, the counterparty can claim all channel funds using a revocation key. Lightning is therefore fully trustless, but participants or their watchtowers must stay online to monitor for fraud.

## Statechains (Spark)

Statechains transfer ownership of an entire UTXO off-chain without moving it on the blockchain. The UTXO is locked in a 2-of-2 multisig between the user and a Statechain Entity (SE). Transfers hand the user's key share to the new owner while the SE deletes the old key material.
Spark, built by Lightspark, uses FROST threshold signatures to distribute the SE key across multiple independent operators. It also introduces virtual UTXOs (vTXOs), which allow arbitrary-amount transfers instead of requiring fixed UTXO denominations. Pre-signed exit transactions ensure that users can always withdraw to the base layer unilaterally.

## Sidechains (Liquid Network)

A sidechain is an independent blockchain that runs parallel to Bitcoin with its own consensus rules. The Liquid Network uses a federation of functionaries in an 11-of-15 threshold signature scheme for block signing and BTC custody. Users "peg in" by locking BTC on the mainchain and receiving L-BTC on Liquid at a 1:1 ratio.
Liquid offers approximately 1-minute block times, Confidential Transactions that hide amounts and asset types, and native token issuance. Its security depends on the federation's honesty rather than cryptographic enforcement.

## Rollups (Optimistic and ZK)

Rollups execute transactions off-chain, batch the results and post compressed data to the base layer. Optimistic rollups assume all transactions are valid by default. They rely on a challenge period, typically 7 days, during which anyone can submit a fraud proof to dispute incorrect state transitions.
ZK rollups generate a cryptographic validity proof, either a SNARK or a STARK, that mathematically demonstrates correct execution. The base layer verifies this proof on-chain, providing immediate finality without a challenge period. On Bitcoin, projects such as Citrea are bringing this model to the ecosystem. Citrea launched its mainnet in January 2026 as Bitcoin's first production ZK rollup.

## Federated Systems (Fedimint)

Fedimint combines federated custody with David Chaum's blind signature scheme. A group of trusted guardians collectively holds Bitcoin using threshold multisig and issues ecash tokens to users in exchange for deposited BTC. Because the tokens are blinded, guardians cannot link transactions to users, providing strong privacy.
Fedimint users must trust the federation majority not to collude and steal funds. The model is custodial at the federation level. Its community-based trust model lets users choose their own federation, making custody a deliberate design choice rather than a limitation.

## Trust Model Comparison

Off-chain protocols differ most in their trust models. You need to know what you must trust and what happens if that trust is violated.
Protocols at the top of this table offer stronger security guarantees but tend to be more complex. Protocols at the bottom exchange some trust for simplicity, privacy or other features. Your choice depends on the use case. A high-value settlement might demand the trustless guarantees of a payment channel, while a community savings group might prefer the privacy of a Fedimint.

## Why Off-Chain Protocols Matter

Off-chain protocols are essential because the blockchain trilemma means no single layer can simultaneously optimise for decentralisation, security and scalability. Base layers such as Bitcoin prioritise security and decentralisation. Off-chain protocols add scalability on top.
Off-chain protocols matter for several practical reasons. You can see their effects in payments, transfers and applications built on Bitcoin.
Builders can use off-chain protocols such as Spark to build payment applications, stablecoin transfers and financial products on Bitcoin without base-layer constraints creating a bottleneck. Second-layer scaling continues to evolve rapidly as new approaches emerge.

## Everyday Payments

Buying coffee with Bitcoin is impractical on-chain because the transaction fee might exceed the coffee's price and waiting for confirmations is too slow. Off-chain protocols such as Lightning and Spark make micropayments viable through instant settlement and minimal or zero fees.

## Cross-Border Transfers

Traditional cross-border payments through correspondent banking take days and charge significant fees. Off-chain protocols enable near-instant, low-cost international transfers, particularly when combined with stablecoins to eliminate exchange rate volatility.

## Stablecoin Infrastructure

Off-chain protocols are becoming the preferred rails for dollar stablecoins. Spark, for instance, supports native stablecoin issuance and transfer on Bitcoin. You can make dollar-denominated payments without touching the base layer for each transaction.

## Tokenization and Asset Issuance

Sidechains such as Liquid support native token issuance, allowing securities, bonds and other real-world assets to be tokenised on a Bitcoin-anchored chain. Lightning's Taproot Assets protocol similarly enables asset issuance at the channel level.

## Liveness Requirements

Many off-chain protocols require participants or their delegates to remain online to protect against fraud. Lightning users need watchtowers to monitor for revoked state broadcasts, while statechain users rely on decrementing timelocks that create a finite window to exit. Going offline for too long can result in lost funds if a counterparty submits an outdated state.

## Liquidity Constraints

Payment channels require pre-funded capacity, so you cannot receive more than your inbound liquidity allows. This creates capital efficiency challenges and requires services such as liquidity service providers and channel management tools like splicing and Loop.

## Trust Spectrum

Not all off-chain protocols are equally trustless. Federated sidechains and mints require you to trust a majority of federation members. Even more trust-minimised designs have nuances. Statechains assume the SE honestly deletes old key material, and optimistic rollups assume at least one honest verifier will submit fraud proofs during the challenge window. You should understand exactly what you are trusting in any off-chain system.

## Complexity and Interoperability

Each off-chain protocol has its own state management, dispute resolution and exit mechanisms. Moving assets between different off-chain systems often requires atomic swaps or submarine swaps, adding complexity. The ecosystem is still working towards interoperability between different Layer 2 solutions.

## On-Chain Fallback Costs

Off-chain protocols can make dispute settlement expensive, especially during periods of high fee market congestion. A force-close on Lightning or a unilateral exit from a statechain consumes block space and incurs mining fees. Their security guarantees are therefore ultimately bounded by the cost of on-chain enforcement.
Nuri provides this glossary entry for informational purposes only. It 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.
