The "two way peg" metaphor is from the original sidechain discussion.

a sidechain is a blockchain where new tokens are created only when on the parent blockchain tokens get locked.

These tokens locked on the base layer can then only be spend, if the second layer tokens have been destroyed.

To some extend this is a money warehouse with transferable notes of deposit.

However the crucial idea originally was that this pay out mechanism is a smart contract, enforced by all Bitcoin nodes and not reliant on a set of trusted entities. This turns out to be not trivial at all, Liquid uses 11-of-15 trusted multisig signers, and even bitVM isn't perfectly trustless, but it's the latest massive improvement to the concept.

Reply to this note

Please Login to reply.

Discussion

I guess I just see lightning, especially after the implementation of BOLT12 to be the most naturally scaling Layer 2 solution.

No token obfuscation,

HTLC to lock up BTC,

revocation secrets keep everyone honest,

Scales up and down as the financial flows call for it,

Better anonymity than a separate traceable block chain,

And most widely used now.

Sidechains, drivechains, and minted ecash seem interesting and have their use cases but if we are talking instant P2P transactions, with very low risk of ever getting rugged by a channel partner or fees bidding up on another chain, Lightning seems first in best dressed. I will say pathing needs some developer love but, that is the only gripe I've ever had with it.

Thats true, lightning is very impressive compared to alternatives.