Saturday, 15 December 2018

Announcing OpenSwap, a fork of Electron Cash featuring atomic swap functionality.

For the last few months, I've been working on making an atomic swap tool based on Electron Cash. The software is designed to follow the model of a decentralized exchange, in the sense that it could be used by any capable liquidity provider to provide exchange services.

The Github code is here: https://github.com/markblundeberg/openswap

OpenSwap brings together a few concepts:

  • A virtual orderbook resides on the Bitcoin Cash blockchain, thus providing a BCH-based DEX if the protocol would be widely used.
  • Negotiations are carried out using "BCHMessage" -- an on-chain messaging protocol that uses encrypted OP_RETURN payloads.
  • The trades themselves are trustless atomic swaps (using the hash lock method).
  • Atomic swap details (one-time private keys, secrets, etc.) are deterministically derived, making it possible to completely recover mid-swap using only the wallet seed.

There will be an initial beta version soon with a basic walkthrough of the process. Developers are encouraged to participate in our telegram group (see github page for link -- would link here but reddit bans telegram links).

The initial release features BCH and BTC, by integrating elements from the BTC Electrum into BCH Electron Cash. I'd like to thank Rajnikant Sharma for the heroic effort in making this multi-wallet support a reality!

Other Bitcoin compatible coins can be added later such as LTC, DASH, DOGE, and others. I welcome developers from these and other communities to help build the next generation software.

The software release should be coming soon, but I would like to get testers, advocates, and developers looking at it. Again, telegram link is available on the github page!

submitted by /u/markblundeberg
[link] [comments]

source https://www.reddit.com/r/btc/comments/a6av6o/announcing_openswap_a_fork_of_electron_cash/

No comments:

Post a Comment