The KERI Working Group is no longer active under DIF. Ongoing KERI work has moved to the Web of Trust GitHub repository.
Kademlia based DHT mechanism for KERI Discovery written in Python but leveraging C libraries for Kademlia. For more details, please visit KERI Resources, in particular, the whitepaper. The specifications for KERI are also a good place to go for more information.
keridht
is a python package and can be installed directly from PyPI.
pip install keridht
daemon.py --examples
The second command will print a set of examples of how to start the local DHT node,
and which options are available for configuration. Note that on some systems, the
python opendht
package does not build automatically using cython
. In these cases,
you will either need to use the docker container, or build manually as described
below.
We plan to release a docker container with the DHT soon.
keridht
integrates the core KERI libraries
(https://github.com/decentralized-identity/keri) with OpenDHT
using python. To be as performant as possible, the I/O is handled asynchronously
using hio.
To manually build opendht
on MacOS. Make sure you are in the python virtualenv
you intend to use before running this install script.
./install_deps.sh
keridht
uses pytest
to run all the unit tests. To run all the pre-configured
tests, just run pytest
from this repository root.