• Markets
  • Crypto
  • Web3
  • Culture
  • Opinion
  • Politics
Subscribe
  • Login
  • Register
No Result
View All Result
  • Markets
  • Crypto
  • Web3
  • Culture
  • Opinion
  • Politics
No Result
View All Result
No Result
View All Result

The First Bitcoin Cash Atomic Swap Transaction Has Been Made

05/11/2017 15:28
No comments

Bitcoin Cash saw its first atomic swap yesterday according to the announcement of a developer who provided proof of BCH’s very first atomic swap.

That means the currency can now be exchanged for other cryptocurrencies, such as bitcoin, in a trustless manner with little risk through a process that employs bitcoin’s – and bitcoin derivatives – in-built scripting language.

That allows for what are called hash time-locked contracts (HTLCs). As the name implies, that enables very simple agreements, such as I give you A, you give me B, within a time period.

If that time-limit expires, then the agreement is not executed, with the funds simply returned to you, although here it can be complex and there might be some very edge cases.

But in most instances, due to the addition of a second level to a simple transaction through requiring another hash (a sort of private key), an exchange can be performed in such a way that neither can cheat.

In its simplest form, an atomic swap occurs by two individuals verbally or otherwise agreeing with each other to say give 1 BTC for 5BCH. Then, they use an app which does what is conceptualized below.

Andy creates a conditional transaction to pay Bella if she can sign with a hash or if they both sign for it. He then creates a second transaction which basically sends the amount to himself but after 48 hours.

Bella does the same for BCH, with both sending each other the time-locked transaction, broadcasting to the network the main/first one.

Now all they need to do to claim the funds is to provide the cryptographic proof of payment, which they both can generate at this stage, or they both sign in agreement to release each of the funds.

Otherwise, if the proof is not sent to the network or if they both don’t sign in agreement, the funds just return back. Making it all trustless because within the time period they both can claim each other’s funds. And if for some reason they don’t, then they just return back.

The time limit here is quite important, so it is unclear how the bitcoin network can handle atomic swaps during congestions when sometime transaction are delayed for days.

Which may mean it isn’t fully trustless. You have to trust the network will be able to process your proof within the time period and in any event before the return to sender second contract.

But the feature might be useful in some cases, especially in allowing decentralized exchanges between different cryptocurrencies that have the script language.

 

Related Posts

Gas prices, June 2022

Gas Falling Below $6

Ethereum's price on weekly candles, June 2022

Ethereum Finally Closes Green

Lido Votes Against Limiting Staking

Defi Dapps DNS Attacked

Load More
  • Trending
  • Comments
  • Latest
Grayscale's Bitcoin Trust price, June 2022

Grayscale’s Bitcoin Price Falls to $12,000

Ethereum longs, June 2022

Ethereum Longs Spike

Defi dapps DNS hijacked, June 2022

Defi Dapps DNS Attacked

Bitcoin's price and mining costs, June 2022

Bitcoin’s Price Falls Below Cost of Production

Gas prices, June 2022

Gas Falling Below $6

Ethereum's price on weekly candles, June 2022

Ethereum Finally Closes Green

Lido Staking Share, June 2022

Lido Votes Against Limiting Staking

Defi dapps DNS hijacked, June 2022

Defi Dapps DNS Attacked

Comments

Latest News

  • Gas Falling Below $6
  • Ethereum Finally Closes Green
  • Lido Votes Against Limiting Staking

About Trustnodes

Terms of Service

Privacy Policy

Our Ethics and Values

Trustnodes Newsletter

Trustnodes © 2017-2022. All Rights Fully Reserved. For any Enquiries contact@trustnodes.com RSS Feed

No Result
View All Result
  • Login
  • Sign Up
  • Cart
  • Markets
  • Crypto
  • Web3
  • Culture
  • Opinion
  • Politics

Trustnodes © 2017-2022. All Rights Fully Reserved. For any Enquiries contact@trustnodes.com RSS Feed

Welcome Back!

Login to your account below

Authenticate with MetaMask Loading...

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?