Close Menu
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Regulation
    • Market Cap
    • Web 3
    • Scam
  • Blockchain
  • NFT
  • Metaverse
  • Analysis
  • Learn
  • Blog
  • Contact
    • Tech7685@gmail.com
What's Hot

Bitcoin hits $ 101k to reclaim six digits, because Trump confirms us, UK Trade Deal

2025-05-08

Why do Democrats quietly support Trump’s controversial crypto plan?

2025-05-08

Texas a step away from creating official Bitcoin Reserve

2025-05-08
Facebook X (Twitter) Instagram
  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • BitcoinPlatform.com
Facebook X (Twitter) Instagram
Free Cryptocurrency – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Regulation
    • Market Cap
    • Web 3
    • Scam
  • Blockchain

    Solana’s software supports these Layer-1’s

    2025-05-08

    Element goes live on abstract blockchain to power the next generation of modular daps

    2025-05-08

    Camino works together with Lufthansa Systems and Swiss to stimulate innovation in the travel industry

    2025-05-08

    How Plume is planning to scale tokenized real estate to $ 4 trillion by 2035

    2025-05-08

    Hadron integrates chain analysis by Tether, represents a new standard informing tokenization

    2025-05-08
  • NFT

    Drink-to-earn? A new sparkling water comes with an NFT and points

    2025-05-08

    Cobie says we will return if someone buys this $ 20 million NFT

    2025-05-08

    Edge Matrix, Colabs Partner to strengthen NFT -Makers

    2025-05-08

    Argentinian football club Partners with StepN to launch digital sneakers

    2025-05-05

    Pudgy Penguins #6873 Leads with Top NFT -sale worth $ 360.2k

    2025-05-04
  • Metaverse

    Shib: The Metaverse – Part of the expanding Shiba Inu ecosystem

    2025-01-03

    Experience to Earn: Everdome’s Metaverse Frontier

    2024-12-30

    Beyond Bots: Meta Motivo and the Dawn of Human Digital Life

    2024-12-13

    Exploring NetVRk: What’s Behind This AI-Powered Virtual Universe?

    2024-10-28

    Council of Europe emphasizes the impact of Metaverse on privacy and democracy

    2024-09-05
  • Analysis

    Bitcoin hits $ 101k to reclaim six digits, because Trump confirms us, UK Trade Deal

    2025-05-08

    Crypto Exchange Coinbase adds Gold-Pegged Stablecoin Paxg to the list of route map

    2025-05-08

    XRP is forming bullish reverse dragon head pattern, how high can the price go?

    2025-05-08

    Bitcoin is recovering, but the market is still sharp with short -term holders near Breakeven

    2025-05-08

    Analysts say that $ 2,500,000,000,000,000 ‘avalanche’ of selling could reach the US dollar, warning trade wars threaten Greenback’s profession: report: report

    2025-05-08
  • Learn

    What Is a Layer-1 (L1) Blockchain?

    2025-05-03

    What is a Layer-2 (L2) Blockchain Network Solution?

    2025-05-02

    What Is a Layer-0 Protocol?

    2025-05-02

    What Are Utility Tokens? Types, Roles, Examples

    2025-04-17

    Real-World-Assets in Crypto, Explained

    2025-04-16
  • Blog
  • Contact
    • Tech7685@gmail.com
Free Cryptocurrency – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
Home»Blockchain»Layer 2 is not a magical incantation
Blockchain

Layer 2 is not a magical incantation

2024-02-27No Comments9 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email

A common chant from many in this space these days in response to any discussion of Bitcoin protocol changes is: “Don’t mess with Layer 1! You can just build it on Layer 2!” This seems like a very logical thing to do, right? Why risk the security and stability of L1 when you can just build on top of it? The problem is that this fundamentally misunderstands the relationship between Layer 1 and Layer 2.

