Skip to main content

Relay Server for the Trustlines Network

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trustlines-relay-0.11.0.tar.gz (96.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page