{"id":1287,"date":"2024-05-20T17:33:22","date_gmt":"2024-05-20T17:33:22","guid":{"rendered":"http:\/\/ci02dde3fe700026ce"},"modified":"2024-05-20T17:33:22","modified_gmt":"2024-05-20T17:33:22","slug":"bitcoin-layer2-sidechains","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/technical\/bitcoin-layer2-sidechains","title":{"rendered":"The New Wave Of Bitcoin L2s Are Sidechains"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p>I heard a lot of people say no one could define an L2 at Bitcoin Asia. The problem is that we have a definition, and most people just want to ignore it. Marketing, eh.<\/p>\n<p>\u201cBitcoin L2s\u201d are the hottest thing on the street. People are using a bunch of jargon to distract users from trust assumptions and shill Bitcoin Season 2.<\/p>\n<p>Why all the sudden energy? See, about a year ago, some teams figured out how to use Bitcoin as a data availability layer for rollups. Others have been working on improving trust assumptions related to bridges (aka two-way peg). The research has been making great progress, and a lot of projects think we\u2019ll have rollup-like blockchains in production by 2025.<\/p>\n<p>2025? Some projects claim to be on mainnet now?<\/p>\n<p>Teams have taken this energy and are prematurely promoting the modular thesis for Bitcoin scaling. Projects are launching with bridge contracts on blockchains that aren\u2019t Bitcoin, and are marketing themselves as Bitcoin L2s. Infrastructure providers amplify their message and boast that Bitcoin is back.<\/p>\n<p>But these solutions don\u2019t scale Bitcoin. They\u2019re completely independent, centralized sidechains.<\/p>\n<p>Layers they say? More like layers of trust assumptions.<\/p>\n<h2>Definitions<\/h2>\n<p>A lot of these projects are trying to adopt the modular thesis for Bitcoin scaling. This basically means that each aspect of the transaction lifecycle can be its own specialized system. Execution, transaction ordering, and data availability can all be operated by independent actors. Bitcoin will be the settlement layer at the base of it all. <\/p>\n<p>It\u2019s not a terrible thesis when you dive into it. But its current implementation on Bitcoin is a bit worse for wear.<\/p>\n<p>A lot of the new projects claim to be \u201crollups\u201d. Rollups would use Bitcoin for data availability, and post their latest state root, and enough transactions to recompute the state of the blockchain from genesis, to Bitcoin. If they want to scale Bitcoin\u2019s transaction throughput, they\u2019ll also have a <em>trust-minimized<\/em>, bridge contract where users can deposit funds to mint on the rollup.<\/p>\n<p>Dive into a few documentation sites and you\u2019ll see that none of these new projects (in production) are using Bitcoin for data availability. They want to use an alternative DA solution for performance&#8217;s sake. Meaning they want to be \u201cvalidiums\u201d or \u201coptimiums\u201d.<\/p>\n<p>These constructions are similar to rollups. They\u2019re blockchains that similarly have a bridge contract with the parent chain, but use a different system for DA. This improves performance, decreases costs, but comes with some security tradeoffs.<\/p>\n<p>In the validium design, the L1 contract would be responsible for verifying the validity proof associated with a specific state transition for settlement. After finalizing a specific state transition, the validium bridge contract is able to process withdrawals for users who want to exit the chain, including unilateral exits that users can submit themselves if the state data is available. Optimiums are similar, but they rely on a fraud proof mechanism instead of validity proofs.<\/p>\n<p>But none of the production implementations use a mechanism, on Bitcoin, that supports verifying SNARKs or fraud proofs&#8230; <\/p>\n<p>Everything is being verified on a completely different Layer 1 or their own permissioned sidechain network!<\/p>\n<p>Most of these chains are forking an Ethereum L2 SDK. They\u2019re either settling on Ethereum or some completely centralized fork of geth they scraped together.<\/p>\n<p>So there\u2019s no relationship to Bitcoin. Maybe it settles on Ethereum, uses the hottest DA layer, and has a kick-ass execution layer.<\/p>\n<p>But it\u2019s not Bitcoin.<\/p>\n<h2>So sidechains?<\/h2>\n<p>All the new Bitcoin L2s are just modular sidechains. And when I say \u201cmodular sidechain\u201d, I mean they run an alternative blockchain off of their parent blockchain for performance purposes. They also make security tradeoffs by using an alternative DA layer for improved performance.<\/p>\n<p>Their bridge with Bitcoin? Run by multi-sigs.<\/p>\n<p>So the general trust assumptions users take on are:<\/p>\n<ul>\n<li>Hope multi-sig operating the Bitcoin bridge doesn\u2019t rug them<\/li>\n<li>Hope the centralized sequencer will include and execute their transactions<\/li>\n<li>Trust the alternative DA layer to ensure data is readily made available<\/li>\n<li>Hope the centralized prover will post state transitions to the L1 contract OR hope centralized challengers will challenge malicious state transitions<\/li>\n<li>Trust the sidechain\u2019s parent chain to validate state transitions (finality)<\/li>\n<li>Trust an admin key to not upgrade the chain and steal user funds<\/li>\n<\/ul>\n<p>Using a modular Bitcoin sidechain is fine if users know they\u2019re trusting a completely centralized chain, and bridge program, to use their BTC. A couple projects are completely honest about this approach, and I\u2019ve said publicly that I\u2019m not completely against it from a go-to-market perspective.<\/p>\n<p>The problem is that the majority of teams abstract away security details and attempt to make it seem like their designs are remotely similar to modular constructions in Ethereum or other ecosystems.<\/p>\n<h2>Not all hope is gone<\/h2>\n<p>You might read this post and think the entire situation has gone to hell and is not worth exploring. Some days it might feel like that, but there\u2019s a lot of cool R&amp;D work happening around improved sidechain designs.<\/p>\n<p>Teams like <a href=\"https:\/\/x.com\/citrea_xyz\">Citrea<\/a> and <a href=\"https:\/\/x.com\/AlpenLabs\">Alpen Labs<\/a> are looking to develop rollups on top of Bitcoin. A lot of great work is being driven from the BitVM community and the <a href=\"https:\/\/x.com\/ZeroSync_\">ZeroSync<\/a> team on improving two-way peg designs and developing a SNARK verifier that works today. This work is also inspiring a number of bridging proposals from various rollup and sidechain projects.<\/p>\n<p>You can\u2019t throw the good out with the bad in these situations. It\u2019s not completely hopeless. But, all of the nonsense that we see in other ecosystems around convoluted scaling proposals, token incentives and the \u201cprogressive decentralization\u201d roadmaps?<\/p>\n<p>That\u2019s coming to Bitcoin times a hundredfold. <\/p>\n<p>So, yeah. These new chains aren\u2019t L2s.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Marketing is obscuring the true nature of Bitcoin layer 2 proposals<\/p>\n","protected":false},"author":2648,"featured_media":1288,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[59],"class_list":{"0":"post-1287","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technical","8":"tag-opinion"},"author_data":{"id":2648,"name":"Janusz","nicename":"janusz","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/584d3afdfeb401f3cadf5e4c6e0a5fafaf6a83e50c925d6a3d02229d80fe2986?s=96&d=robohash&r=g"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/default_three_layers_in_a_digital_internet_stack_2.jpg","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/1287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/2648"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=1287"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/1287\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/1288"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=1287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=1287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=1287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}