Calimero Core

Calimero is a peer-to-peer platform for building collaborative apps with automatic conflict-free sync, encrypted P2P networking, and group-based access control. Write your app in Rust or JavaScript, compile to WASM, and every node runs the same logic with state that converges automatically.

Start Here

Pick your path based on what you want to do.

1

Build an App

Get a node running, deploy your first app, and understand groups, contexts, and CRDTs.

Getting Started →

2

Deploy & Operate

Install merod, configure nodes, manage groups and members, set up TEE mode.

merod & meroctl →

3

Understand the Architecture

Dive into the internals: actors, governance DAGs, sync protocols, storage schema.

System Overview →

Crate Index

Key Concepts

Context

A context binds a group (governance) to an application (WASM). Members join via the group, execute methods against the application, and state is replicated across all nodes via the sync engine. Each context has its own DAG of state deltas.

Group

A group owns one or more contexts. Group membership, capabilities, visibility, and access control are managed via signed governance operations (SignedGroupOp) that form a causal DAG. Managed locally via signed governance operations that propagate via gossipsub and catch-up protocols.

State Sync

Application state changes produce CausalDelta entries in a DAG. Deltas are broadcast via gossip and reconciled using multiple protocols: hash comparison (small diffs), level-wise (broad diffs), snapshot (full transfer), or direct delta exchange.

WASM Execution

Applications are compiled to WASM via the calimero-sdk. The runtime provides 50+ host functions for storage, events, CRDTs, blobs, and identity. State mutations produce deltas that propagate to all peers.