Wednesday, July 16, 2025
Coin Insights
No Result
View All Result
  • Home
  • Crypto
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi
  • Web 3
    IOT in E-Commerce Market Is Going to Boom | Major Giants Amazon,Alibaba,eBay

    IOT in E-Commerce Market Is Going to Boom | Major Giants Amazon,Alibaba,eBay

    Enhancing Security in Online Gambling with Blockchain Technology

    Enhancing Security in Online Gambling with Blockchain Technology

    Blushush by Sahil Gandhi and Ohh My Brand by Bhavik Sarkhedi Partner to Revolutionize Brand Strategy and Personal Branding

    Blushush by Sahil Gandhi and Ohh My Brand by Bhavik Sarkhedi Partner to Revolutionize Brand Strategy and Personal Branding

    How to Play Treeverse: Beginner’s Guide to Gameplay, NFTs, and Tokenomics

    How to Play Treeverse: Beginner’s Guide to Gameplay, NFTs, and Tokenomics

    Intellivix Targets Global AI Surveillance Market with ‘False Alarm Elimination’ Gen AMS

    Intellivix Targets Global AI Surveillance Market with ‘False Alarm Elimination’ Gen AMS

    The Future of Gambling: How Casino Sites Are Leveraging Web3

    The Future of Gambling: How Casino Sites Are Leveraging Web3

    The most potentially profitable investment method in 2025 is through PairMiner crypto cloud mining, earning passive income daily.

    The most potentially profitable investment method in 2025 is through PairMiner crypto cloud mining, earning passive income daily.

    GameFi Q1 2025 Report: User Growth, Chain Activity, and Revenue Trends

    GameFi Q1 2025 Report: User Growth, Chain Activity, and Revenue Trends

    Brain-Computer Interface Market Value, Trends, and Demand Insights | Scope By 2032

    Brain-Computer Interface Market Value, Trends, and Demand Insights | Scope By 2032

  • Metaverse
    Shib: The Metaverse – Part of the Expanding Shiba Inu Ecosystem

    Shib: The Metaverse – Part of the Expanding Shiba Inu Ecosystem

    Experience to Earn: Everdome's Metaverse Frontier

    Experience to Earn: Everdome’s Metaverse Frontier

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

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

    Exploring NetVRk: What Is Behind This AI-Driven Virtual Universe?

    Exploring NetVRk: What Is Behind This AI-Driven Virtual Universe?

    Council of Europe Highlights Metaverse's Impact on Privacy and Democracy

    Council of Europe Highlights Metaverse’s Impact on Privacy and Democracy

    Meta Cancels Next-Gen Headset Amidst Changing Market Landscape

    Meta Cancels Next-Gen Headset Amidst Changing Market Landscape

    Carrieverse and Disney Ink Content Deal

    Carrieverse and Disney Ink Content Deal

    SYKY Bridges Digital and Physical Fashion with Apple Vision Pro

    SYKY Bridges Digital and Physical Fashion with Apple Vision Pro

    Somnia Launches Playground App to Empower Metaverse Creators

    Somnia Launches Playground App to Empower Metaverse Creators

  • NFT
    CryptoPunks Dominate Top Weekly NFT Sales amid Overall Market Sales Volume Surges 34.19% to $133.66 Million

    CryptoPunks Dominate Top Weekly NFT Sales amid Overall Market Sales Volume Surges 34.19% to $133.66 Million

    Volume Plunges While Transactions Soar

    Volume Plunges While Transactions Soar

    Snoop Dogg’s Telegram NFT Drop Sold Out in Half an Hour

    Snoop Dogg’s Telegram NFT Drop Sold Out in Half an Hour

    Snoop Dogg’s TON NFT Launch Could Signal New Narrative for NFT Market

    Snoop Dogg’s TON NFT Launch Could Signal New Narrative for NFT Market

    Why a ‘Mobile-First’ Mentality Drove OpenSea’s Latest Acquisition

    Why a ‘Mobile-First’ Mentality Drove OpenSea’s Latest Acquisition

    Boxed Memecoins as Collectible Toys

    Boxed Memecoins as Collectible Toys

    Hype fades as NFT platforms lose users

    Hype fades as NFT platforms lose users

    OpenSea Revolutionizes Mobile Trading with Rally Wallet Acquisition

    OpenSea Revolutionizes Mobile Trading with Rally Wallet Acquisition

    Donald Trump Had Said, ‘The US Government Will Not Sell Cryptocurrency From Now On,’ But Something Strange Is Going On — Onchain Data Shows…

    Donald Trump Had Said, ‘The US Government Will Not Sell Cryptocurrency From Now On,’ But Something Strange Is Going On — Onchain Data Shows…

  • Gaming
    Crypto games are struggling in 2025, but big brands aren’t giving up

    Crypto games are struggling in 2025, but big brands aren’t giving up

    Taking Back Identity: How MocaChain Decentralizes Digital Power

    Taking Back Identity: How MocaChain Decentralizes Digital Power

    ‘League of Kingdoms’ Expands Into ‘Arena-Z’ as New Games and Tokens Emerge

    ‘League of Kingdoms’ Expands Into ‘Arena-Z’ as New Games and Tokens Emerge

    R-Games and LoveBit Unite to Power ESG-Driven Web3 Gaming

    R-Games and LoveBit Unite to Power ESG-Driven Web3 Gaming

    Elon Musk’s xAI Launches Waifu Companions for Grok

    Elon Musk’s xAI Launches Waifu Companions for Grok

    Web3 Meets the Stadium: The Rise of Competitive Ownership

    Web3 Meets the Stadium: The Rise of Competitive Ownership

    Can Snoop Dogg’s Telegram Drop Revive a Slumping NFT Market?

    Can Snoop Dogg’s Telegram Drop Revive a Slumping NFT Market?

    ‘Off the Grid’ Token Hits Solana, More Games Shut Down

    ‘Off the Grid’ Token Hits Solana, More Games Shut Down

    Qitmeer Network Forges Partnership with Onmi to Bolster Web3 GameFi Space

    Qitmeer Network Forges Partnership with Onmi to Bolster Web3 GameFi Space

  • Blockchain
    Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

    Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

    MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

    MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

    NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services

    NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services

    LFG Boosts Token Launches with Community Power

    LFG Boosts Token Launches with Community Power

    Polyhedra Network launches Proof Cloud in open beta

    Polyhedra Network launches Proof Cloud in open beta

    It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’

    It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’

    SoonVerse Partners with Arris to Enhance User Experience

    SoonVerse Partners with Arris to Enhance User Experience

    Metaplex Deploys Product Suite on Sonic SVM, Enhancing Solana’s Gaming Ecosystem

    Metaplex Deploys Product Suite on Sonic SVM, Enhancing Solana’s Gaming Ecosystem

    Space and Time Becomes ZK Coprocessor in Karak’s Ecosystem

    Space and Time Becomes ZK Coprocessor in Karak’s Ecosystem

  • AI
    Bitcoin Miner Bit Digital Diversifies Into AI for ‘Substantially Higher Margin’ Than Mining

    Bitcoin Miner Bit Digital Diversifies Into AI for ‘Substantially Higher Margin’ Than Mining

    ETH Daddy Discusses Ethereum and AI

    ETH Daddy Discusses Ethereum and AI

    How decentralization can mitigate ‘dystopic’ artificial intelligence risks: SingularityNET exec

    How decentralization can mitigate ‘dystopic’ artificial intelligence risks: SingularityNET exec

    ChatGPT is a tad too enthusiastic about Ethereum’s prospects

    I asked ChatGPT to predict Ethereum’s prospects as billionaire holders accumulate

    UAE emirate launches new free zone for digital assets, Web3 and AI

    UAE emirate launches new free zone for digital assets, Web3 and AI

  • Guides
    What Is Copy Trading in Crypto? A Beginner’s Guide

    What Is Copy Trading in Crypto? A Beginner’s Guide

    A Step-by-Step Guide for Risk-Takers

    A Step-by-Step Guide for Risk-Takers

    What is Spot Trading in Crypto? A Beginner’s Guide to How It Works

    What is Spot Trading in Crypto? A Beginner’s Guide to How It Works

    How It Works and What to Watch Out For

    How It Works and What to Watch Out For

    Crypto Risk Management Strategies for Trading (2025)

    Crypto Risk Management Strategies for Trading (2025)

    What Is Crypto Staking? How to Earn Crypto by Holding It

    What Is DeFi Staking? Everything You Need to Know

    What is Dollar-Cost Averaging (DCA) in Crypto? A Beginner’s Guide

    What is Dollar-Cost Averaging (DCA) in Crypto? A Beginner’s Guide

    What Is Liquid Staking? How It Works & Why It Matters in Crypto

    What Is Liquid Staking? How It Works & Why It Matters in Crypto

    A Full Comparison of Layer 2 Solutions

    What are Rollups in Crypto? ZK Rollups and Optimistic Rollups Explained

  • Analysis
    Bitcoin Sees Historic Rise in Shark and Whale BTC Wallets, Records New High: Santiment

    Bitcoin Sees Historic Rise in Shark and Whale BTC Wallets, Records New High: Santiment

    An SBF Testimony Could Add ‘Decades’ to His Prison Sentence, According to Lawyer – Here’s Why

    An SBF Testimony Could Add ‘Decades’ to His Prison Sentence, According to Lawyer – Here’s Why

    Solana, XRP and One Ethereum Rival Leading Institutional Inflows in 2023: CoinShares Data

    Solana, XRP and One Ethereum Rival Leading Institutional Inflows in 2023: CoinShares Data

    Estate of Bankrupt Crypto Exchange FTX Abruptly Stakes Over $144 Million in Solana (SOL)

    Estate of Bankrupt Crypto Exchange FTX Abruptly Stakes Over $144 Million in Solana (SOL)

    Dogecoin Bull run

    Here’s What Could Trigger the Next Dogecoin (DOGE) Bull Run, According to Crypto Strategist

    Benjamin Cowen Warns Majority of Altcoins Will Never See New All-Time Highs Again Amid ‘Serious Declines’

    Benjamin Cowen Warns Majority of Altcoins Will Never See New All-Time Highs Again Amid ‘Serious Declines’

    SEC Chair Gary Gensler Standing in the Way of Bitcoin ETFs, Says ARK Invest’s Cathie Wood

    SEC Chair Gary Gensler Standing in the Way of Bitcoin ETFs, Says ARK Invest’s Cathie Wood

    Top Trader Sees Bitcoin Skyrocketing 570% in Next Bull Market Amid Soaring US Debt Levels

    Top Trader Sees Bitcoin Skyrocketing 570% in Next Bull Market Amid Soaring US Debt Levels

    The #1 CopyTrading Exchange-Bitget Turns 5, $100 Bonus for Newcomers

    The #1 CopyTrading Exchange-Bitget Turns 5, $100 Bonus for Newcomers

  • Coin Marketcaps
  • Home
  • Crypto
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi
  • Web 3
    IOT in E-Commerce Market Is Going to Boom | Major Giants Amazon,Alibaba,eBay

    IOT in E-Commerce Market Is Going to Boom | Major Giants Amazon,Alibaba,eBay

    Enhancing Security in Online Gambling with Blockchain Technology

    Enhancing Security in Online Gambling with Blockchain Technology

    Blushush by Sahil Gandhi and Ohh My Brand by Bhavik Sarkhedi Partner to Revolutionize Brand Strategy and Personal Branding

    Blushush by Sahil Gandhi and Ohh My Brand by Bhavik Sarkhedi Partner to Revolutionize Brand Strategy and Personal Branding

    How to Play Treeverse: Beginner’s Guide to Gameplay, NFTs, and Tokenomics

    How to Play Treeverse: Beginner’s Guide to Gameplay, NFTs, and Tokenomics

    Intellivix Targets Global AI Surveillance Market with ‘False Alarm Elimination’ Gen AMS

    Intellivix Targets Global AI Surveillance Market with ‘False Alarm Elimination’ Gen AMS

    The Future of Gambling: How Casino Sites Are Leveraging Web3

    The Future of Gambling: How Casino Sites Are Leveraging Web3

    The most potentially profitable investment method in 2025 is through PairMiner crypto cloud mining, earning passive income daily.

    The most potentially profitable investment method in 2025 is through PairMiner crypto cloud mining, earning passive income daily.

    GameFi Q1 2025 Report: User Growth, Chain Activity, and Revenue Trends

    GameFi Q1 2025 Report: User Growth, Chain Activity, and Revenue Trends

    Brain-Computer Interface Market Value, Trends, and Demand Insights | Scope By 2032

    Brain-Computer Interface Market Value, Trends, and Demand Insights | Scope By 2032

  • Metaverse
    Shib: The Metaverse – Part of the Expanding Shiba Inu Ecosystem

    Shib: The Metaverse – Part of the Expanding Shiba Inu Ecosystem

    Experience to Earn: Everdome's Metaverse Frontier

    Experience to Earn: Everdome’s Metaverse Frontier

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

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

    Exploring NetVRk: What Is Behind This AI-Driven Virtual Universe?

    Exploring NetVRk: What Is Behind This AI-Driven Virtual Universe?

    Council of Europe Highlights Metaverse's Impact on Privacy and Democracy

    Council of Europe Highlights Metaverse’s Impact on Privacy and Democracy

    Meta Cancels Next-Gen Headset Amidst Changing Market Landscape

    Meta Cancels Next-Gen Headset Amidst Changing Market Landscape

    Carrieverse and Disney Ink Content Deal

    Carrieverse and Disney Ink Content Deal

    SYKY Bridges Digital and Physical Fashion with Apple Vision Pro

    SYKY Bridges Digital and Physical Fashion with Apple Vision Pro

    Somnia Launches Playground App to Empower Metaverse Creators

    Somnia Launches Playground App to Empower Metaverse Creators

  • NFT
    CryptoPunks Dominate Top Weekly NFT Sales amid Overall Market Sales Volume Surges 34.19% to $133.66 Million

    CryptoPunks Dominate Top Weekly NFT Sales amid Overall Market Sales Volume Surges 34.19% to $133.66 Million

    Volume Plunges While Transactions Soar

    Volume Plunges While Transactions Soar

    Snoop Dogg’s Telegram NFT Drop Sold Out in Half an Hour

    Snoop Dogg’s Telegram NFT Drop Sold Out in Half an Hour

    Snoop Dogg’s TON NFT Launch Could Signal New Narrative for NFT Market

    Snoop Dogg’s TON NFT Launch Could Signal New Narrative for NFT Market

    Why a ‘Mobile-First’ Mentality Drove OpenSea’s Latest Acquisition

    Why a ‘Mobile-First’ Mentality Drove OpenSea’s Latest Acquisition

    Boxed Memecoins as Collectible Toys

    Boxed Memecoins as Collectible Toys

    Hype fades as NFT platforms lose users

    Hype fades as NFT platforms lose users

    OpenSea Revolutionizes Mobile Trading with Rally Wallet Acquisition

    OpenSea Revolutionizes Mobile Trading with Rally Wallet Acquisition

    Donald Trump Had Said, ‘The US Government Will Not Sell Cryptocurrency From Now On,’ But Something Strange Is Going On — Onchain Data Shows…

    Donald Trump Had Said, ‘The US Government Will Not Sell Cryptocurrency From Now On,’ But Something Strange Is Going On — Onchain Data Shows…

  • Gaming
    Crypto games are struggling in 2025, but big brands aren’t giving up

    Crypto games are struggling in 2025, but big brands aren’t giving up

    Taking Back Identity: How MocaChain Decentralizes Digital Power

    Taking Back Identity: How MocaChain Decentralizes Digital Power

    ‘League of Kingdoms’ Expands Into ‘Arena-Z’ as New Games and Tokens Emerge

    ‘League of Kingdoms’ Expands Into ‘Arena-Z’ as New Games and Tokens Emerge

    R-Games and LoveBit Unite to Power ESG-Driven Web3 Gaming

    R-Games and LoveBit Unite to Power ESG-Driven Web3 Gaming

    Elon Musk’s xAI Launches Waifu Companions for Grok

    Elon Musk’s xAI Launches Waifu Companions for Grok

    Web3 Meets the Stadium: The Rise of Competitive Ownership

    Web3 Meets the Stadium: The Rise of Competitive Ownership

    Can Snoop Dogg’s Telegram Drop Revive a Slumping NFT Market?

    Can Snoop Dogg’s Telegram Drop Revive a Slumping NFT Market?

    ‘Off the Grid’ Token Hits Solana, More Games Shut Down

    ‘Off the Grid’ Token Hits Solana, More Games Shut Down

    Qitmeer Network Forges Partnership with Onmi to Bolster Web3 GameFi Space

    Qitmeer Network Forges Partnership with Onmi to Bolster Web3 GameFi Space

  • Blockchain
    Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

    Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

    MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

    MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

    NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services

    NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services

    LFG Boosts Token Launches with Community Power

    LFG Boosts Token Launches with Community Power

    Polyhedra Network launches Proof Cloud in open beta

    Polyhedra Network launches Proof Cloud in open beta

    It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’

    It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’

    SoonVerse Partners with Arris to Enhance User Experience

    SoonVerse Partners with Arris to Enhance User Experience

    Metaplex Deploys Product Suite on Sonic SVM, Enhancing Solana’s Gaming Ecosystem

    Metaplex Deploys Product Suite on Sonic SVM, Enhancing Solana’s Gaming Ecosystem

    Space and Time Becomes ZK Coprocessor in Karak’s Ecosystem

    Space and Time Becomes ZK Coprocessor in Karak’s Ecosystem

  • AI
    Bitcoin Miner Bit Digital Diversifies Into AI for ‘Substantially Higher Margin’ Than Mining

    Bitcoin Miner Bit Digital Diversifies Into AI for ‘Substantially Higher Margin’ Than Mining

    ETH Daddy Discusses Ethereum and AI

    ETH Daddy Discusses Ethereum and AI

    How decentralization can mitigate ‘dystopic’ artificial intelligence risks: SingularityNET exec

    How decentralization can mitigate ‘dystopic’ artificial intelligence risks: SingularityNET exec

    ChatGPT is a tad too enthusiastic about Ethereum’s prospects

    I asked ChatGPT to predict Ethereum’s prospects as billionaire holders accumulate

    UAE emirate launches new free zone for digital assets, Web3 and AI

    UAE emirate launches new free zone for digital assets, Web3 and AI

  • Guides
    What Is Copy Trading in Crypto? A Beginner’s Guide

    What Is Copy Trading in Crypto? A Beginner’s Guide

    A Step-by-Step Guide for Risk-Takers

    A Step-by-Step Guide for Risk-Takers

    What is Spot Trading in Crypto? A Beginner’s Guide to How It Works

    What is Spot Trading in Crypto? A Beginner’s Guide to How It Works

    How It Works and What to Watch Out For

    How It Works and What to Watch Out For

    Crypto Risk Management Strategies for Trading (2025)

    Crypto Risk Management Strategies for Trading (2025)

    What Is Crypto Staking? How to Earn Crypto by Holding It

    What Is DeFi Staking? Everything You Need to Know

    What is Dollar-Cost Averaging (DCA) in Crypto? A Beginner’s Guide

    What is Dollar-Cost Averaging (DCA) in Crypto? A Beginner’s Guide

    What Is Liquid Staking? How It Works & Why It Matters in Crypto

    What Is Liquid Staking? How It Works & Why It Matters in Crypto

    A Full Comparison of Layer 2 Solutions

    What are Rollups in Crypto? ZK Rollups and Optimistic Rollups Explained

  • Analysis
    Bitcoin Sees Historic Rise in Shark and Whale BTC Wallets, Records New High: Santiment

    Bitcoin Sees Historic Rise in Shark and Whale BTC Wallets, Records New High: Santiment

    An SBF Testimony Could Add ‘Decades’ to His Prison Sentence, According to Lawyer – Here’s Why

    An SBF Testimony Could Add ‘Decades’ to His Prison Sentence, According to Lawyer – Here’s Why

    Solana, XRP and One Ethereum Rival Leading Institutional Inflows in 2023: CoinShares Data

    Solana, XRP and One Ethereum Rival Leading Institutional Inflows in 2023: CoinShares Data

    Estate of Bankrupt Crypto Exchange FTX Abruptly Stakes Over $144 Million in Solana (SOL)

    Estate of Bankrupt Crypto Exchange FTX Abruptly Stakes Over $144 Million in Solana (SOL)

    Dogecoin Bull run

    Here’s What Could Trigger the Next Dogecoin (DOGE) Bull Run, According to Crypto Strategist

    Benjamin Cowen Warns Majority of Altcoins Will Never See New All-Time Highs Again Amid ‘Serious Declines’

    Benjamin Cowen Warns Majority of Altcoins Will Never See New All-Time Highs Again Amid ‘Serious Declines’

    SEC Chair Gary Gensler Standing in the Way of Bitcoin ETFs, Says ARK Invest’s Cathie Wood

    SEC Chair Gary Gensler Standing in the Way of Bitcoin ETFs, Says ARK Invest’s Cathie Wood

    Top Trader Sees Bitcoin Skyrocketing 570% in Next Bull Market Amid Soaring US Debt Levels

    Top Trader Sees Bitcoin Skyrocketing 570% in Next Bull Market Amid Soaring US Debt Levels

    The #1 CopyTrading Exchange-Bitget Turns 5, $100 Bonus for Newcomers

    The #1 CopyTrading Exchange-Bitget Turns 5, $100 Bonus for Newcomers

  • Coin Marketcaps
