h4sh3d / monero-swap-lib

A draft implementation of Monero-Bitcoin atomic swap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status License: MIT

THIS PROJECT HAS BEEN ARCHIVED

XMR-BTC Atomic Swap Rust library

This code has not been reviewed or audited and is not complete.

This library aims to implement all the heavy parts required in the draft proposal Bitcoin & Monero Cross-chain Atomic Swap.

Supports (or should support)

  • create and validate setups paramters
  • create Bitcoin transactions
  • discover and validate Monero outputs

TODO

  • zero-knowledge proofs in the setup phase
  • monero integration with monero-rs libraries
  • full validation for Bitcoin transactions

Run tests

Tests need a bitcoin node in regtest mode (see README in ./tests) only.

./run_tests.sh

About

A draft implementation of Monero-Bitcoin atomic swap

License:MIT License


Languages

Language:Rust 99.9%Language:Shell 0.1%