Basic Atomic Swap Proof of Concept
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
tecnovert d15cf3dd6f
guix: Add guix.scm
2 years ago
basicswap guix: Add guix.scm 2 years ago
bin guix: Add guix.scm 2 years ago
doc preparescript: Add WALLET_ENCRYPTION_PWD env var. 2 years ago
docker docker: Add PIVX, Dash and Firo to isolated config 2 years ago
pgp Add non-segwit Firo support. 2 years ago
tests ui: Add wallet encryption templates. 2 years ago
.cirrus.yml merge: Fix merge and lint issues. 2 years ago
.gitattributes doc: Simplify Windows install notes. 3 years ago
.gitignore guix: Add guix.scm 2 years ago
.travis.yml merge: Fix merge and lint issues. 2 years ago
Dockerfile ui: Add websocket notifications. 2 years ago
LICENSE LICENSE.txt -> LICENSE 4 years ago
MANIFEST.in Add favicon and css, inc version. 3 years ago
README.md guix: Add guix.scm 2 years ago
guix.scm guix: Add guix.scm 2 years ago
requirements.txt guix: Add guix.scm 2 years ago
setup.py guix: Add guix.scm 2 years ago
tox.ini tests: Fix NMC tests. 2 years ago

README.md

Simple Atomic Swap Network - Proof of Concept

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.

Currently a work in progress

Not ready for real-world use.

Discuss development and help with testing in the matrix channel #basicswap:matrix.org

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