Thursday, May 26, 2022
WHATS DOGE
  • Home
  • Bitcoin
  • Dogecoin
  • Altcoin
  • Litecoin
  • Blockchain
  • Ethereum
  • Cryptocurrency
  • DeFi
  • Regulation
  • XRP
  • Videos
No Result
View All Result
WHATS DOGE
No Result
View All Result
Home Litecoin

What Are Atomic Swamps? – Bitcoin Magazine: Bitcoin News, Articles, Charts, and Guides

admin by admin
March 2, 2021
in Litecoin
0
What Are Atomic Swamps? – Bitcoin Magazine: Bitcoin News, Articles, Charts, and Guides
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


btc101-WhatAreAtomicSwaps

Atomic swaps are a peer-to-peer, trustless technique of exchanging cash on completely different blockchains. In essence, atomic swaps mean you can trade, for instance, bitcoin with litecoin, whereas avoiding the necessity to belief an trade or some other third celebration.

Further Reading: What Is Bitcoin?

Atomic swaps may be carried out in certainly one of two methods: Firstly, atomic cross-chain buying and selling may be executed instantly between two blockchains with completely different native cash — referred to as an on-chain atomic swap. Secondly, you should utilize off-chain channels which are offshoots of the principle blockchains concerned — referred to as off-chain atomic swaps.

On-chain atomic swaps present extra safety for the reason that mechanism is embedded into the blockchain itself and the transaction will both finalize or be cancelled. Alternatively, off-chain atomic swaps are quicker and supply extra throughput than on-chain atomic swaps however are extra advanced to carry out and nonetheless a couple of years away from sensible implementation.

Further Reading: What Is a Blockchain?

A Temporary Historical past of Atomic Swaps

Also called atomic cross-chain buying and selling, the thought of atomic swaps has been round since July 2012, with Sergio Demian Lerner’s preliminary try at making a trustless trade protocol referred to as P2PTradeX. The thought was additional refined and formalized by Tier Nolan in Might 2013.

Nolan’s algorithm was refined even additional by former Bitcoin developer Mike Hearn and others. Their improved strategy allowed the direct trade of cash on Bitcoin-derived blockchains, with out particular assist from the protocol.

A profitable mechanism to hold out Nolan’s formal description of an atomic swap didn’t happen till 2014, when the developer jl777 carried out a check for swapping litecoin with dogecoin. Decred later simplified the code to make atomic swaps extra extensively obtainable, successfully executing an atomic swap with litecoin in September 2017.

The primary bitcoin-to-litecoin off-chain atomic swap utilizing the Lightning Community was performed in November 2017. These off-chain atomic swaps are largely simply demonstrations for the time being and have solely been exhibited with two cash that assist the identical Lightning specification, specifically BOLT.

Further Reading: What Is an Altcoin?

How Do Atomic Swaps Work?

Let’s say Alice and Bob wish to trade one bitcoin for 100 litecoin. Alice has one bitcoin and prefers 100 litecoin; Bob has 100 litecoin and prefers one bitcoin.

To make the trade, Bob first creates a secret quantity, a “worth.” He then additionally generates a hash from this worth, and he shares this hash with Alice. (However he doesn’t share the worth itself!)

Now Bob creates a bitcoin transaction, “locking up” one bitcoin. This bitcoin may be claimed in a follow-up transaction in two methods. Both, it may be claimed by Alice, along with her signature, together with the key worth. The Bitcoin community will acknowledge the key worth if it matches the hash, which is included on this transaction. Or, it may be claimed by Bob, together with his signature, however solely after two weeks have handed.

Proper now, Alice can’t declare the bitcoin, as a result of she doesn’t know the key worth, and Bob can’t declare the bitcoin, as a result of two weeks haven’t handed.

Subsequent, Alice creates a litecoin transaction, “locking up” 100 litecoin. The 100 litecoin locked up on this transaction may be unlocked in a follow-up transaction in two methods as effectively:

Both, it may be claimed by Bob, together with his signature, together with the key worth. Or, it may be claimed by Alice, along with her signature, however solely after per week has handed.

Which means that Bob can now declare the 100 litecoin: He does know the key worth. He simply must do it inside per week, as a result of after that week Alice can declare her 100 litecoin again.

Now, if Bob does declare the 100 litecoin with a follow-up transaction, he broadcasts the key worth: it’s now included within the Litecoin blockchain. So, if Alice retains a watch on the Litecoin blockchain, she will be able to simply take the key worth, and, in flip, use it to assert the bitcoin on the Bitcoin blockchain. (She simply must do it inside two weeks, earlier than Bob can declare his bitcoin again.)