No Result
View All Result
Coin Insights
No Result
View All Result
Home Blockchain

Mercury Layer’s Lightning Latch Swap Protocol

March 19, 2024
in Blockchain
48
Mercury Layer’s Lightning Latch Swap Protocol
585
SHARES
3.2k
VIEWS
Share on FacebookShare on Twitter

Commerceblock has released a new atomic swap protocol for use with statechains on their Mercury Layer protocol. The HSM server has introduced functionality to support atomically swapping two statechains, as well as enforcing an atomic exchange of a statechain for a Lightning payment. This is the first example of concretely defined and built interactions between statechains and the Lightning Network. Synergy between both protocols has been postulated since the concept of a statechain was originally proposed by Ruben Somsen, specifically as a way to solve the limitation of having to transfer a whole statechain UTXO at once.

READ ALSO

Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

Basic Statechain Swaps

In order to support the new swap protocols, the HSM server needs to add some new fields to its database entries tracking each statechain it is facilitating. To facilitate the statechain to statechain swap, the server needs to track:

  • Batch_id: a value to associate statechains being swapped in a group.
  • Batch-time: a time that starts a counter after which the statechains can be “reclaimed” if the swap fails.
  • Locked: a value indicating whether or not the statechain is locked and restricted from regular transfers.

This allows the HSM server to track and enforce all the variables necessary to ensure a safe atomic swap. When initiating a swap, users have to communicate with each other directly in order to establish a shared batch_id between them. From this point they trade all the necessary information required to facilitate a normal statechain transfer, and send that information plus the batch_id and batch-time to the server. They essentially start the regular transfer process, but also attach the variables to connect the individual statechains as participating in a swap together and how long the timeout period is for that.

