Close Menu
  • Coins
    • Bitcoin
    • Ethereum
    • Altcoins
    • NFT
  • Blockchain
  • DeFi
  • Metaverse
  • Regulation
  • Other
    • Exchanges
    • ICO
    • GameFi
    • Mining
    • Legal
  • MarketCap
What's Hot

Stability World AI Joins EFIHUB to Drive Entertainment DeFi Innovation

23/08/2025

Can the OKX Giveaway Boost ETH Price to a New ATH?

23/08/2025

Bitget Launches its GetAgent AI Assistant for General Access

23/08/2025
Facebook X (Twitter) Instagram
  • Back to NBTC homepage
  • Privacy Policy
  • Contact
X (Twitter) Telegram Facebook LinkedIn RSS
NBTC News
  • Coins
    1. Bitcoin
    2. Ethereum
    3. Altcoins
    4. NFT
    5. View All

    Price Breaks All-Time High Record Again – Here’s What We Know

    04/08/2025

    Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

    04/08/2025

    Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

    04/08/2025

    High-Stakes Consolidation Could Define Q3 Trend

    04/08/2025

    Can the OKX Giveaway Boost ETH Price to a New ATH?

    23/08/2025

    Significant $20.9M Binance Transfer Sparks Interest

    23/08/2025

    $108M in Ethereum (ETH) Transferred From Robinhood: Details

    23/08/2025

    SharpLink Stock Rises, Then Falls Following $400M Deal to Boost Ethereum Treasury

    23/08/2025

    The Sui Ecosystem’s Top 3 Altcoin Performers

    29/07/2025

    Floki Launches $69000 Guerrilla Marketing Challenge With FlokiUltras3

    28/07/2025

    Crypto Beast denies role in Altcoin (ALT) crash rug pull, blames snipers

    28/07/2025

    $1.6 Billion XRP Surge: Here’s What’s Unfolding

    28/07/2025

    Defunct NFT lender Parallel Finance charges users $500 to withdraw assets

    22/08/2025

    $3.62B Already Sold in 2025

    21/08/2025

    Who Needs 280 Bitcoin Domain Names? Massive BTC Bundle Goes Up for Auction

    20/08/2025

    Texas judge backs Logan Paul’s bid to escape CryptoZoo lawsuit

    19/08/2025

    Stability World AI Joins EFIHUB to Drive Entertainment DeFi Innovation

    23/08/2025

    Can the OKX Giveaway Boost ETH Price to a New ATH?

    23/08/2025

    Bitget Launches its GetAgent AI Assistant for General Access

    23/08/2025

    US Fed Relieves Mainstream’s Fear

    23/08/2025
  • Blockchain

    Arbitrum submits proposal to build Ronin L2 as an Orbit chain

    22/08/2025

    Toyota explores blockchain to turn cars into tradable RWAs

    22/08/2025

    Blockchain native protocols get creative in crypto treasury arms race

    22/08/2025

    How To Make Blockchain Work For Real Markets

    22/08/2025

    U2DPN and Spheron Network Collaborate to Turbocharge DePIN Ecosystem

    22/08/2025
  • DeFi

    Stability World AI Joins EFIHUB to Drive Entertainment DeFi Innovation

    23/08/2025

    US Fed Relieves Mainstream’s Fear

    23/08/2025

    Morpho Surpasses $10B in Deposits With $6.7B TVL Across Chains

    23/08/2025

    Bitcoin L2 Network Merlin Chain Integrates M-BTC on Sui Network to Advance Wider Access to DeFi

    23/08/2025

    Blazpay Joins Aylab to Advance Web3 Infrastructure

    23/08/2025
  • Metaverse

    Meta Breaks Up AI Lab as Part of Superintelligence Push

    20/08/2025

    The Sandbox Game Maker: Unleashing Revolutionary Metaverse Experiences

    07/08/2025

    Where Has the Metaverse Gone? Examining a Failed (and Costly) Trend

    01/08/2025

    From Metaverse to Machine Learning, Inside Meta’s $72 Billion AI Gamble

    31/07/2025

    AntVerse Integrates Terminus to Transform AI-Powered Metaverse with Web3 Payments

    25/07/2025
  • Regulation

    Tether CEO says USDT drives 40% of gas fees, plans U.S.-compliant stablecoin

    23/08/2025

    State Street and Stablecoin Standard to educate tradFi firms on crypto

    22/08/2025

    Why Wall Street is bracing for a correction in stocks

    22/08/2025

    Architect Bets Credit Will Outshine Crypto Equities as It Builds a Web3 Moody’s

    22/08/2025

    Bitcoin ETFs Bleed Millions for 4th Straight Day as U.S. Stagflation Fears Weigh on BTC and Stocks

    22/08/2025
  • Other
    1. Exchanges
    2. ICO
    3. GameFi
    4. Mining
    5. Legal
    6. View All

    Bitget Launches its GetAgent AI Assistant for General Access

    23/08/2025

    Asian Crypto Firms Eye US IPOs Amid Opportunities and Risks

    23/08/2025

    xStocks on Solana hit $2B+ volume in 6 weeks, scaling 60+ tokenized U.S. equities: case study

    23/08/2025

    AEON Integrates OpenEden’s cUSDO into Crypto Platform as Demand for Tokenized U.S. Treasuries Heats

    23/08/2025

    ICO for bitcoin yield farming chain Corn screams we’re so back

    22/01/2025

    Why 2025 Will See the Comeback of the ICO

    26/12/2024

    Crypto Gaming Handheld Shipments Delayed Over ‘Excessive’ Import Duties

    22/08/2025

    Google Unveils Pixel 10 Lineup With AI Features, New Watch and Earbuds

    21/08/2025

    Immutable & Koin Games Unveil Fast-Paced, Collector-Driven Project O

    20/08/2025

    ‘Wilder World’ Launches First-Person Shooter Game With $100K Tournament

    20/08/2025

    Bitcoin miner Foundry hits 0.07% jackpot mining eight consecutive BTC blocks

    23/08/2025

    Nasdaq-listed Bitdeer unveiled plans to expand its U.S. crypto mining rig manufacturing operations

    21/08/2025

    ‘US tariffs on mining rigs are rising sharply’ as CleanSpark, IREN report massive liabilities

    21/08/2025

    APAC Bitcoin Mining Goes Green Despite China Underground Activity

    21/08/2025

    Fuze hit with fine as Dubai’s VARA spots AML failures

    21/08/2025

    Brazilian Crypto Industry Takes Action to Avoid Tax Obliteration

    21/08/2025

    U.S. Treasury Department Starts Work on GENIUS, Gathering Views on Illicit Activity

    21/08/2025

    $30M scheme to buy Trump pardon for Roger Ver collapses

    21/08/2025

    Stability World AI Joins EFIHUB to Drive Entertainment DeFi Innovation

    23/08/2025

    Can the OKX Giveaway Boost ETH Price to a New ATH?

    23/08/2025

    Bitget Launches its GetAgent AI Assistant for General Access

    23/08/2025

    US Fed Relieves Mainstream’s Fear

    23/08/2025
  • MarketCap
