Skip to content

About

Celestia consensus node in Rust

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

celestia-rs

One Rust binary runs a Celestia consensus full node or validator and serves data availability (DA) requests as an integrated bridge. To run a light node, use Lumina. Rust validators sign alongside Go validators on Mainnet and Mocha.

The project is experimental. General Mainnet qualification for non-archival RPC nodes, full nodes and validators is still open. Qualification milestones · Open questions

Install

Install the release recommended for your network on Linux or Apple silicon macOS. Choose mainnet, mocha or corto.

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/celestiaorg/celestia-rs/main/scripts/install.sh | sh -s -- --channel mainnet

Run the command again to update. New daily releases land on Corto first. After 24 hours on Corto, a release becomes eligible for Mocha. After another 24 hours on Mocha, it becomes eligible for Mainnet. Release channels

Run a node

Role How to run it
Consensus full node celestia-rs start --network mocha initializes a home and joins Mocha. Quick starts
Validator The consensus node votes with a local signing key and persistent double-sign protection. Validator setup
Experimental DA bridge Configure DA listeners on the consensus node to serve verified headers and shares. Bridge setup
Light node celestia-rs has no stand-alone light node. Run Lumina instead.

A pruned node or validator targets 8 CPU cores, 16 GB RAM and 500 GB of NVMe storage. Track commits, peers, mempool load and validator signing in Grafana. Hardware sizing · Linux dashboard · macOS dashboard and alerts

Performance vs Go

In two cold Mainnet syncs on 8-vCPU VMs, celestia-rs reached an independently verified tip in 307 and 329 seconds, versus 1,493 and 1,361 seconds for celestia-app v11.0.0. Over the next matched 600-block DA workload, the Rust node and bridge used 65% less peak cgroup memory while serving the same shares. Paired Mainnet measurements

Snapshot discovery can dominate sync time. In separate 1,000-block runs on 32-vCPU VMs, Rust restored snapshots about 8× faster, but time to verified tip ranged from 18.6 vs 4.4 minutes to 16.9 vs 17.7 minutes (Go vs Rust). Block-range measurements

Development

cargo build --locked --release -p celestia-rs --features bridge-p2p
cargo test --workspace
cargo xtask repo-health --offline

Operator website · Operator guide · Go conformance tests · Quality and fuzzing · Security

Dual-licensed under Apache 2.0 and MIT.

About

Celestia consensus node in Rust

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages