Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jdleo/go-blockchain

proof-of-concept blockchain in golang (w/ consensus algorithm, wallets, merkle trees, derived blocks, mining, etc)
https://github.com/jdleo/go-blockchain

base58 blockchain crypto cryptocurrency go golang miner ripemd160

Last synced: about 2 months ago
JSON representation

proof-of-concept blockchain in golang (w/ consensus algorithm, wallets, merkle trees, derived blocks, mining, etc)

Awesome Lists containing this project

README

        

# Go Blockchain

Proof of concept Blockchain-based cryptocurrency written in Golang.

### Build CLI

```
git clone https://github.com/jdleo/go-blockchain.git
cd go-blockchain
make build
```

### Run

```
./main
```

### Usage

```
Usage:
getbalance -address ADDRESS - get the balance for given address
printchain - prints all blocks in the chain
createblockchain -address ADDRESS - creates a blockchain locally, and genesis block is mined to address
send -from FROM -to TO -amount AMOUNT - send AMOUNT from FROM to TO
createwallet - Creates a new wallet
listaddresses - lists all addresses stored locally in wallets.data
```