Certainly, Bob can solely declare the 100 litecoin if he lets Alice declare her bitcoin: a trustless commerce.

The Way forward for Atomic Swaps

Because the know-how of atomic swaps matures, we should always see elevated adoption amongst decentralized exchanges and wallets. At this level, we’re already beginning to see some uptake of atomic swaps, reminiscent of with Altcoin.io, Atomic wallet and Liquid wallet.

Further Reading: What Are Bitcoin Wallets?

If atomic swaps grow to be extensively used, they might play an element in finally making centralized cryptocurrency exchanges out of date.

However first, atomic swaps must be built-in throughout present wallets and companies. There additionally must be an enchancment within the consumer expertise to make cross-chain buying and selling straightforward for the common particular person.



Source link

Related articles

Cuban Continues Pushing Dogecoin For Payments, Musk Nods His Approval

Cuban Continues Pushing Dogecoin For Payments, Musk Nods His Approval

August 17, 2021
LTC whales go into a buying spree, eying up $260

Litecoin, Ethereum Classic & Polygon — Asian Wrap 17 Aug

August 17, 2021
Tags: ArticlesatomicbitcoinChartsGuidesMagazineNewsSwamps
Share76Tweet47
Previous Post

HOW HIGH CAN LITECOIN GO? TECHNICAL ANALYSIS

Next Post

Second Ethereum ETF Filed in Canada

Related Posts

Cuban Continues Pushing Dogecoin For Payments, Musk Nods His Approval

Cuban Continues Pushing Dogecoin For Payments, Musk Nods His Approval

by admin
August 17, 2021
0

Billionaire investor and proprietor of the Dallas Mavericks Mark Cuban advised CNBC final week that Dogecoin has a stable...

LTC whales go into a buying spree, eying up $260

Litecoin, Ethereum Classic & Polygon — Asian Wrap 17 Aug

by admin
August 17, 2021
0

Litecoin worth reaches main goal, LTC enters a interval of turbulence Litecoin price had been paralyzed by the 2019...

Litecoin price reaches primary target, LTC enters a period of turbulence

Litecoin price reaches primary target, LTC enters a period of turbulence

by admin
August 17, 2021
0

Litecoin worth closes in on the double backside measured transfer worth goal of $191.00 after a ten.82% rip on...

Litecoin, Ethereum Classic and Polkadot Price Analysis: 16 August

Litecoin, Ethereum Classic and Polkadot Price Analysis: 16 August

by admin
August 16, 2021
0

Altcoins Litecoin, Ethereum Basic and Polkadot, all rose on their charts during the last 24 hours, owing to Bitcoin...

The 10 Most Purchased Cryptocurrencies in August 2021

The 10 Most Purchased Cryptocurrencies in August 2021

by admin
August 16, 2021
0

10 cryptocurrencies which were bought essentially the most in August.Cryptocurrencies have taken a stable place within the buying and...

Load More

Leave a Reply Cancel reply

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

I agree to the Terms & Conditions and Privacy Policy.

five × four =

No Result
View All Result

Recent Posts

  • Web3 will be key to the future of China’s internet, says security regulator
  • Ukraine’s President Signs Virtual Assets Bill Legalizing Cryptos
  • Binance Bags Specialist License From Dubai’s Virtual Asset Regulatory Authority
  • Democrat division over crypto isn’t all bad news for regulation
  • Congress members concerned SEC stifling innovation with crypto scrutiny

Recent Comments

    Archives

    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021

    Categories

    • Altcoin
    • Bitcoin
    • Blockchain
    • Cryptocurrency
    • DeFi
    • Dogecoin
    • Ethereum
    • Litecoin
    • Regulation
    • Videos
    • XRP

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Categories

    • Altcoin
    • Bitcoin
    • Blockchain
    • Cryptocurrency
    • DeFi
    • Dogecoin
    • Ethereum
    • Litecoin
    • Regulation
    • Videos
    • XRP

    Follow Us

    Contact Us

    • Privacy & Policy
    • About Us
    • Contact Us

    © 2021 Whats Doge

    No Result
    View All Result
    • Home
    • Bitcoin
    • Dogecoin
    • Altcoin
    • Litecoin
    • Blockchain
    • Ethereum
    • Cryptocurrency
    • DeFi
    • Regulation
    • XRP
    • Videos

    © 2021 Whats Doge

    This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.