/blockchain

Blockchain in Rust with Command line interface

Primary LanguageRust

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