NBTC News
Home»Blockchain»Bitcoin Layer 2: Statechains
Blockchain

Bitcoin Layer 2: Statechains

NBTCBy NBTC21/06/2025No Comments8 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email


Statechains are an original second layer protocol originally developed by Ruben Somsen in 2018, depending on the eltoo (or LN Symmetry) proposal. In 2021 a variation of the original proposal, Mercury, was built by CommerceBlock. In 2024, a further iteration of the original Mercury scheme was built, Mercury Layer.

The Statechain protocol is a bit more complicated to discuss compared to other systems such as Ark or Lightning because of the range of variations that are possible between the original proposed design, the two that have been actually implemented, and other possible designs that have been loosely proposed.

Like Ark, Statechains depend on a centralized coordinating server in order to function. Unlike Ark, they have a slightly different trust model than a vUTXO in an Ark batch. They depend on the coordinating server to delete previously generated shares of a private key in order to remain trustless, but as long as the server follows the defined protocol and does so, they provide a strong security guarantee.

The general idea of a Statechain is to be able to transfer ownership of an entire UTXO between different users off-chain, facilitated by the coordinator. There is no requirement for receiving liquidity like Lightning, or the coordinator server to provide any liquidity like Ark.

To begin, we will look at the original protocol proposed by Ruben Somsen.

