Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sewera/blockchain-blackbird
Simple immutable blockchain database made with Python
https://github.com/sewera/blockchain-blackbird
Last synced: about 1 month ago
JSON representation
Simple immutable blockchain database made with Python
- Host: GitHub
- URL: https://github.com/sewera/blockchain-blackbird
- Owner: sewera
- License: mpl-2.0
- Created: 2021-12-31T15:15:22.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T16:57:56.000Z (over 2 years ago)
- Last Synced: 2024-10-28T04:12:15.619Z (3 months ago)
- Language: Python
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blockchain Blackbird
A simple immutable database based on blockchain.## Usage
- Create (or use an existing) Python venv. Use Python 3.10 and ensure that pip
installed all the necessary dependencies from `requirements.txt`
```bash
./setup
```
- Start the Pyro NameServer
```bash
./ns/start
```
- Start the DB (Persistence microservice)
```bash
./db/start
```
- Start a couple of nodes
```bash
./node/start
```
- Make a transaction
```bash
./client/cli
```## Development
There is a handy Pyro NameServer cli tool, available with:
```bash
pyro5-nsc
```
Documentation on this tool is available
[here](https://pyro5.readthedocs.io/en/latest/nameserver.html#nameserver-nsc).
Make sure the NameServer is running and Python venv is activated (docs on venv
available [here](https://docs.python.org/3/library/venv.html#creating-virtual-environments)).