IvanProg00 / blockchain

Blockchain in Rust with Command line interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain

Simple implementation of Blockchain in Rust. The user can communicate with the blockchain via CLI.

Basic commands

  • Create Wallet:

    blockchain create-wallet
    # Returns address of the wallet
  • Creates a Blockchain and issues 10 coins to the wallet:

    blockchain create $WALLET_ADDRESS
  • Get balance:

    blockchain get-balance $WALLET_ADDRESS
  • Send coins:

    blockchain send $FROM_WALLET $TO_WALLET $AMOUNT

About

Blockchain in Rust with Command line interface


Languages

Language:Rust 100.0%