Skip to content

Prathiksha-Nataraja/rust-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Cli for Blockchain Using Rust

This project demonstrates a rudimentary blockchain implementation in Rust, providing a basic framework for understanding the core concepts of blockchain technology.

Key Features

  • Genesis Block Creation: Establishes the foundation of the blockchain with a pre-defined miner address and difficulty level
  • Transaction Processing: Allows users to initiate transactions by specifying a sender, receiver, and amount.
  • Block Mining: Enables generation of new blocks through a user-selectable difficulty level, simulating proof-of-work consensus.
  • Interactive Menu(CLI): Provides a user-friendly interface for transaction creation, block mining, and customization of difficulty and reward parameters
  • Basic Input/Output: Employs standard input/output (io) functionalities for user interaction and data exchange.

Running the project

  1. Ensure you have Rust and Cargo installed on your system.

  2. Clone this repository

    git clone https://github.com/Prathiksha-Nataraja/rust-blockchain.git
    
  3. Compile and Run

    cargo run
    

License

This project is licensed under the MIT Licence

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages