Kusama non-custodial trading REST API
810
Substrate microservice API providing REST endpoints for multi-signature trading, originally built for LocalCoinSwap
We suggest using pyenv to easily manage python versions. Some of the following commands use pyenv.
Use pyenv-installer for easy installation. Then add pyenv-virtualenv plugin to it.
Install and activate python 3.8.1 in the root directory
pyenv install 3.8.1pyenv virtualenv 3.8.1 substrateapipyenv local substrateapiInstall project requirements
pip install -r requirements.txtInstall precommit hook
pre-commit installCreate a file local.env in service/config/local.env from example-local.env
You're all set to hack!
Before making changes, let's ensure tests run successfully on local.
coverage run -m pytest -vcoverage report -mContent type
Image
Digest
Size
435.7 MB
Last updated
almost 6 years ago
docker pull localcoinswap/kusama-api