The server at this point will apply a lock to every statechain using the same batch_id in the transfer process. Until the timeout expires, or all of the statechains in its database using the same batch_id have been unlocked by the current owners, the server will not approve any transfers. A neat thing about the way the HSM enforces the swap logic is that it doesn’t matter who contacts the server first. When the server gets a message using a batch_id, it checks every statechain in its database and if there is a pre-existing batch-time for that batch_id it sets it as the same. This ensures that no matter who registers the swap first they all use the same time value for the timeout function.

See also  Unleashing Warp Messaging for Seamless Cross-Chain Action

Each client involved in the swap at this point checks for and downloads the messages that initiated the transfer protocol, and upon verifying they’re correct sends a message to the server to unlock their statechain, removing the transfer restrictions. Whenever anyone attempts to finalize a transfer on the receiver side of any of the statechains involved in the swap, the server checks to make sure all of the statechains with the same batch_id are unlocked. If even a single one with the related batch_id is still locked the server will finalize a transfer for none of them. If a swap doesn’t succeed before the timeout, the server will continue restricting the finalization of the swap transfer, but will let the current owners initialize a new transfer to themselves to effectively cancel the swap.

Lightning Latch

The Lightning Latch functionality, swapping a statechain for a Lightning payment, works very similarly to the statechain to statechain swap. Here are the new fields the server must track for the Lightning swap:

  • Batch_id: a value to associate statechains being swapped in a group.
  • Batch-time: a time that starts a counter after which the statechains can be “reclaimed” if the swap fails.
  • Pre-image: the preimage of the Lightning payment, which is generated by the HSM server.
  • Locked_1 and locked_2: there are two lock fields for the Lightning swap, one authorized by each user involved.

