From c72ff7fcee039df8c17fad2853c7826721b8baec Mon Sep 17 00:00:00 2001 From: Wei Yang Date: Sun, 22 Oct 2017 10:23:40 +0800 Subject: [PATCH] Change README for bc package --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 76ae180..3bec1db 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,26 @@ A blockchain implementation in Go, as described in these articles: 5. [Addresses](https://jeiwan.cc/posts/building-blockchain-in-go-part-5/) 6. [Transactions 2](https://jeiwan.cc/posts/building-blockchain-in-go-part-6/) 7. [Network](https://jeiwan.cc/posts/building-blockchain-in-go-part-7/) + +# Quick Start + +## Download and install + + go get github.com/richardweiyang/blockchain_go + +## Create file `main.go` +```go +package main + +import "github.com/richardweiyang/blockchain_go" + +func main() { + cli := bc.CLI{} + cli.Run() +} +``` +#### Build and run + + go build main.go + ./main +