Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/jdleo/go-blockchain
- Owner: jdleo
- Created: 2021-04-23T01:35:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-24T17:18:34.000Z (over 3 years ago)
- Last Synced: 2024-08-03T23:27:54.821Z (5 months ago)
- Topics: base58, blockchain, crypto, cryptocurrency, go, golang, miner, ripemd160
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-golang-repositories - go-blockchain - of-concept blockchain in golang (w/ consensus algorithm, wallets, merkle trees, derived blocks, mining, etc) (Repositories)
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
```