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

https://github.com/gekd/gochain

Minimal dockerized blockchain network written in Go
https://github.com/gekd/gochain

blockchain docker-compose go rest-api

Last synced: about 1 month ago
JSON representation

Minimal dockerized blockchain network written in Go

Awesome Lists containing this project

README

          

# GoChain

GoChain is a study project aimed at learning decentralised networking principles. It uses a simplified Proof of Work(PoW) consensus mechanism and a gossip protocol to dynamically discover other nodes.

To run the whole chain:

```docker compose up```

To restart the chain:

```docker compose restart```

To shutdown the chain:

```docker compose down```

or if you want to destroy the container and images also:

```docker compose down --rmi all -v```

To run tests:

```go test GoChain/PACKAGE_NAME```