Skip to content

A simple implementation of a blockchain in Go. Stored in a redis database.

Notifications You must be signed in to change notification settings

filipkrayem/go-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Chain

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.

If anyone ever wants to run the code for some reason:

Prerequisites

  1. Install Go and Redis
  2. Start the redis server (Program uses the default DB, so if you have ever used Redis, make sure there's nothing important there)
  3. That should be it :)

Run the code

  1. Clone the repo and cd to it.
  2. go run main.go add -block BLOCK_DATA to add a block
  3. go run main.go print to show all created blocks

About

A simple implementation of a blockchain in Go. Stored in a redis database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages