modified: cli/run.go
modified: configfunctions/configfunctions.go
modified: go.mod
modified: go.sum
33 lines
594 B
Markdown
33 lines
594 B
Markdown
# 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:
|
|
|
|
```bash
|
|
go build ./...
|
|
```
|
|
|
|
## Usage
|
|
|
|
The binary exposes several flags. To generate configuration files and keys for a
|
|
new node run:
|
|
|
|
```bash
|
|
go run . init genesis
|
|
```
|
|
|
|
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:
|
|
|
|
```bash
|
|
go run .
|
|
```
|
|
|
|
See `--help` for a full list of available options.
|