Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
On Friday, Nov. 16, the developers behind the full node projects Bcoin and Bcash announced an application that allows users to complete cross-chain atomic swaps between both the BCH and BTC chains. The Bcoin programmers have also released a guide, videos and code for beginners and experts who want to swap BTC for BCH in a decentralized fashion.
Also read: Markets Update: Traders Expect Major BCH Action When Exchanges Open
BCH and BTC Cross-Chain Swaps With No Middlemen
The Bcoin developers recently released an application for users who want to learn how to execute atomic swaps between the BCH and BTC blockchains. Cross-chain atomic swaps have generated a lot of buzz lately, as the process allows people to swap two different cryptocurrencies, but without the need for third parties. Both Bcoin and Bcash are full node BTC and BCH implementations built with Javascript/NodeJS. With the atomic swap application, the Bcoin programmers wholeheartedly believe that in order âto protect both users, there must be no scenario in which one person can control both coins at the same time.â
âAtomic swaps enable some of the coolest layer-two technology in crypto, like Lightning and DEXs,â the Bcoin team stated. âWe put together an illustrated guide to walk you through the process, complete with code and videos.â
Bcoinâs atomic swap guide, written by Matthew Zipkin, gives readers a comprehensive look into the technology under the hood. Similar to other types of second-layer technologies, cross-chain swaps use a protocol called Hash Time Locked-Contract (HTLC). Bcoinâs website explains the process through written descriptions and shows visuals of Alice and Bob performing an atomic swap. The guide also shows how the script is written by creating HTLC scripts with the Bcoin and Bcash libraries. Additionally, the walkthrough details how to fund swaps and redeem them once the funds are sent to the designated addresses. The atomic swap templates are accompanied by a video demonstration of the cross-chain trade.
Centralized Exchanges and Hacks Bolster
the Need for Atomic Swaps
Over the last year concepts such as cross-chain atomic swaps have been growing more popular because of issues with centralized exchanges, which are still being hacked to this day. The decred (DCR) development team was the first to perform a cross-chain atomic swap between DCR and LTC back on Sept. 20, 2017. In the Bcoin and Bcash atomic swap guide, Zipkin cites the decred atomic swap Github repository.
There have also been a few other individuals and teams from various cryptocurrency projects who have been attempting to produce viable and decentralized models. Three months ago, BCH developer Mark Lundeberg published a proof-of-concept of a way to do peer-to-peer atomic swaps without an âobvious on-chain fingerprint.â Lundebergâs âSwap Channelsâ essentially hide atomic swaps using ordinary payment channels.
The Bcoin applicationâs documentation further explains how users can install to Windows, Mac and Linux, with accompanying videos for each operating system. The platformâs developers have also released API documentation for programmers who want to integrate the protocol into websites or other types of applications. In addition, the Bcoin team said users can make requests at the Github repository and contributors can earn bounties.
What do you think about the Bcoin and Bcash cross-chain atomic swaps? Let us know your opinion in the comments section below.
Images via Shutterstock, Twitter, Bcoin, and the Bcoin blog.Â
Need to calculate your bitcoin holdings? Check our tools section.Â
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.