blockchain_go/README.md

923 B

Blockchain in Go

A blockchain implementation in Go, as described in these articles:

  1. Basic Prototype
  2. Proof-of-Work
  3. Persistence and CLI
  4. Transactions 1
  5. Addresses
  6. Transactions 2
  7. Network

Quick Start

Download and install

go get github.com/richardweiyang/blockchain_go

Create file main.go

package main

import "github.com/richardweiyang/blockchain_go"

func main() {
	cli := bc.CLI{}
	cli.Run()
}

Build and run

go build main.go
./main