Blockchain CLI
Reference implementation
A Rust library provides a command-line interface (CLI) for interacting with blockchain.
Features
- Create a blockchain
- Add a transaction
- Get a transaction
- Get all transactions
- Generate a block
- Change a reward
- Change a difficulty
Usage
Run the following Cargo command in your project directory::
extern crate blockchain;
use Chain;
Contributing
- Build an application:
- Test an application:
- Run an application:
- Run clippy:
- Generate documentation in HTML format: