2019-07-17 15:12:06 +00:00
|
|
|
|
2019-07-26 10:07:25 +00:00
|
|
|
# Simple Atomic Swap Network - Proof of Concept
|
|
|
|
|
2022-11-20 18:58:10 +00:00
|
|
|
|
2019-07-17 15:12:06 +00:00
|
|
|
## Overview
|
|
|
|
|
|
|
|
Simple atomic swap experiment, doesn't have many interesting features yet.
|
|
|
|
Not ready for real world use.
|
|
|
|
|
|
|
|
Uses Particl secure messaging and Decred style atomic swaps.
|
|
|
|
|
|
|
|
The Particl node is used to hold the keys and sign for the swap transactions.
|
|
|
|
Other nodes can be run in pruned mode.
|
|
|
|
A node must be run for each coin type traded.
|
|
|
|
In the future it should be possible to use data from explorers instead of running a node.
|
|
|
|
|
2022-11-20 18:58:10 +00:00
|
|
|
|
2019-07-17 15:12:06 +00:00
|
|
|
## Currently a work in progress
|
|
|
|
|
|
|
|
Not ready for real-world use.
|
|
|
|
|
2020-12-04 17:06:50 +00:00
|
|
|
Discuss development and help with testing in the matrix channel [#basicswap:matrix.org](https://riot.im/app/#/room/#basicswap:matrix.org)
|
2022-11-20 18:58:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Guix
|
|
|
|
|
|
|
|
Start a development environment
|
|
|
|
|
|
|
|
guix shell --pure -D -f guix.scm
|
|
|
|
|
|
|
|
|
|
|
|
Run tests
|
|
|
|
|
|
|
|
export PYTHONPATH=$(pwd)
|
|
|
|
|
|
|
|
# Prepare coin binaries - required once
|
|
|
|
python ./bin/basicswap-prepare.py -preparebinonly --withcoins=monero,bitcoin,particl,litecoin
|
|
|
|
|
|
|
|
pytest -vs tests/basicswap/test_run.py::Test::test_02_part_ltc
|
|
|
|
|