Sidechains
A sidechain is a blockchain that runs parallel to the main blockchain and is attached to the main blockchain (also referred to as the main chain) using two-way peg. Similar to the state channels, sidechains are a layer 2 solution to scale the existing blockchain network.
Any number of transactions on a set of assets can be performed on the sidechain before committing the state to the main chain. Unlike the state channel, the sidechain is a permanent chain that functions alongside the main chain. Any time an asset needs to be sent to the sidechain, the same asset needs to be locked in the main chain by transferring it to a special address. Once the asset has been locked in the main chain, the same asset can be released to the sidechain. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access