The Original Statechain

Statechains are effectively a pre-signed transaction allowing the current owner of the Statechain to unilaterally withdraw on-chain whenever they want, and a history signed messages cryptographically proving that past owners and the receivers they sent the Statechain to approved those transfers.

The original design was built on eltoo using ANYPREVOUT, but the current plans on how to enable the same functionality make use of CHECKTEMPLATEVERIFY and CHECKSIGFROMSTACK (a high level explanation of this is at the end of the CHECKSIGFROMSTACK article). The basic idea is a script enabling a pre-signed transaction to spend any UTXO that has that script and locks the appropriate amount of bitcoin, rather than being tied to spending a single specific UTXO.

In the protocol, a user wishing to deposit their coins to a Statechain approaches a coordinator server and goes through a deposit protocol. The depositing user, Bob, generates a key that will be uniquely owned by him, but also a second “transitory” key that will eventually be shared (more on this soon). They then craft a deposit transaction locking their coin to a multisig requiring the coordinator’s key and the transitory key to sign.

Using this multisig, Bob and the coordinator sign a transaction that spends that coin and creates a UTXO that can either be spent by any other transaction signed by the transitory key and the coordinator’s key using LN Symmetry, or Bob’s unique key after a timelock. Bob can now fund the multisig with the appropriate amount, and the Statechain has been created.

To transfer a Statechain to Charlie, Bob must go through a multistep process. First, Bob signs a message with his unique private key that attests to the fact he is going to transfer the Statechain to Charlie. Charlie must also sign a message attesting to the fact that he has received the Statechain from Bob. Finally, the coordinator server must sign a new transaction allowing Charlie to unilaterally claim the Statechain on-chain before Bob sends Charlie a copy of the transitory key.

All of this is made atomic using adapter signatures. These are signatures that are modified in such a way using a random piece of data that renders them invalid, but can be made valid again once the holder of the signature receives that piece of information. All of the messages, and the new pre-signed transaction are signed with adapter signatures, and atomically made valid at the same time through the release of the adapter data.

Holders of a Statechain must trust that the coordinator server never conspires with a previous owner to sign an immediate closure of the Statechain and steal funds from the current owner, but the chain of pre-signed messages can prove that a coordinator has participated in theft if they were to do so. If a past owner attempts to use their pre-signed transaction to steal the funds, the timelock on the spend path using only their key allows the current owner to submit their pre-signed transaction and correctly claim the funds on chain.

Mercury and Mercury Layer

The original Statechain architecture requires a softfork in order to function. CommerceBlock designed their variant of Statechains to function without a softfork, but in order to do so tradeoffs were made in terms of functionality.

The basic idea is the same as the original design, all users hold a pre-signed transaction that allows them to claim their funds unilaterally, and the coordinator server still plays a role in facilitating off-chain transfers that requires them to be trusted to behave honestly. The two major differences are how those transactions are signed, and the structure of the pre-signed transaction users are given.

