First Principles of the Trustless 2 Way Peg for Sidechains

Chris Stewart
1 min readJan 8, 2018

--

I am going to enumerate what I believe to be the ‘First Principles’ of a trustless 2 way peg for a sidechain. If you want to read about current proposals for pegs in sidechains please see my prior blog post.

The goal of this blog post is to create a simple reference for other sidechain developers to reason from when creating their own 2 way peg. I believe these principles hold true for anyone building a ‘trustless’ 2WP.

  1. It is trivial to transfer bitcoin into a sidechain
  2. Merkle proofs must be used for a 2 way peg (OP_WITHDRAWPROOFVERIFY or OP_MERKLEBRANCHVERIFY)
  3. Bitcoin cannot fully validate the sidechain’s consensus rules
  4. Therefore the sidechain to bitcoin peg relies heavily on game theory

Thoughts?

--

--