Just like with the statechain to statechain swap, the users establish and share a random batch_id. The current statechain owner then messages the server with the batch_id and statechain involved and requests it generates a hashlock preimage for a Lightning payment. This user then generates a Lightning invoice using this preimage, and the second user contacts the server to confirm it generated the preimage. The current statechain owner then begins the statechain transfer process and uploads the transfer message to the server.

See also  Tackling NFT Theft With the Three Address Protocol

After confirmation of that, the second user trying to swap for the statechain initiates the Lightning payment. At this time the server is the only one with the preimage, so the statechain owner cannot finalize the payment yet. The current owner after verifying the pending Lighting payment sends the server an unlock message to remove the first lock on the statechain. The receiver finally verifies the transfer message, and if valid messages the server to remove their lock as well.

Now with both locks removed, the HSM server will release the preimage to the current statechain owner to finalize the Lightning payment, and will finalize the statechain transfer to the receiver.

This scheme does require trusting the statechain operator to function honestly, but that is fundamentally not a change to the pre-existing trust model of using a statechain in general. At no time does the operator have control over users’ funds, nor do they learn anything about the Lightning payment details.

What Is This Good For?

This scheme is a far cry from the originally posited interaction between statechains and Lightning channels, stacking one on top of the other, but even as a simple starting point this presents functional utility for existing Lightning users. Rebalancing channels is a necessary thing for many nodes, if the capacity is entirely pushed to one side or the other the utility of that channel is limited for routing payments. Many businesses and users have started experimenting with using Liquid as a mechanism for this due to on-chain fees rising and making swaps into and out of the Lightning Network more expensive.

