Examples¶
Learn Calimero by exploring working examples. All examples include source code, README files, and Merobox workflow configurations.
Core Apps Examples¶
Core Apps Examples — Reference implementations from core/apps demonstrating SDK patterns and CRDT usage.
These examples live in calimero-network/core/apps:
- kv-store - Basic CRDT operations, key-value storage
- blobs - File/blob management with content addressing
- collaborative-editor - Text collaboration with RGA CRDT
- private-data - Private storage patterns
- team-metrics - Nested CRDT structures
- xcall-example - Cross-context communication
Quick start:
Application Examples¶
For complete applications, see:
- Battleships - Multiplayer game -
battleshipsrepository - Shared Todo - Collaborative task list -
shared-todo-backlogrepository - KV Store - Template app - Created via
npx create-mero-app
By Complexity¶
Examples organized by difficulty:
- Starter: Basic CRDT usage (kv-store, counters)
- Intermediate: Event handling, blob management, nested structures
- Advanced: Cross-context calls, complex state machines
Getting Started with Examples¶
- Clone or browse the repository
- Read the README for setup instructions
- Run
./build.shorpnpm run logic:build - Install on a local node using
meroctl - Explore the code and adapt patterns to your app
See Getting Started for installation and setup.