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

Contribute on GitHub

Report an Issue | View File | Edit File

© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License Creative Commons License