An L2 protocol is an extension of the L1. Everything an L2 was designed to do must ultimately be boiled down to what the L1 is capable of. The blanket statement of “just do it on L2!” obscures numerous implicit realities of what can or cannot be done on an L2 given the current state of the base layer. For example, imagine trying to build the Lightning Network without the existence of multi-signature scripts. You couldn’t. It wouldn’t be possible to share control between more than one person, and the whole concept of a payment channel wouldn’t be possible.

The evolution of payment channels

The whole reason that payment channels can exist in the first place is due to the fact that Bitcoin’s L1 supports the ability for multiple people to share control of a UTXO with a multisig script. What is possible on an L2 is inherently limited by what is possible on an L1; yes, of course it is possible to do things on L2 that are not possible on L1, but the ultimate limiting factor of what you can do off-chain is what is possible on-chain. Faster payment confirmation in a payment channel is only possible because on-chain custody can be shared between multiple people.

But even that is not enough for a secure payment channel. The original payment channel had a pre-signed transaction using an nLocktime timeslot that gives the backer their money back after so many blocks, and only supported one-way payment channels. The feasibility of transactions made the use of these original payment channels unsafe. If the funding transaction was mishandled by anyone before it was confirmed, the refund transaction would become void and the funder would not be able to recover their money. The other party in the channel could effectively hold their money hostage.

CHECKLOCKTIMEVERIFY, the absolute timelock opcode, was the solution. CLTV allows you to make a coin unusable until a certain block height or time in the future. This, combined with the ability to create scripts that could be spent in multiple ways, allowed the multisig UTXO to have a script path where the backer could spend all the money themselves after a time slot. This guaranteed that the lender would be able to recover the money in the worst-case scenario, even if the financing transaction failed. However, the channel could still only allow one-way payments.

See also  MEV protection for BNB chain

To make two-way payments possible, a good solution for the feasibility of transactions was necessary. This was a huge motivator for Segregated Witness. A time slot is all that was needed for a one-way channel because of the money only increased in one direction. The only risk for the sender was that the other party would never claim what had already been sent to them down the chain, leaving the rest of the sender’s money trapped. The time slot refund gave both the recipient the incentive to claim money on the chain before the time slot, when they would lose all the money they had already sent, and the sender a worst-case scenario recourse in case something happen, which would cause the receiver to go offline permanently. . Script does not support enforcing certain amounts for certain future scripts, so a pre-signed transaction is the only viable initial refund mechanism if payments need to flow both ways. This reopened the risk of funds being held hostage.

This problem was resolved with the upgrade to Segwit. Instead of the time slot refund that encourages honest behavior, the penalty key was introduced. Because money in a two-way channel can flow back and forth in any direction, there will inevitably be a case where both parties had more money in a previous state of the channel than in the current one. By setting up a branch in each channel state’s pre-signed transaction using a penalty key, users can exchange it after signing the new state and know that if the other party tries to use an old transaction, they will receive 100% of the can claim money in the channel. Time slots are used to ensure that the normal spending process where users withdraw their respective balances is not valid for a while, giving channel parties the opportunity to use the penalty key if necessary. There’s a catch, though: using CLTV means the channel will air at some point in the future has to close, otherwise the time slot will expire and you will no longer have that safety period to punish the dishonest party.

Bi-directional payment channels also needed CHECKSEQUENCEVERIFY or relative time slots to solve this problem. Unlike CLTV, which specifies a specific time or block height in the future, CSV specifies a relative length of time or number of blocks from the time or block that the UTXO using CSV in the script is confirmed in the blockchain. This allowed the security window to function for the use of penalty keys without requiring channels to close the chain at a predetermined time.

See also  Nirvana Cloud debuts as a blockchain-optimized alternative to AWS and Google Cloud

