Relay Server for the Trustlines Network
Project description
Installation
Prerequisites
Python 3.5 or up
pip
Installation on Ubuntu
sudo apt install build-essential python3-dev python3-virtualenv virtualenv pkg-config libssl-dev automake autoconf libtool libgraphviz-dev git
One of the dependencies used in the relay server is the secp256k1 library. If you’re using python 3.5 on linux you can skip the folowing step, since pypi contains binary packages for secp256k1. If not, you’ll have to run the following to install the secp256k1 C library:
git clone https://github.com/bitcoin-core/secp256k1.git cd secp256k1 ./autogen.sh ./configure --enable-module-recovery make sudo make install sudo ldconfig
Setup
git clone https://github.com/trustlines-network/relay.git cd relay pip install -c constraints.txt -r requirements.txt pip install -c constraints.txt -e . export PYTHONPATH=`pwd` export THREADING_BACKEND=gevent
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(64.6 kB
view hashes)