| commit | a0d19cee919f3e44946a23f18cc97fab98c76e48 | [log] [tgz] |
|---|---|---|
| author | AlphaRoy14 <AlphaRoy14@gmail.com> | Thu Oct 03 00:48:15 2024 -0400 |
| committer | AlphaRoy14 <AlphaRoy14@gmail.com> | Thu Oct 03 00:48:15 2024 -0400 |
| tree | 99cac602382c2911eabc4d1798f9723fc248960e | |
| parent | d4cbf516b1cdd2dfa7017e153d7591d6b93b8f62 [diff] |
Format with black line-length 88
$ python3 --version
If your Python version number is too low you may encounter type hinting issues when attempting to run the code. You can use a Python virtual environment, as shown below.
$ sh INSTALL.sh
$ python3.10 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
The correct Python configuration is needed for transaction validation.
If your virtual environment is not already active:
$ source venv/bin/activate
Run the script to start 4 local nodes
$ sh service/tools/start_kv_service_sdk.sh
$ bazel build service/http_server/crow_service_main
$ bazel-bin/service/http_server/crow_service_main service/tools/config/interface/client.config service/http_server/server_config.config
For a list of endpoints visit here
$ bazel-bin/service/kv_service/kv_service_tools service/tools/config/interface/service.config set test 1234
Examples of using the driver can be seen in test_driver
Replace the db_root_url with the address of the ResilientDB HTTP endpoints e.g. 127.0.0.1:18000