Sovrin Client to interact with Sovrin Network (public/permissioned distributed ledger)
Follow instructions mentioned here Common Setup Instructions
Follow instructions mentioned here Charm-Crypto Setup Instructions
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
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.
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"
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