Skip to main content

Sidechains & Layer 2

Bitcoin's base layer processes ~7 transactions per second. To scale to global usage while preserving decentralization, the ecosystem uses layered solutions — each with different trust assumptions, speed, and capabilities.

For deeper coverage of individual protocols, see Protocols on Bitcoin.

The Scaling Landscape

Lightning Network

The primary L2 solution for instant Bitcoin payments.

AspectDetails
TypePayment channel network
SpeedSub-second
FeesTypically < 1 sat
TrustTrustless (requires monitoring)
CapacityLimited by channel liquidity
Best forFrequent small payments, streaming sats

How it works: Two parties lock funds in a 2-of-2 multisig on-chain, then exchange signed transactions off-chain. Payments route through multiple channels using HTLCs.

Implementations: LND, Core Lightning, Eclair, LDK

Developer entry point: LND API or LDK

Liquid Network

A federated sidechain by Blockstream.

AspectDetails
TypeFederated sidechain
Speed~1 minute blocks
FeesLow, fixed
TrustFederation of ~65 functionaries
FeaturesConfidential Transactions, Issued Assets
Best forTrading, asset issuance, privacy

How it works: BTC is pegged in via a federation-controlled multisig. Liquid BTC (L-BTC) exists on the Liquid chain with confidential amounts.

Developer entry point: Liquid Developer Docs

Fedimint

A federated custody and e-cash protocol.

AspectDetails
TypeFederated e-cash
SpeedInstant (within mint)
FeesMinimal
TrustFederation of guardians (threshold)
FeaturesChaumian e-cash, Lightning gateway
Best forCommunities, custodial wallets, privacy

How it works: A federation holds BTC and issues e-cash tokens. Users transact with unlinkable e-cash. Lightning gateways enable interoperability with the broader network.

Developer entry point: Fedimint GitHub

Ark

An emerging off-chain protocol for shared UTXO management.

AspectDetails
TypeOff-chain UTXO protocol
SpeedSeconds (within rounds)
TrustService provider + timelocks
FeaturesNo inbound liquidity needed, UTXO-based
Best forOnboarding, small payments
StatusEarly development

How it works: An Ark Service Provider (ASP) batches user transactions into periodic on-chain commitments. Users receive virtual UTXOs (vTXOs) that can be redeemed on-chain unilaterally.

Comparison

SolutionSpeedTrust ModelPrivacyCapacity
LightningInstantTrustlessMediumChannel-limited
Liquid~1 minFederationHigh (CT)Block-limited
FedimintInstantFederationHigh (e-cash)Mint-limited
ArkSecondsASP + timelockMediumRound-limited
Stacks~10 minPoX consensusLowBlock-limited

Choosing a Solution

If you need...Consider...
Instant retail paymentsLightning
Confidential tradingLiquid
Community wallet / bank-like UXFedimint
Simple onboarding for new usersArk
Smart contracts anchored to BitcoinStacks

For Developers

Regardless of which L2 you work with:

  • Understand the trust assumptions — Every L2 trades some trust for scalability
  • Plan for failure modes — Channels can close, federations can fail, timelocks expire
  • Test with real Lightning — Use testnet or signet for realistic Lightning testing
  • Consider UX — Users shouldn't need to understand the underlying protocol