Statechains offer an alternative mechanism to a federated sidechain to alleviate some of the fee expenses associated with channel balance management. Instead of having to swap out to the mainchain directly, or use a sidechain, funds can be swapped to a statechain and held there until they are needed for swapping funds back into a channel. Similar savings in fees can be had while still maintaining the ability to unilaterally claim your funds on the mainchain.

See also  Law professor says blockchain tech could ‘revolutionize’ copyright offices

Another potential use case (TRIGGER WARNING) would be the possibility of more efficient marketplaces for trading ordinals. Since ordinals are simply an index scheme tracking paths backwards in the transaction history to specific satoshis, they can easily be lifted off-chain onto a statechain. That dynamic in combination with Lightning Latch could allow cheaper and faster off-chain purchases of ordinals. Someone could build a marketplace where they can be sold instantly off-chain over the Lightning Network.

It’s even possible one day if Lightning clients could become aware somehow of which statechain operators specific Lightning nodes trust that Latch could be used to help route payments by passing statechains around between different nodes instead of using conventional Lightning channels.

On the front of pure statechain to statechain transfers, this offers the potential for a message passing layer to recreate coinjoin like system mixing coins off-chain, similar to the original mixing functionality in Commerceblock’s first statechain implementation.

While it is a very simple starting point, Lightning Latch and the statechain swap functionality crack open the first door of statechains integrating into the existing Lightning Network – and other similar layers to come in the future – in a way that lets them all integrate seamlessly and function as a singular network in terms of payment routing and liquidity management. Even while we debate the need for and usefulness of covenants, there is still quite a lot of room to continue building with what we already have.

