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. Documentation
Available Cryptocurrencies
Shuttle has the following available cryptocurrencies to swap:
| Cryptocurrencies | Mainnet | Testnet | Solonet |
|---|---|---|---|
Bitcoin BTC |
Yes | Yes | None |
Bytom BTM, Assets |
Yes | No | No |
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.
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 .[tests] -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.
Metadata
Release files for pyshuttle 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyshuttle-0.3.4.tar.gz | 57.1 kB | Without provenance | Details for pyshuttle-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyshuttle-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for pyshuttle-0.3.4-py3-none-any.whl |
Total release size: 132.4 kB
Release files / pyshuttle-0.3.4.tar.gz
| Download URL | pyshuttle-0.3.4.tar.gz |
|---|---|
| Size | 57.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7dbe78c24b416963a60022782b9271f00d4d0359b7b02300f46cbcc80cf7e2e7
|
|
BLAKE2b-256 checksum How to use checksums |
6775e4df3055294a0d6393b3002e741868421522627c5020790ccacbcaba95cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
|
Release files / pyshuttle-0.3.4-py3-none-any.whl
| Download URL | pyshuttle-0.3.4-py3-none-any.whl |
|---|---|
| Size | 75.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a55f8147da1eb66de8e6253d4e7cf833e50e80e797a2f0fe23ac5cdad7934c69
|
|
BLAKE2b-256 checksum How to use checksums |
8983f90afd1014b1ca0711e21b4c61c16cc7038af836263bc6f8666ecf1e99aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
|
Security for pyshuttle 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.