2025-07-08 04:28:42 +03:00
|
|
|
# lbc
|
|
|
|
|
|
2025-07-12 12:12:23 +03:00
|
|
|
Experimental blockchain for social cooperation implementation built on Tendermint and BadgerDB.
|
2025-07-08 04:28:42 +03:00
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
|
|
This project uses Go modules. Ensure Go 1.24 or newer is installed and run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
go build ./...
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
The binary exposes several flags. To generate configuration files and keys for a
|
|
|
|
|
new node run:
|
|
|
|
|
|
|
|
|
|
```bash
|
2025-07-12 13:30:41 +03:00
|
|
|
go run . init genesis
|
2025-07-08 04:28:42 +03:00
|
|
|
```
|
|
|
|
|
|
2025-07-12 13:30:41 +03:00
|
|
|
For joining an existing network use `init join` instead:
|
|
|
|
|
```bash
|
|
|
|
|
go run . init join <path to genesis.json>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Once configured you can start the node with:
|
2025-07-08 04:28:42 +03:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
go run .
|
|
|
|
|
```
|
|
|
|
|
|
2025-07-15 21:20:59 +03:00
|
|
|
To verify Yggdrasil connectivity without starting Tendermint you can run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
go run . testYggdrasil
|
|
|
|
|
```
|
|
|
|
|
|
2025-07-08 04:28:42 +03:00
|
|
|
See `--help` for a full list of available options.
|