Skip to content

[INPROGRESS] Experimental 2-layered blockchain with rust.

Notifications You must be signed in to change notification settings

Himasnhu-AT/RusChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

[INPROGRESS] Experimental 2-layered blockchain with rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published