Cross-chain atomic swaps between the networks of two cryptocurrencies.
Project description
Shuttle
Shuttle is a python library for cross-chain atomic swaps between the networks of two cryptocurrencies. ​Cross-chain atomic swaps are the cheapest and most secure way to swap cryptocurrencies. It’s a brand new decentralized payment environment based on Hash Time Lock Contracts (HTLCs) protocol.
Dependencies
Shuttle has the following dependencies:
- bytom-wallet-desktop - version 1.1.0 or greater.
- pip - To install packages from the Python Package Index and other indexes.
- python3 version 3.6 or greater, python3-dev.
Installation
PIP to install shuttle globally. For Linux sudo may be required.
$ pip install pyshuttle
For the versions available, see the tags on this repository.
Development
We welcome pull requests. To get started, just fork this repo, clone it locally, and run:
$ pip install -e . -r requirements.txt
Testing
Tests are still under development.
You can run the tests with:
$ pytest
Or use tox
to run the complete suite against the full set of build targets, or pytest to run specific
tests against a specific version of Python.
Contributing
Feel free to open an issue if you find a problem, or a pull request if you've solved an issue.
License
Distributed under the AGPL-3.0 license. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyshuttle-0.2.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1110b581cbe7d068dc406efb5e40e969d1cbc0ad673f97aba2a6c12cf9df1879 |
|
MD5 | 0583274f1f61daebf714268ab61a1b0f |
|
BLAKE2b-256 | 33dc82a1056d347659046166cbeedc689b68fe4ae3718f96027359828c52f63b |