A very simple and basic implementation of a blockchain, written in Go and stored in a Redis database. Has no actual use, I built it just for fun, to get familiar with the subject.
- Install Go and Redis
- Start the redis server (Program uses the default DB, so if you have ever used Redis, make sure there's nothing important there)
- That should be it :)
- Clone the repo and cd to it.
go run main.go add -block BLOCK_DATA
to add a blockgo run main.go print
to show all created blocks