Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.87 KB

setup.md

File metadata and controls

55 lines (40 loc) · 1.87 KB

Sovrin Client

Sovrin Client to interact with Sovrin Network (public/permissioned distributed ledger)

Setup Instructions

Run common setup instructions

Follow instructions mentioned here Common Setup Instructions

Follow instructions mentioned here Charm-Crypto Setup Instructions

Run tests [Optional]

Note: The tests create Sovrin nodes (dont worry, all nodes are created in the same process) which require OrientDB to be running. Follow instructions mentioned here OrientDB Setup Instructions

To run the tests, download the source by cloning this repo. Navigate to the root directory of the source and install required packages by

pip install -e .

Run test by

python setup.py pytest

Installing Sovrin client

pip install -U --no-cache-dir sovrin-client

Note. The tests create Sovrin nodes (dont worry, all nodes are created in the same process) which require OrientDB to be running. You can install OrientDB from here.

Configuration

A Sovrin client can be configured to use flat files or OrientDB for persistence. To use files instead of OrientDB you need to add 2 entries in your configuration located at ~/.sovrin/sovrin_config.py.
The first entry to add is

ClientIdentityGraph = False

And the second is

ReqReplyStore = "file"

Start Sovrin client CLI (command line interface)

Once installed, you can play with the command-line interface by running Sovrin from a terminal.

Note: For Windows, we recommended using either cmder or conemu.

sovrin