Categorygithub.com/paulo-henrique-ph/golang-blockchain
modulepackage
0.0.0-20241109132129-e103dea138f8
Repository: https://github.com/paulo-henrique-ph/golang-blockchain.git
Documentation: pkg.go.dev

# README

golang-blockchain

Simple Blockchain implementation in go

Usage

Get Balance

Retrieve the balance for a specific address.

getbalance -address ADDRESS

Create Blockchain

Create a new blockchain and send a reward to the specified address.

createblockchain -address ADDRESS

Print Chain

Print all the blocks in the blockchain.

printchain

Send Coins

Send a specified amount of coins from one address to another.

send -from FROM -to TO -amount AMOUNT

Create Wallet

Create a new wallet.

createwallet

List Addresses

List all addresses stored in the wallet file.

listaddresses

Reindex Unspent Transactions

Rebuild the UTXO set.

reindexutxo

# Packages

No description provided by the author
No description provided by the author
No description provided by the author