Skip to content

Elitexv/rooch

 
 

Repository files navigation

Rooch

Rooch is a modular DApp container with the Move language.

Check-Build-Test License LoC

Usage

  1. Rooch Ethereum Layer2: Rooch(Execution) + Layer1s(Settlement) + Ethereum(Arbitration) + DA
  2. XChain Modular DApp: Rooch(Execution) + XChain(Settlement + Arbitration) + DA
  3. Rooch Layer3 Modular DApp: Rooch(Execution) + Rooch Layer2(Settlement + Arbitration) + DA
  4. Sovereign Rollup: Rooch + DA

Getting Started

  1. Build from source
    cargo build && cp target/debug/rooch ~/.cargo/bin/
  2. Create a new Move project
    rooch move new my_move_project
  3. Init Rooch config
    rooch init
  4. Build the Move project
    cd my_move_project && rooch move build
  5. Start the server
    rooch server start

If you want a more detailed log for debugging, you can use RUST_LOG=debug rooch server start

  1. Publish the Move project
    rooch move publish -p my_move_project

Deep Dive into Rooch

Storage Abstraction module overview:

Storage Abstraction

State DB:

State DB

Rooch Transaction Flow

Components

  • MoveOS: MoveOS is a standalone Move runtime environment based on MoveVM. It provides Move execution environment for rooch.

How to Contribute

You can learn more about contributing to the Rooch project by reading our Contribution Guide and by viewing our Code of Conduct.

Rooch Network Rooch is licensed under Apache 2.0.

Join the Community

To connect with the Rooch Network community, please join our Discord.

Packages

No packages published

Languages

  • Rust 81.1%
  • Move 15.9%
  • Shell 2.4%
  • Gherkin 0.3%
  • Dockerfile 0.1%
  • JavaScript 0.1%
  • TypeScript 0.1%