- Python 3.6 or up
- pip
sudo apt install build-essential python3-dev libsecp256k1-dev python3-virtualenv virtualenv pkg-config libssl-dev automake autoconf libtool libgraphviz-dev git
To install all needed development dependencies run the following commands in a fresh virtualenv:
git clone https://github.com/trustlines-protocol/relay.git cd relay pip install -c constraints.txt -r requirements.txt pip install -c constraints.txt -e . pre-commit install pre-commit run -a
The last two commands will install a git pre-commit hook and intitialize the pre-commit installation. The installed git pre-commit hooks run flake8 and black among other things when committing changes to the git repository.
We also need to deploy trustlines smart contracts on a local node or testrpc as described here.
Add the address
of the deployed Currency Network
to the file
/relay/networks
:
cd relay python trustlines.py
See CHANGELOG.