You can listen to the Commerceblock team explain the logic beyond the protocol here:

Chatting with the Dr @TTrevethan about why to build lightning latch on @mercurylayer #bitcoin #layer2 pic.twitter.com/CKVG9aHTQ6

— Nicholas Gregory (@gregory_nico) March 15, 2024

And for a more technical explanation, here:

Going through the technicals of how lightning latch will work with @TTrevethan on @mercurylayer #bitcoin #layer2 pic.twitter.com/aQIcjh2ukq

— Nicholas Gregory (@gregory_nico) March 16, 2024

Tags: LatchLayersLightningMercuryprotocolswap

Related Posts

Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities
Blockchain

Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

August 3, 2024
MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard
Blockchain

MetaMask Users Can Now Link Binance and OKX Accounts to Their Portfolio Dashboard

August 2, 2024
NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services
Blockchain

NetMindAI Partners with Neurochain AI to Revolutionize Decentralized AI Services

August 2, 2024
LFG Boosts Token Launches with Community Power
Blockchain

LFG Boosts Token Launches with Community Power

August 2, 2024
Polyhedra Network launches Proof Cloud in open beta
Blockchain

Polyhedra Network launches Proof Cloud in open beta

August 2, 2024
It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’
Blockchain

It’s a Different Sort of Olympics as Cryptographers Face Off in Polyhedra’s ‘Proof Arena’

