Hi everyone — long-time reader here since 2020 (some of my older threads were about Canton multi-node HA and Daml performance).
I’m sharing two independent, open-source (Apache-2.0) community projects I’ve been building for Canton & Daml developers:
1. Learn You Some Canton for Great Good! — 34-Chapter Technical Guide
An illustrated, online technical guide (in English and Korean) walking through Canton and Daml from first principles—from Herstatt risk and Daml privacy / Blinded Merkle trees to BFT ISS ordering, PostgreSQL operations, and Splice/Amulet economics.
- Read online: https://learnyousomecanton.com
2. canton-rs v0.8.0 — Single-Binary Rust Runtime (Pre-1.0 Preview)
While studying the protocol and writing the guide, I also built a zero-JVM Rust runtime that packages Participant, Sequencer (Database & BFT), Mediator, Ledger API v2 (gRPC & HTTP JSON), Splice hosting, PQS projection, and an interactive Canton console into one native executable.
What it does:
- Loads unmodified
.dararchives compiled with officialdamlc - LocalNet DX in one CLI:
daemon init/doctor/up/ps/env/snapshot/restore,dar inspect/diff/check-upgrade,canton-rs token(CIP-0112), andconsole attach - Brownfield-safe evaluation beside an existing JVM hub (
--port-offset --same-identity --state-in-files) - Oracle-tested against official Canton
3.7.2(PV36–37), Splice0.10.1, Wallet SDK1.7.0, and Scribe3.5.8(382/382 JSON API differential cases with 0 diffs; 1,168 scenarios across 4 unmodified Splice DARs with 0 findings; mixed Scala BFT consensus)
Start here (macOS & Linux):
brew install cantonrs/tap/canton-rs
# or
curl -fsSL https://getcantonrs.dev/install.sh | sh
- GitHub & v0.8.0 release: Release canton-rs v0.8.0 · cantonrs/canton-rs · GitHub
- Docs (EN / KO): https://doc.getcantonrs.dev
Scope & feedback welcome:
Both projects are independent Apache-2.0 efforts and not affiliated with Digital Asset. canton-rs v0.8.0 is a pre-1.0 preview focused on LocalNet development, CI, and evaluation (not a MainNet production drop-in yet; a zero-side-effect simulate command and parallel canton-rs test runner are in review for an upcoming release).
If you spot any protocol inaccuracies in the guide or run into edge cases with your DARs in canton-rs, I’d really appreciate the feedback!