Qitmeer Atomic-swap
Qitmeer Cross-chain Atomic-Swapping
Through this tutorial, we demonstrate the QITMEER/BTC atomic-swapp by using qitmeer-cli and qx tool under the qitmeer TestNet.
Introduction
What’s Atomic-swapping …
Prerequisites
- golang
- qitmeer-cli
- qx tool
Step By Step QIMEER/BTC Atomicswap Demo
Prepare Private Key & Address
Create Secret Key & Secret Key Hash
Create Qitmeer HTLC (Hash Time-Lock Contract)
Broadcasting transaction
Verify
Create BTC HTLC
Broadcasting transaction
Unlock BTC/Qitmeer HTLC
User get BTC/Qitmeer