LearnBitcoin

Glossary

Peg-in

Locking BTC on the main chain to receive pegged tokens on a sidechain (e.g., Liquid's L-BTC).

A peg in the Bitcoin context is the mechanism that ties units on a sidechain (or other separate system) to BTC on mainnet at a fixed 1:1 ratio. Pegging is the process of moving BTC across that mechanism.

The two operations:

  • Peg-in: lock BTC on mainnet, receive equivalent sidechain tokens. The mainnet BTC is locked in a multisig or script controlled by the sidechain's peg infrastructure.
  • Peg-out: burn or move sidechain tokens, receive equivalent BTC on mainnet from the peg's locked reserve.

The aim is that each sidechain token can be redeemed for one BTC (1 L-BTC = 1 BTC), while it lives on a separate chain with different properties. That only holds while the peg works. On Liquid, peg-outs were halted after an exploit on September 6, 2026. As of October 10, 2026 they were still paused, and the peg wallet held about 600 BTC less than the L-BTC in circulation (see Liquid Network).

Peg architectures vary by trust model:

  • Federated peg (used by Liquid). A consortium of trusted operators controls the locked BTC via multisig; on Liquid, 15 functionaries each hold one key and 11 must sign. Peg-in is permissionless (anyone can lock BTC); peg-out requires a federation threshold to sign. On Liquid, only federation members holding a peg-out authorization key (PAK) can request a peg-out, so other users go through one of them.
  • Drivechain peg (proposed, BIP-300). Bitcoin miners vote on peg-out withdrawals over a long period. Still a draft as of October 2026.
  • SPV peg. Proposed in the 2014 sidechains paper: each chain checks compact proofs (SPV proofs) of what happened on the other, so Bitcoin itself would release the locked coins once shown they were sent back. Bitcoin's script can't check such proofs without a soft fork, so the same paper suggested a federated peg in the meantime.
  • One-way peg (proof-of-burn). BTC moves to the sidechain via verifiable destruction; there's no return path.

The peg mechanism is the trust hotspot for any sidechain. A federated peg is only as good as the federation's honesty, its operational security and the software it runs. A drivechain peg is only as good as miner alignment. Different users will value different trade-offs.

See Peg-out, Peg-Guard, Sidechain, and Liquid Network for related concepts.

Key takeaways

  • Transfers BTC from mainnet to a sidechain address
  • Federation or functionaries validate the lock, issue pegged assets
  • Enables sidechain features like faster blocks or privacy

Corrected

  • Was: The entry said sidechain tokens are economically indistinguishable from BTC, with 1 L-BTC equal to 1 BTC, without saying that this depends on the peg working.

    Now: Each sidechain token is meant to be redeemable for one BTC, but only while the peg works. On Liquid, peg-outs were halted after an exploit on September 6, 2026. As of October 10, 2026 they were still paused, and the peg wallet held about 600 BTC less than the L-BTC in circulation. Details

Sources (8)

Related terms (6)

Published . Revised . One correction logged for this page.

Edit this page on GitHub