dev-academy-programme / plug-cryptokiwis

0 stars 1 forks source link

Crypto Kiwis (Client)

Setup

Clone the repo

git clone https://github.com/dev-academy-programme/plug-cryptokiwis.git

Run these commands to install

pipenv install <PATH_TO_PLUG_CORE_LIBRARY>
pipenv install <PATH_TO_PLUG_API_LIBRARY>
pipenv install -e .
pipenv install -d
pipenv shell
plug-dev create-network -n1 config.yaml -d ./nodes -f
plug run --config ./nodes/node_0/config.yaml

You should see a screen like this on your terminal:

_ __ | |_   _  __ _
| '_ \| | | | |/ _` |
| |_) | | |_| | (_| |
| .__/|_|\__,_|\__, |
|_|            |___/   v0.0.20a

eventloop running forever, press CTRL-C to interrupt...
PID 6297, send SIGINT or SIGTERM to exit.
To get verbose consensus diagnostics, use --log-level=DEBUG
2018-09-14 09:31:59,725 - INFO - 106 - Setting up ...
2018-09-14 09:31:59,814 - INFO - 110 - Running ...

Tests

Run your tests with:

python setup.py tests

Command Line

Create User

To create a user from the command line, run

python3 client create_user

You should see an output like

address: 1CAZVSMP4c3FueFQE8kKrLoXL2ViXMJeVX