Atomic Swap

From DeFiChain-Wiki
Revision as of 23:07, 18 August 2021 by DanielZirkel (talk | contribs) (Added Tutorial section with links to Tech-Talk and new Tutorial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

** Under construction **

An introduction to the Atomic Swap is available here.

This feature is still experimental and has to be fully executed on the command line.


The Interchain Exchange or Atomic Swap has been described in the Pinkpaper of DeFiChain. It's aim is to facilitate exchanges between native BTC (not DST BTC/dBTC) and DFI (or DST in general). So in an Atomic Swap an amount of native BTC is changing owner on the Bitcoin blockchain and an amount of DFI is changing owner on the DeFiChain. In short you sell/buy BTC for DFI or vice versa. It is crucial that this swap has maximum security to allow trust less transfers.


With the Desktop full-node wallet the Atomic-Swap feature is only available with the command line interface. You need at least the version 2.6.2, where the SPV-Wallet (Bitcoin-Wallet) is enabled.

A very early tutorial was published on github beginning of June and can be found here. With this nearly nobody was able to do a complete Atomic-Swap and U-Zyn decided to make a live demo in the Tech-Talk livestream on 12th August 2021. If you have not seen it, please have a look on the video. In this demo he presented a new tutorial, which is also published on github: ICX Atomic Swap