Installing Swap
The easiest way to install Swap is via pip:
$ pip install swap
If you want to run the latest version of the code, you can install from git:
$ pip install git+git://github.com/meherett/swap.git
For the versions available, see the tags on this repository.
Development
We welcome pull requests. To get started, just fork this github repository, clone it locally, and run:
$ pip install -e . -r requirements.txt
Once you have installed, type swap
to verify that it worked:
$ swap
Usage: swap [OPTIONS] COMMAND [ARGS]...
Options:
-v, --version Show Swap version and exit.
-h, --help Show this message and exit.
Commands:
bitcoin Select Bitcoin provider.
bytom Select Bytom provider.
vapor Select Vapor provider.
Dependencies
Swap has the following dependencies:
solc v0.8.3 - Solidity, the Smart Contract Programming Language
bytom-wallet-desktop - version 1.1.0 or greater.
vapor-wallet-desktop - version 1.1.7 or greater.
pip - To install packages from the Python Package Index and other indexes
python3 version 3.6 or greater