An open API service indexing awesome lists of open source software.

https://github.com/ntamvl/simple_blockchain

Simple BlockChain
https://github.com/ntamvl/simple_blockchain

blockchain cryptocurrency golang

Last synced: about 2 months ago
JSON representation

Simple BlockChain

Awesome Lists containing this project

README

        

# Simple BlockChain
Simple BlockChain implement by Go Lang

## How to build
```
cd && git clone https://github.com/ntamvl/simple_blockchain.git
cd simple_blockchain
go get
go build
```

## How to run
```
./simple_blockchain
```

Then see result the same below:
```
Prev. hash:
Data: Genesis Block
Hash: bdb2736a2e0253ad6d7c2fdd024ccfb53f56365a3f23b10c6424f9ca176a711b

Prev. hash: bdb2736a2e0253ad6d7c2fdd024ccfb53f56365a3f23b10c6424f9ca176a711b
Data: Send 1 BTC to Tam
Hash: 56447a30532884ae14c9bbfef8c848a392d704f77d69d29f1656a1ea9c09989e

Prev. hash: 56447a30532884ae14c9bbfef8c848a392d704f77d69d29f1656a1ea9c09989e
Data: Send 2 more BTC to Tam
Hash: eb812d84f009c68c863118b839c51620026f56c8dae7fc3652bee8365cdf8064
```