Continuing the discussion from RFP #20: CantonGrid — Open-Source Canton Indexer | Seeking a Champion, Contributors & Development Fund Support:
Hi everyone,
Since my original post, CantonGrid has made significant progress towards becoming a reusable, privacy-aware application data framework for Canton.
Latest developments:
-
Stable v0.3.0 release: PostgreSQL 17.12 compatibility and successful staged model rebuild verification with 261 actual LocalNet Daml contracts, including concurrent activity, restart recovery, authorization revocation and rollback.
-
Declarative aggregations: Privacy-aware grouped counts and exact numerical sums, with generated REST, GraphQL and TypeScript interfaces.
-
DAR metadata extraction: A standalone Rust metadata engine that extracts package identities, templates, choices, interfaces and qualified type signatures directly from compiled DAR files. Verified against actual Outcomia, Visibility and PoC artifacts, with package inventories matching independent Daml compiler output.
-
Compound sorting: Multi-field sorting with exact keyset pagination, supporting use cases such as price-time priority order books.
-
Checkpoint-preserving package upgrades: Reviewed additive package upgrades with resumable snapshot staging, cancellation and model rollback while preserving existing checkpoints and contract history. Database-level verification has passed; real Canton package upgrade testing remains pending.
The latest changes have been merged through PR #26 and are targeting v0.4.0-alpha.2. All eight previously released crates are available on crates.io, with the new metadata crate bringing the workspace to nine Rust crates.
Developer freedom remains a core objective of CantonGrid. The entire implementation, tests and documentation are publicly available under Apache 2.0, enabling developers to inspect, embed, modify, extend and contribute to the framework.
Next development priorities:
-
Automatic DAR-driven schema synchronization and model generation.
-
Remote HTTPS connectivity and DevNet validation.
-
Funded Outcomia trading projections.
-
Multi-model joins and advanced aggregations.
-
Authenticated, resumable event streaming.
-
Production performance benchmarks and operational hardening.
I am still seeking technical feedback, open-source contributors, a Champion and Canton Development Fund support under RFP #20 to accelerate this work.
Links:
-
Latest merged PR: https://github.com/kunal171/cantongrid/pull/26
-
Verification: https://github.com/kunal171/cantongrid/blob/79ad2d37fb5442e50595642e5c64765eb07482c1/docs/verification.md
-
Documentation: CantonGrid documentation | CantonGrid
Feedback and collaboration are very welcome!