Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.83 KB

Readme.md

File metadata and controls

64 lines (43 loc) · 1.83 KB

RusChain

right now in Phase 1

Experimental 2-layered blockchain with rust.

RusChain

Getting Started

Visit DevDocs for more details.

Installation

to install the project, clone the repository and run the following command:

cargo build

Also for documentation, run the following command:

cargo doc --open

Prerequisites

2-Layered Blockchain Implementation Roadmap:

  • Setup Initial Codebase

    • Create a new Rust project using cargo.
    • Define the basic project structure.
    • Set up dependencies in the Cargo.toml file.
  • Implement Single Node Chain (Layer 1)

    • Create a basic block structure.
    • Implement Proof of Work (PoW) consensus for Layer 1.
    • Develop functions for adding blocks to the main chain.
  • Implement Multiple Node Chain (Layer 1)

    • Extend the code to handle multiple nodes in Layer 1.
    • Implement peer-to-peer communication for nodes in Layer 1.
  • Make Central Chain (Layer 2)

    • Create a new module for Layer 2 functionality.
    • Define a specialized block structure for Layer 2.
    • Design a consensus mechanism for Layer 2 (e.g., PBFT).
  • Connect Layer 2 to Layer 1

    • Develop a mechanism for Layer 2 to connect with the main chain.
    • Enable communication between Layer 1 and Layer 2 nodes.
    • Implement data exchange and confirmation between the layers.
  • Documentation and Refinement

    • Document the code and system architecture.
    • Refine the code for clarity and maintainability.
    • Consider adding comments and docstrings where necessary.