A framework, not a stack
On a usual stack, a collaborative app is a server, a database, a sync layer, an auth service, a secrets store and the glue between them. On Calimero it’s one Rust crate: you write the state and the methods, and the node does the rest.
What you write, and what you don’t
Section titled “What you write, and what you don’t”| You write | The node handles |
|---|---|
State as a struct of collections (UnorderedMap, Table, Counter, …) |
Storing it, encrypted, replicated by a Raft log across three attested nodes |
Methods: &self for reads, &mut self for writes |
Ordering every write, serving reads, returning a receipt |
Events with env::emit |
Delivering them live to the right people |
env::caller() checks |
Passkey sign-in, sessions, scoped API keys, organizations and teams |
A #[app::every("1m")] method |
Firing it once per period, on the leader |
| An outbound request | Checking the host was approved, filling in secrets, redacting them from the answer |
#[derive(Record)]#[table(key = "id", search = ["title", "body"])]pub struct Note { pub id: String, pub title: String, pub body: String }That one attribute gives you a primary key and full-text search over two fields. Indexes, unique constraints and maintained counts are a line each. See Collections.
There is no CRDT to design and no merge code: an instance’s writes go through one replicated log, so a later write simply replaces an earlier one. See the example, line by line.
The loop
Section titled “The loop”brew install calimero-network/tap/meroctlmeroctl app new my-app # a working app, with AGENTS.md for your coding agentmeroctl local dev my-app # local cluster, rebuilds on save, frontend dev servermeroctl local test my-app # the app's tests and scenarios on the real engine- Tests on the real engine.
TestAppruns your methods on the same WASM engine the node uses, with callers, organizations and failures, in plaincargo test. See Testing. - A local cluster.
meroctl local up --nodes 3runs the published node image on your machine. - Typed clients for free.
meroctl app codegenreads the interface your component embeds and writes a client in TypeScript, Python, Swift or Kotlin, plus an OpenAPI document. See Call it from code. - One package.
meroctl app pack --frontend DIRsigns the logic and the UI together; the signature covers both. See Package & publish.
What you don’t operate
Section titled “What you don’t operate”No servers to size, no database to back up, no keys to rotate by hand, no TLS to terminate, no on-prem edition to ship. On Calimero Cloud, Calimero runs the nodes; your customers check each node’s attestation themselves. See Serverless, pay per use and Ship code, not images.