/xpringbox

ripple coding exercise

Primary LanguagePython

xpringbox

Demonstration of trustlines.

Prep

Virtual Environment

For the purposes of this demonstration, we'll be using virtualenvwrapper.

mkvirtualenv --python=python3 xpringbox

Dependencies

Our only requirement beyond python's standard library is cmd2 for the command-line interpreter.

pip install -r requirements.txt

or simply

pip install cmd2

Usage

Ensure you're using the correct python interpreter.

workon xpringbox

Terminal 1

./start-trustline.py --host_addr "127.0.0.1" --host_port 10889 --host_name "alice" --remote_addr "127.0.0.1" --remote_port 10888

Terminal 2

./start-trustline.py --host_addr "127.0.0.1" --host_port 10888 --host_name "bob" remote_addr "127.0.0.1" --remote_port 10889