Reference App
The DeRec reference app is a minimal reference implementation that provides both an Owner and a Helper. Its purpose is interoperability testing: a real Owner or Helper to run your own DeRec implementation against, and a small codebase to read when your implementation and the protocol disagree.
Shape
apps/web
A static React front end. Runs the protocol in the browser through @derec-alliance/web, persists to browser storage, and polls the backend for messages.
apps/backend
A thin Rust/Axum backend. Actor registry, message relay and mailboxes, hosted helpers, and the front end's default settings.
The backend implements no protocol logic. Pairing, sharing, verification and recovery are executed by the SDK: in the page for browser owners, inside a provisioned actor (around derec-library) for hosted helpers. When a protocol decision looks wrong, the answer is in the library, not in the app.
The published Docker image runs both parts in one container, with the UI and the API on the same origin. See How it works.
What you can test with it
Pairing, by pasting a contact or scanning a QR code, in all three contact modes.
Sharing, verification and recovery.
Replicas, including fingerprint cross-confirmation.
HTTP and gRPC transports, including a gRPC-only peer reached through the node's relay.
Several vaults (owner identities) in one browser.
Version
App version
0.0.8-alpha.1
DeRec SDK
0.0.8: derec-library and derec-proto from crates.io, @derec-alliance/web from npm
Image
ghcr.io/derecalliance/reference-app:0.0.8-alpha.1, for linux/amd64 and linux/arm64
The app's version follows the SDK's: the SDK is compiled in, so a different SDK is a different image, never a setting. Pre-releases do not move the latest tag, so pin the explicit tag. What each release contains is in CHANGELOG.md.
In this section
Getting started: three ways to run it, a first session, and testing your own implementation against it.
How it works: actors, the shared helper pool, transports, vaults, the UI and the debug surfaces.
Configuration: the configuration layers and every setting.
Docker Compose: a standalone Compose file, its SQLite variant, and recipes.
Contributor material (tests, image publishing, the backend's internal layering) lives in the repository's CONTRIBUTING.md.

DeRec Reference App
Last updated