However, even this doesn’t get us the Lightning Network. There’s still no way to actually route a payment across multiple payment channels. They can make payments in both directions, but only between the two people involved in the channel. To route payments across multiple channels you need, you guessed it, different functionality of the L1. Hash Time Locked Contracts are how this is achieved, and they require both CLTV and hashlocks. Hashlocks require the preimage to be provided to a hash in order to spend the coins. It’s similar to a signature, except you’re actually just revealing the “private key” instead of signing with it. This allows the recipient to provide a hashlock in a Lightning payment, and each intermediate channel between sender and recipient creates a script that allows it to be spent immediately with the hash preimage, or the money can be refunded afterwards after a timelock. If the recipient reveals the hashlock, anyone can claim the money for forwarding the payment. If not, the money can be reversed and reversed without rounding off.

The Lightning Network as it exists today is therefore completely dependent on five functionalities possible on the base layer of Bitcoin. Multisignature scripts, absolute time locks, relative time locks, Segregated Witness and hashlocks. Without any of these features on L1, Lightning as we know it wouldn’t be a possible L2 that we could build. Its existence as L2 is completely dependent on L1’s ability to do certain things. So if you were to do that, in a world with a Bitcoin that doesn’t support hashlocks, timelocks in scripts, and no manufacturability solution, just go: “Just build a bi-directional multi-hop payment channel system on Layer 2! We shouldn’t mess with Layer 1′, that would be a completely incoherent statement.

The catch

That said, strictly speaking, it would still have been possible to build that bi-directional multi-hop payment channel system in that world without those three features on L1. At one enormous costs in terms of creating trust in other people not to steal your money when they are able to do so. A federated sidechain. Anyone could have just set up a federated chain like Liquid or Rootstock and added these features to the sidechain, and built the Lightning Network there instead of on the main chain. The problem with that is that it’s not the same. On a technical level, the network would function exactly the same, but no one using it would actually have the same degree of control over their coins.

See also  Ankr is launching a partnership with Prom to build on its L2 RPC

When they closed a Lightning channel it would settle on a sidechain backed by a federation, i.e. it would just be an accounting entry on top of someone else’s multisig wallet where you have no way to move those coins onto L1 to check. You just have to trust that the distributed group running the federation isn’t screwing everyone over. Even drivechains (which ironically require new L1 functionality) are ultimately just another form of federation, with some additional restrictions added to the ingestion process. The federation consists only of miners instead of people who hold private keys.

This is the implicit reality, whether they understand it or not, that underlies the response “just build it on T2!” when someone discusses improvements to L1. There is the scope of what is already possible to build on T2, which is quite limited and limited by its own limitations of scale, and then there is the scope of what is not yet possible. Anything that falls into the latter category is impossible to build without the involvement of a trusted entity or group of entities that ultimately controls users’ money.

What’s the point?

“Layer 2” is not a magical incantation. You can’t just wave a magic wand and sing the words, and anything and everything magically becomes possible. There are strict, inescapable limitations on what an L2 can achieve, and those limitations are what the L1 can achieve. This is just an inherent fact of technical reality when we look at a system like Bitcoin. There’s no way to escape it except by lowering the trust assumptions further and further as you build a more flexible L2 that goes beyond the capabilities of L1.

So when discussions about these issues take place, such as what improvements can be made in L1, two things are of paramount importance. First, these improvements to L1 are almost entirely focused on enabling more flexible and scalable L2s. Second, L2s cannot magically make everything possible. L2s have their own limitations, based on those of the L1, and having a discussion about changes in L1 without recognizing that the only way around these limitations is to introduce familiar entities is not a fair conversation.

It’s time to acknowledge reality when we start discussing what to do with Bitcoin in the future, otherwise nothing but denial of reality and gaslighting will happen. And that is not productive.

Source link

incantation Layer magical
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Solana’s software supports these Layer-1’s

2025-05-08

Element goes live on abstract blockchain to power the next generation of modular daps

2025-05-08

Camino works together with Lufthansa Systems and Swiss to stimulate innovation in the travel industry

2025-05-08

How Plume is planning to scale tokenized real estate to $ 4 trillion by 2035

2025-05-08
Add A Comment