August 2, 2024
Next Post
Is hype around Solana’s BOME over? 50% fall says…

Is hype around Solana's BOME over? 50% fall says...

Comments 48

  1. Bryon Hinrichsen says:
    8 months ago

    Some truly nice stuff on this internet site, I enjoy it.

    Reply
  2. Safest platforms to buy and sell crypto says:
    8 months ago

    I think this internet site contains some really good info for everyone :D. “This is an age in which one cannot find common sense without a search warrant.” by George Will.

    Reply
  3. tablet android 13 says:
    6 months ago

    you might have a fantastic blog right here! would you wish to make some invite posts on my blog?

    Reply
  4. Prime biome review says:
    4 months ago

    Does your site have a contact page? I’m having a tough time locating it but, I’d like to send you an email. I’ve got some creative ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it improve over time.

    Reply
  5. Primebiome says:
    4 months ago

    Pretty great post. I simply stumbled upon your weblog and wished to say that I’ve really enjoyed browsing your blog posts. After all I will be subscribing in your rss feed and I hope you write once more soon!

    Reply
  6. Aqua sculpt review says:
    4 months ago

    This website is amazing, with a clean design and easy navigation.

    Reply
  7. Aquasculpt says:
    4 months ago

    The content is engaging and well-structured, keeping visitors interested.

    Reply
  8. Aquasculpt says:
    4 months ago

    I’m really impressed by the speed and responsiveness.

    Reply
  9. Aquasculpt reviews says:
    4 months ago

    The layout is visually appealing and very functional.

    Reply
  10. Aqua sculpt says:
    4 months ago

    This site truly stands out as a great example of quality web design and performance.

    Reply
  11. Mitolyn says:
    4 months ago

    This website is amazing, with a clean design and easy navigation.

    Reply
  12. Natural mounjaro recipe says:
    4 months ago

    I’m really impressed by the speed and responsiveness.

    Reply
  13. Mitolyn reviews says:
    4 months ago

    A perfect blend of aesthetics and functionality makes browsing a pleasure.

    Reply
  14. Mitolyn says:
    4 months ago

    The content is engaging and well-structured, keeping visitors interested.

    Reply
  15. Mitolyn reviews says:
    4 months ago

    It provides an excellent user experience from start to finish.

    Reply
  16. Mitolyn review says:
    4 months ago

    I’m really impressed by the speed and responsiveness.

    Reply
  17. Natural mounjaro recipe for weight loss says:
    4 months ago

    It provides an excellent user experience from start to finish.

    Reply
  18. Mitolyn review says:
    4 months ago

    This site truly stands out as a great example of quality web design and performance.

    Reply
  19. Mitolyn reviews says:
    4 months ago

    This site truly stands out as a great example of quality web design and performance.

    Reply
  20. Natural mounjaro recipe says:
    4 months ago

    The layout is visually appealing and very functional.

    Reply
  21. Mitolyn reviews says:
    4 months ago

    The design and usability are top-notch, making everything flow smoothly.

    Reply
  22. Mitolyn review says:
    4 months ago

    The design and usability are top-notch, making everything flow smoothly.

    Reply
  23. Natural mounjaro recipe for weight loss says:
    4 months ago

    The content is engaging and well-structured, keeping visitors interested.

    Reply
  24. Mitolyn says:
    4 months ago

    I love how user-friendly and intuitive everything feels.

    Reply
  25. ICE WATER HACK FOR WEIGHT LOSS says:
    4 months ago

    ICE WATER HACK FOR WEIGHT LOSS

    Reply
  26. Mitolyn reviews says:
    4 months ago

    A perfect blend of aesthetics and functionality makes browsing a pleasure.

    Reply
  27. crypto mining says:
    3 months ago

    Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.

    Reply
  28. cloud mining says:
    2 months ago

    You have brought up a very good points, thankyou for the post.

    Reply
  29. Purdentix reviews says:
    2 months ago

    Purdentix review

    Reply
  30. crypto mining says:
    2 months ago

    I conceive this site has got some real fantastic information for everyone :D. “Experience is not what happens to you it’s what you do with what happens to you.” by Aldous Huxley.

    Reply
  31. l47tv says:
    1 month ago

    clomid costo can you buy clomiphene for sale where to buy clomid without dr prescription where to get generic clomid price clomid prices where can i buy clomid cost clomiphene for sale

    Reply
  32. buy cialis fda says:
    1 month ago

    More posts like this would bring about the blogosphere more useful.

    Reply
  33. metronidazole order online says:
    1 month ago

    I’ll certainly bring back to review more.

    Reply
  34. w1uxt says:
    1 month ago

    zithromax where to buy – floxin 400mg without prescription flagyl 400mg uk

    Reply
  35. nciio says:
    1 month ago

    oral semaglutide – buy cyproheptadine pills order periactin 4mg generic

    Reply
  36. dhst9 says:
    4 weeks ago

    domperidone online buy – domperidone price buy cheap flexeril

    Reply
  37. n14yw says:
    4 weeks ago

    inderal pills – buy clopidogrel methotrexate 2.5mg sale

    Reply
  38. 34rta says:
    3 weeks ago

    buy augmentin 625mg online cheap – atbioinfo buy acillin no prescription

    Reply
  39. paciz says:
    3 weeks ago

    buy esomeprazole 20mg – nexium to us purchase nexium pill

    Reply
  40. 7lgcd says:
    3 weeks ago

    coumadin 5mg usa – coumamide buy losartan 25mg generic

    Reply
  41. 0iwm3 says:
    2 weeks ago

    brand meloxicam – https://moboxsin.com/ order meloxicam 15mg generic

    Reply
  42. Augustine Corkins says:
    2 weeks ago

    I have read a few just right stuff here. Definitely value bookmarking for revisiting. I wonder how so much effort you put to make such a excellent informative web site.

    Reply
  43. p4t8r says:
    2 weeks ago

    buy ed pills usa – https://fastedtotake.com/ sexual dysfunction

    Reply
  44. nbsub says:
    2 weeks ago

    order amoxicillin generic – cheap amoxil pills oral amoxicillin

    Reply
  45. nf1ci says:
    6 days ago

    fluconazole generic – https://gpdifluca.com/ generic diflucan 100mg

    Reply
  46. axkck says:
    5 days ago

    buy cenforce 50mg pill – https://cenforcers.com/ cenforce where to buy

    Reply
  47. d3mrl says:
    3 days ago

    tadalafil tablets 40 mg – when will generic cialis be available in the us is there a generic equivalent for cialis

    Reply
  48. rjnnj says:
    2 days ago

    where can i buy cialis online in australia – vigra vs cialis does cialis shrink the prostate

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

