Federated Sidechains

Understanding sidechain technology and federation models

Beginner

What are Sidechains?

A sidechain is a separate blockchain that runs in parallel to a "main" blockchain (like Bitcoin) and is connected to it through a two-way peg mechanism. This allows assets to be transferred between the chains while maintaining a cryptographic link between them.

Sidechains were proposed as a way to extend blockchain functionality without modifying the main chain, allowing for experimentation with new features, different consensus mechanisms, or specialized use cases while inheriting security from the parent chain.

The Liquid Network is an implementation of a federated sidechain for Bitcoin, where the security model is based on a federation of trusted entities rather than proof-of-work mining.

The Two-Way Peg

The two-way peg is the mechanism that allows assets to move between the main chain and the sidechain. In Liquid, this enables Bitcoin to be transferred to the Liquid Network (becoming L-BTC) and back again.

Peg-in (Bitcoin → Liquid)

When a user wants to move Bitcoin to Liquid, they send BTC to a special federation-controlled multisignature address. Once confirmed, the federation creates an equivalent amount of L-BTC on the Liquid sidechain and sends it to the user's Liquid address.

  1. User creates a Liquid address for receiving L-BTC
  2. User requests a federation-controlled Bitcoin address
  3. User sends BTC to this federation address
  4. After Bitcoin confirmation, federation creates equivalent L-BTC
  5. L-BTC is sent to the user's Liquid address
Peg-out (Liquid → Bitcoin)

To convert L-BTC back to BTC, users initiate a peg-out transaction on Liquid. After verification, the federation releases the equivalent amount of BTC from its reserve to the user's Bitcoin address.

  1. User initiates a peg-out transaction on Liquid
  2. User specifies their Bitcoin address for receiving BTC
  3. Transaction is verified by the federation
  4. Federation burns the L-BTC from circulation
  5. Federation releases BTC to the user's specified address

Note: Currently, only federation members can initiate peg-outs directly. Regular users must go through a federation member to peg-out their L-BTC.

A Note from Satoshi

The two-way peg is critical for maintaining the value proposition of L-BTC. Every L-BTC in circulation is backed 1:1 by real BTC held by the federation, ensuring that L-BTC maintains its value relative to BTC.

Federation Model

The Liquid Federation is a group of cryptocurrency businesses and financial institutions that collectively manage the network. This model differs significantly from Bitcoin's trustless proof-of-work consensus.

Security Model

The federation secures the network through a threshold signature scheme. To sign blocks and authorize transactions, a supermajority of functionaries must provide their key shares. This distributes trust across multiple entities.

Functionaries

Functionaries are the servers operated by federation members that run the Liquid software. They hold key shares that are combined to create signatures authorizing blocks and transactions. No single functionary has a complete key.

Fault Tolerance

The federation is designed to be fault-tolerant. Even if some functionaries go offline or are compromised, the network can continue operating as long as a sufficient threshold of honest functionaries remains active.

Consensus

Liquid uses a federated consensus mechanism called Strong Federations, where block production is rotated among functionaries. Blocks are only valid when signed by the threshold number of functionaries.

Federation Members

The Liquid Federation consists of diverse members from the cryptocurrency ecosystem, including:

  • Cryptocurrency exchanges (Bitfinex, BitMEX, etc.)
  • Financial institutions focused on digital assets
  • Bitcoin infrastructure companies
  • OTC trading desks
  • Cryptocurrency service providers

These members have a vested interest in the integrity of the Liquid Network, as they use it for their operations and services. This alignment of incentives helps ensure the security and reliability of the network.

Advantages and Tradeoffs

Advantages
  • Faster block times (1 minute vs. Bitcoin's 10 minutes)
  • Predictable settlement finality
  • Energy efficiency compared to proof-of-work
  • Ability to implement features not possible on Bitcoin
  • Simplified governance model for network upgrades
Tradeoffs
  • Requires trust in the federation (vs. Bitcoin's trustlessness)
  • More centralized than Bitcoin's open mining system
  • Potential regulatory pressure on federation members
  • Peg-out restrictions for non-federation users
  • Risk of collusion among federation members

A Note from Satoshi

The federated model represents a deliberate tradeoff between the absolute decentralization of Bitcoin and the speed and feature set needed for specific use cases. It's not better or worse than Bitcoin's model—just optimized for different priorities.

Comparing Consensus Models

FeatureBitcoin (PoW)Liquid (Federation)
Block Time~10 minutes~1 minute
FinalityProbabilistic (6+ confirmations)Deterministic (2 confirmations)
Security ModelEconomic (51% attack)Trust-based (2/3 threshold)
ParticipationOpen to anyoneLimited to federation members
Energy UsageHighLow
Censorship ResistanceVery HighModerate
GovernanceHighly decentralizedFederation-driven

Liquid Fundamentals

Liquid FundamentalsFederated Sidechains
Beginner
Complete verification first