Change README for bc package

This commit is contained in:
Wei Yang 2017-10-22 10:23:40 +08:00
parent b415f08c46
commit c72ff7fcee
1 changed files with 23 additions and 0 deletions

View File

@ -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