Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)).