wallet/

directory
v0.0.0-...-e1a9b42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: MIT

README

Example of wallet module for blockchain

///////Run: ~ go run wallet/cmd/main.go createblockchain -address "name" to create a blockchain with a specified address; ~ go run wallet/cmd/main.go printchain to print the chain; ~ go run wallet/cmd/main.go getbalance -address "name" to get actual balance of coins in the specified address; ~ go run wallet/cmd/main.go send -from "name" -to "name" -amount 123 to send the specified amount of coins from specified address to specified address; ~ go run wallet/cmd/main.go createwallet to create new Wallet; ~ go run wallet/cmd/main.go listaddresses to list existing wallets;

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL