Wednesday, August 26, 2026

Bitcoin Layer 2: Sidechains

Published:

[ad_1]

Bitcoin Magazine

Bitcoin Layer 2: Sidechains

The unique idea of a Bitcoin sidechain was proposed by Adam Back, Matt Corallo, Luke Dashjr, Mark Friedenbach, Gregory Maxwell, Andrew Miller, Andrew Poelstra, Jorge Timón, and Pieter Wuille, who all went on to discovered Blockstream, in 2014. 

The concept was proposed to permit a more liberal growth atmosphere, where individuals could strive new concepts and applied sciences on a sidechain with out risking the safety of the important Bitcoin blockchain. 

Since then the design house of sidechains has grown rather massive. 

At the finish of the day sidechains is a very broad time period that encompasses a massive vary of very numerous and totally different techniques. They can be as diverse and arbitrary as the complete ecosystem of altcoins and other blockchains can be. That is after all what they are, other blockchain techniques. 

Regardless of the particular designs of any given sidechain, they have two main parts: a peg, and a consensus mechanism and guidelines. The peg capabilities as the automobile for “locking” and “unlocking” cash on the mainchain to transfer them back and forth between Bitcoin’s base layer and the sidechain. The consensus mechanism and guidelines are how the sidechain itself capabilities, i.e. how new blocks are created, and the guidelines for what behaviors and transactions or contracts are allowed. 

These are the needed items for a sidechain. 

The Original Proposal

The 2014 Blockstream design proposed the use of merge mining for a consensus mechanism, reusing the work from present Bitcoin miners by having sidechain blockheaders be dedicated not directly in the mainchain blockheader, and Simplified Payment Verification proofs (SPV proofs) in order to function the peg mechanism. 

To facilitate merge mining, all sidechains would assemble their blockheader as a “subheader” dedicated to in the coinbase transaction of a mainchain block. This would permit all miners to concurrently mine the mainchain as nicely as whatever sidechains they select to commit to. Any mainchain blockheader that meets a sidechain issue goal, even if it does not meet the goal for the mainchain, can be submitted to the sidechain community as a legitimate block. 

Pegging required merkle proofs exhibiting that certain transactions have been included in a block. The proposed peg mechanism could work one of two methods, utilizing symmetric SPV proofs, or uneven SPV proofs. 

The symmetric scheme would require SPV proofs of both deposits and withdrawals, with a contest interval. To deposit, customers would want to ship cash to a script on the mainchain that could only be spent by producing an SPV proof. After ready for the contest interval to elapse, the person could unlock cash on the sidechain with an SPV proof that they have deposited cash to the sidechain script on the mainchain. Any proof that a reorg with more work has occurred on the mainchain can be used to invalidate the declare transaction on the sidechain, and every sidechain person would have an incentive to produce that proof to forestall the peg from shedding 1:1 backing. 

Withdrawals would require the inverse, locking sidechain cash in a script requiring SPV proofs from the mainchain to unlock. After ready for the contest interval to elapse, the person can then unlock cash on the mainchain utilizing an SPV that they locked cash on the sidechain. 

The uneven variant does away with the want to produce SPV proofs of the mainchain for deposits by requiring sidechain nodes to also run and confirm the mainchain by consensus. This would permit for quicker and more safe deposits, but enhance the validation prices of a sidechain. 

While merge mining has been deployed for quite a few sidechains, as nicely as fully impartial altcoin networks, the SPV peg proposed in the unique paper, and the wanted consensus adjustments to Bitcoin, have never been applied or deployed. 

The Appendix – Federated Pegs & Other Designs

In the Appendix A to the unique paper, the authors proposed in lieu of (or until) the softfork needed to implement their SPV peg design the use of a federated peg. The proposal was to use a multisig of functionaries to function the peg, custodying customers cash while used on the sidechain and imposing the validity of withdrawals. This was finished with the implementation of Liquid, which also used the functionaries to signal blocks for the sidechain with cryptographic keys, and Rootstock, which made use of merged mining for sidechain consensus. 

Since the launch of these sidechains, there have been quite a few other design proposals for totally different sidechain consensus mechanisms, as nicely as totally different sidechain peg mechanisms. While many of them have been deployed, not all of them have, and none of them have really achieved any severe stage of adoption. 

Below are hyperlinks to a earlier article collection I have written trying at the totally different features of other proposed sidechain designs. While this collection is not solely full, it consists of most of the greatest proposals. 

  • Spacechains (Spacechain Use Cases)
  • Softchains
  • Drivechains
  • Federated Chains
  • Trade Offs Of Above Designs
  • Spiderchains
  • Anduro
  • This submit Bitcoin Layer 2: Sidechains first appeared on Bitcoin Magazine and is written by Shinobi.

    [ad_2]

    BlockBuzzed
    BlockBuzzedhttps://blockbuzzed.com
    Bringing you the latest trends, insights, and updates from the world of blockchain and cryptocurrency, the BlockBuzzed team is passionate about making digital assets accessible and understandable for everyone. Whether breaking news, in-depth guides, or expert analysis, our authors strive to empower readers with timely and accurate information.

    Related articles

    Recent articles