Skip to content
No description, website, or topics provided.
Python Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
docker/trustlines
docs
relay
tests
.dockerignore
.gitignore
.pre-commit-config.yaml
CHANGELOG.rst
Dockerfile
LICENSE
README.rst
config.json
config.toml
constraints.txt
pyproject.toml
pytest
requirements.txt
setup.cfg
setup.py
tox.ini

README.rst

Code style: black

https://circleci.com/gh/trustlines-protocol/relay.svg?style=svg

trustlines relay server

Installation

Prerequisites

  • Python 3.6 or up
  • pip
Installation on Ubuntu
sudo apt install build-essential python3-dev libsecp256k1-dev python3-virtualenv virtualenv pkg-config libssl-dev automake autoconf libtool libgraphviz-dev git

Setup

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:

Usage

cd relay
python trustlines.py

Docs

Change log

See CHANGELOG.

You can’t perform that action at this time.