Comments are closed.

Top Posts

Rolling Stone calls NFTs “totally worthless,” sparking mixed reactions from the community

2023-09-21

Mapping the next move from Bitcoin: a bullish breakout or a bearish fall ahead?

2025-03-03

FET wins 53% in just 11 days – can the purpose of $ 0.75 hold?

2025-04-20
Editors Picks

Ethereum Price Skyrockets: $4,000 Target Approaches

2024-12-05

Why Hive, Aragon and Civic stand out

2025-02-20

Revival of art blocks? Collections see resurgence after Sotheby’s 3AC sale

2023-05-24

Hong Kong lawmaker quiets crypto stability concerns raised by Ethereum co-founder

2023-09-15
About
About

Our mission is to develop a community of people who try to make financially sound decisions. The website strives to educate individuals in making wise choices about Cryptocurrencies, Defi, NFT, Metaverse and more.

We're social. Connect with us:

Facebook X (Twitter) Instagram Pinterest YouTube
Top Insights

Bitcoin hits $ 101k to reclaim six digits, because Trump confirms us, UK Trade Deal

Why do Democrats quietly support Trump’s controversial crypto plan?

Texas a step away from creating official Bitcoin Reserve

Get Informed

Subscribe to Updates

Get the latest news and Update from Free.cc about Crypto, Metaverse, NFT and more.

  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • BitcoinPlatform.com
© 2025 Free.cc - All rights reserved. Contact: info@free.cc

