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
- Host: GitHub
- URL: https://github.com/gekd/gochain
- Owner: Gekd
- Created: 2025-06-26T18:44:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-01T13:08:54.000Z (12 months ago)
- Last Synced: 2025-07-01T14:26:09.126Z (12 months ago)
- Topics: blockchain, docker-compose, go, rest-api
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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```