Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 878 Bytes

File metadata and controls

37 lines (25 loc) · 878 Bytes

Basic Blockchain

A basic proof of work blockchain based upon this guide by Noah Hein.

Go Badge

Installation

# 1. clone the repository
git clone https://github.com/t02smith/basic-blockchain.git

# 2. build the application
go install github.com/t02smith/basic-blockchain

Command Line Interface

Cobra is used to implement the CLI and you can find out more about the commands by running:

basic-blockchain --help

Typical usage will follow:

# 1. generate your wallets
basic-blockchain create wallet -n 3

# 2. generate a new blockchain
basic-blockchain create blockchain

# 3. send currency between your wallets
basic-blockchain send