POPULAR NEWS

Memecoin Project Obama6900 (OBX) Joins the Fight Against Malaria with Long-Lasting Insecticidal Nets (LLINs)

Memecoin Project Obama6900 (OBX) Joins the Fight Against Malaria with Long-Lasting Insecticidal Nets (LLINs)

October 28, 2023
Tezos 2023 Outlook: An Overview of Tezos (XTZ)

Tezos 2023 Outlook: An Overview of Tezos (XTZ)

November 2, 2023
UK risks regulating NFTs the wrong way, says Mintable CEO

UK risks regulating NFTs the wrong way, says Mintable CEO

October 30, 2023
How to Earn Keys to Boost Your HMSTR Airdrop

How to Earn Keys to Boost Your HMSTR Airdrop

September 10, 2024
Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

August 3, 2024

Don't miss a single story

Subscribe to our free Newsletter

EDITOR'S PICK

Bitcoin Miners With HPC Exposure Underperformed BTC for Third Straight Month: JPMorgan

Bitcoin Miners With HPC Exposure Underperformed BTC for Third Straight Month: JPMorgan

May 1, 2025
PUMA Goes Phygital, Sells 16K Blockchain-Linked Shoes Built on Avalanche

PUMA Goes Phygital, Sells 16K Blockchain-Linked Shoes Built on Avalanche

November 25, 2023
Crypto chaos: Mysterious user burns $1.65M in ETH, blasts mind control in disturbing message

Crypto chaos: Mysterious user burns $1.65M in ETH, blasts mind control in disturbing message

February 18, 2025
SushiSwap soars 20%, but is market manipulation involved?

SushiSwap soars 20%, but is market manipulation involved?

November 1, 2023

About

Dive into the world of cryptocurrency. Our news site offers insights, trends, and updates to guide your journey into the realm of digital finance.

Follow us

Categories

  • AI
  • Altcoins
  • Analysis
  • Bitcoin
  • Blockchain
  • DeFi
  • Ethereum
  • Gaming
  • Guides
  • Metaverse
  • Mining
  • NFT
  • Other
  • Web 3

Recent Posts

  • Crypto games are struggling in 2025, but big brands aren’t giving up
  • Bitcoin Mempool Emptiness Sparks Network Security Concerns
  • Taking Back Identity: How MocaChain Decentralizes Digital Power

Newsletter

Don't miss a single story

Subscribe to our free Newsletter

  • Contact
  • Disclosure
  • Privacy Policy
  • Terms & conditions

© 2023 Coininsights.com - All rights reserved.

No Result
View All Result
  • Home
  • Crypto
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi
  • Web 3
  • Metaverse
  • NFT
  • Gaming
  • Blockchain
  • AI
  • Guides
  • Analysis
  • Coin Marketcaps

© 2023 Coininsights.com - All rights reserved.