Home

Awesome

GoChain

A basic implementation of blockchain in go.

Building

$ cd cmd
$ go build -o gochain

Usage

Starting a node

You can start as many nodes as you want with the following command

./gochain -port=<port-number>

Endpoints

Requesting the Blockchain of a node

Mining some coins

Adding a new transaction

Register a new node in the network

Currently you must add each new node to each running node.

Resolving Blockchain differences in each node