Type above and press Enter to search. Press Esc to cancel.

  • bitcoinBitcoin(BTC)$102,792.715.85%
  • ethereumEthereum(ETH)$2,178.4120.81%
  • tetherTether USDt(USDT)$1.00-0.03%
  • rippleXRP(XRP)$2.307.94%
  • binancecoinBNB(BNB)$624.203.86%
  • solanaSolana(SOL)$160.649.11%
  • usd-coinUSDC(USDC)$1.000.00%
  • dogecoinDogecoin(DOGE)$0.19270212.19%
  • cardanoCardano(ADA)$0.7613.50%
  • tronTRON(TRX)$0.2565333.37%
  • suiSui(SUI)$4.0019.76%
  • chainlinkChainlink(LINK)$15.7214.57%
  • avalanche-2Avalanche(AVAX)$21.8212.39%
  • stellarStellar(XLM)$0.28897411.51%
  • shiba-inuShiba Inu(SHIB)$0.00001412.04%
  • bitcoin-cashBitcoin Cash(BCH)$420.9416.58%
  • hedera-hashgraphHedera(HBAR)$0.19415410.62%
  • unus-sed-leoUNUS SED LEO(LEO)$8.841.47%
  • the-open-networkToncoin(TON)$3.206.11%
  • hyperliquidHyperliquid(HYPE)$22.737.97%
  • litecoinLitecoin(LTC)$94.046.27%
  • polkadotPolkadot(DOT)$4.4212.38%
  • moneroMonero(XMR)$296.075.13%
  • daiDai(DAI)$1.000.00%
  • bitget-tokenBitget Token(BGB)$4.485.99%
  • pepePepe(PEPE)$0.00001135.49%
  • ethena-usdeEthena USDe(USDE)$1.00-0.05%
  • piPi(PI)$0.649.40%
  • bittensorBittensor(TAO)$419.4015.43%
  • uniswapUniswap(UNI)$5.8219.98%
  • aptosAptos(APT)$5.4113.75%
  • nearNEAR Protocol(NEAR)$2.6918.70%
  • okbOKB(OKB)$52.834.41%
  • aaveAave(AAVE)$202.6219.03%
  • ondo-financeOndo(ONDO)$0.9610.48%
  • ethereum-classicEthereum Classic(ETC)$18.4615.12%
  • internet-computerInternet Computer(ICP)$5.1813.59%
  • gatechain-tokenGateToken(GT)$21.914.01%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.25088615.34%
  • crypto-com-chainCronos(CRO)$0.0981577.87%
  • kaspaKaspa(KAS)$0.0981456.96%
  • mantleMantle(MNT)$0.755.17%
  • official-trumpOFFICIAL TRUMP(TRUMP)$12.4714.36%
  • render-tokenRender(RENDER)$4.6911.97%
  • vechainVeChain(VET)$0.02808013.74%
  • usd1World Liberty Financial USD(USD1)$1.000.08%
  • ethenaEthena(ENA)$0.34857731.01%
  • filecoinFilecoin(FIL)$2.9113.51%
  • algorandAlgorand(ALGO)$0.22344312.80%
  • artificial-superintelligence-allianceArtificial Superintelligence Alliance(FET)$0.7816.17%
  • bitcoinBitcoin(BTC)$102,792.715.85%
  • ethereumEthereum(ETH)$2,178.4120.81%
  • tetherTether USDt(USDT)$1.00-0.03%
  • rippleXRP(XRP)$2.307.94%
  • binancecoinBNB(BNB)$624.203.86%
  • solanaSolana(SOL)$160.649.11%
  • usd-coinUSDC(USDC)$1.000.00%
  • dogecoinDogecoin(DOGE)$0.19270212.19%
  • cardanoCardano(ADA)$0.7613.50%
  • tronTRON(TRX)$0.2565333.37%
  • suiSui(SUI)$4.0019.76%
  • chainlinkChainlink(LINK)$15.7214.57%
  • avalanche-2Avalanche(AVAX)$21.8212.39%
  • stellarStellar(XLM)$0.28897411.51%
  • shiba-inuShiba Inu(SHIB)$0.00001412.04%
  • bitcoin-cashBitcoin Cash(BCH)$420.9416.58%
  • hedera-hashgraphHedera(HBAR)$0.19415410.62%
  • unus-sed-leoUNUS SED LEO(LEO)$8.841.47%
  • the-open-networkToncoin(TON)$3.206.11%
  • hyperliquidHyperliquid(HYPE)$22.737.97%
  • litecoinLitecoin(LTC)$94.046.27%
  • polkadotPolkadot(DOT)$4.4212.38%
  • moneroMonero(XMR)$296.075.13%
  • daiDai(DAI)$1.000.00%
  • bitget-tokenBitget Token(BGB)$4.485.99%
  • pepePepe(PEPE)$0.00001135.49%
  • ethena-usdeEthena USDe(USDE)$1.00-0.05%
  • piPi(PI)$0.649.40%
  • bittensorBittensor(TAO)$419.4015.43%
  • uniswapUniswap(UNI)$5.8219.98%
  • aptosAptos(APT)$5.4113.75%
  • nearNEAR Protocol(NEAR)$2.6918.70%
  • okbOKB(OKB)$52.834.41%
  • aaveAave(AAVE)$202.6219.03%
  • ondo-financeOndo(ONDO)$0.9610.48%
  • ethereum-classicEthereum Classic(ETC)$18.4615.12%
  • internet-computerInternet Computer(ICP)$5.1813.59%
  • gatechain-tokenGateToken(GT)$21.914.01%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.25088615.34%
  • crypto-com-chainCronos(CRO)$0.0981577.87%
  • kaspaKaspa(KAS)$0.0981456.96%
  • mantleMantle(MNT)$0.755.17%
  • official-trumpOFFICIAL TRUMP(TRUMP)$12.4714.36%
  • render-tokenRender(RENDER)$4.6911.97%
  • vechainVeChain(VET)$0.02808013.74%
  • usd1World Liberty Financial USD(USD1)$1.000.08%
  • ethenaEthena(ENA)$0.34857731.01%
  • filecoinFilecoin(FIL)$2.9113.51%
  • algorandAlgorand(ALGO)$0.22344312.80%
  • artificial-superintelligence-allianceArtificial Superintelligence Alliance(FET)$0.7816.17%