Where the signing is concerned, there is no longer a transitory private key that is passed from user to user. Instead of this, a multiparty-computation protocol (MPC) is used so that the original owner and the coordinator server are able to collaboratively generate partial pieces of a private key without either of them ever possessing the full key. This key is used to sign the pre-signed transactions. The MPC protocol allows the current owner and coordinator to engage in a second protocol with a third party, the receiver of a transfer, to regenerate different pieces that add up to the same private key. In both the Mercury and Mercury Layer protocol, after completing a transfer an honest coordinator server deletes the key material corresponding to the previous owner. As long as this is done, it is no longer possible for the coordinator to sign a transaction with a previous owner, as the new piece of key material they have is not compatible with the piece any previous owner might still have. This is actually a stronger guarantee, as long as the coordinator is honest, than the original proposal.

The pre-signed transaction structure for Mercury and Mercury Layer can’t use LN Symmetry, as this is not possible without a softfork. In lieu of this, CommerceBlock opted to use decrementing timelocks. The original owner’s pre-signed transaction is timelocked using nLocktime to a time far out in the future from the point of the Statechain’s creation. As each subsequent user receives the Statechain during a transfer, the nLocktime value of their transaction is some pre-determined length of time shorter than the previous owner. This guarantees that a previous owner is incapable of even trying to submit their transaction on-chain before the current owner can, but it also means that eventually at some point the current owner must close their Statechain on-chain before previous owners’ transactions start becoming valid.

The major difference between Mercury and Mercury Layer is how these transactions are signed. In the case of Mercury, the coordinator server simply sees the transaction proposed, verifies it, and then signs it. Mercury Layer uses a blind-signing protocol, meaning that they do not actually see any details of the transaction they are signing. This necessitates the server tracking Statechains using anonymized records on the server, and a special authorization key of the current owner so that they can be sure they are only signing valid transfers.

Synergy With Other Layers

Statechains can synergize with other Layer 2s that are based on pre-signed transactions. For instance, part of the original proposal suggested a combination of Statechains and Lightning Channels. Because both are simply pre-signed transactions, it is possible to actually nest a Lightning channel on top of a Statechain. This simply requires the current owner’s unilateral exit key to be a multisig, and the creation of the pre-signed transactions spending that output into a Lightning channel. This allows Lightning channels to be opened and closed entirely off-chain.

In a similar fashion, it is possible to nest a Statechain on top of a vUTXO in an Ark batch. This simply requires the pre-signed transactions necessary for a Statechain to be constructed, spending the vUTXO output.

Wrapping Up

Statechains are not entirely trustless, but they are a very trust minimized scheme that is very liquidity efficient and allows freely transferring UTXOs off-chain between any users willing to accept the trust model of Statechains.

While the original proposal has yet to be built, the two implementations designed by CommerceBlock have been completely implemented. Both failed to achieve anything more than marginal use in the real world. Whether this is due to users being unwilling to accept the trust model involved, or simply a failure in marketing or awareness is something that cannot be fully ascertained.

Regardless, given that there are two full implementations and designs for a more flexible variation should LN Symmetry ever become possible on Bitcoin, this an option that will always be here. The nice thing about open source software is that it will always be there regardless of whether people use it now, should they choose to in the future.

This post Bitcoin Layer 2: Statechains first appeared on Bitcoin Magazine and is written by Shinobi.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NBTC

Related Posts

Arbitrum submits proposal to build Ronin L2 as an Orbit chain

22/08/2025

Toyota explores blockchain to turn cars into tradable RWAs

22/08/2025

Blockchain native protocols get creative in crypto treasury arms race

22/08/2025

How To Make Blockchain Work For Real Markets

22/08/2025
Add A Comment

Comments are closed.

Top Posts
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Your source for the serious news. This website is crafted specifically to for crazy and hot cryptonews. Visit our main page for more tons of news.

We're social. Connect with us:

Facebook X (Twitter) LinkedIn RSS
Top Insights

Stability World AI Joins EFIHUB to Drive Entertainment DeFi Innovation

23/08/2025

Can the OKX Giveaway Boost ETH Price to a New ATH?

23/08/2025

Bitget Launches its GetAgent AI Assistant for General Access

23/08/2025
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

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