noncommercial blockchain
Find a file
Gregory Bednov dae1cd484e Add ER diagram and schema docs, enhance tx validation
Added ER.svg and database_schema.md to document the logical data model. Refactored and extended transaction validation in blockchain/abci.go to enforce ID prefix rules, entity existence, and uniqueness for promises, commitments, commiters, and beneficiaries. Updated lbc_sdk dependency version in go.mod and go.sum.
2025-08-10 22:39:28 +03:00
.github/workflows major release 2025-07-12 12:07:50 +03:00
blockchain Add ER diagram and schema docs, enhance tx validation 2025-08-10 22:39:28 +03:00
cfg changed module name with github official url 2025-08-10 12:22:09 +03:00
cli changed module name with github official url 2025-08-10 12:22:09 +03:00
docs Add ER diagram and schema docs, enhance tx validation 2025-08-10 22:39:28 +03:00
yggdrasil yggdrasil works 2025-08-02 11:50:53 +03:00
.gitattributes commit 2025-07-08 04:28:42 +03:00
.gitignore major release 2025-07-12 12:07:50 +03:00
go.mod Add ER diagram and schema docs, enhance tx validation 2025-08-10 22:39:28 +03:00
go.sum Add ER diagram and schema docs, enhance tx validation 2025-08-10 22:39:28 +03:00
LICENSE commit 2025-07-08 04:28:42 +03:00
main.go changed module name with github official url 2025-08-10 12:22:09 +03:00
peers.txt fixes 2025-07-16 13:57:19 +03:00
README.md Add Yggdrasil connectivity test command 2025-07-15 21:20:59 +03:00
shell.nix yggdrasil rocks (finally checked, everything OK) 2025-08-04 00:54:23 +03:00

lbc

Experimental blockchain for social cooperation implementation built on Tendermint and BadgerDB.

Building

This project uses Go modules. Ensure Go 1.24 or newer is installed and run:

go build ./...

Usage

The binary exposes several flags. To generate configuration files and keys for a new node run:

go run . init genesis

For joining an existing network use init join instead:

go run . init join <path to genesis.json>

Once configured you can start the node with:

go run .

To verify Yggdrasil connectivity without starting Tendermint you can run:

go run . testYggdrasil

See --help for a full list of available options.