Canton event graph explorer and analytics tool
- gyorgybalazsiOP
I’ve created a Canton event graph explorer and analytics tool. Any feedback is appreciated. See the demo videos:
Demo video #1
A Canton ledger is an event graph. Its nodes are contract creations and choice exercises, and an exercise may consume the contract it acts on. Exercises can trigger further creates and exercises, so each transaction forms a tree.
This demo presents how a syncer streams the ledger into SurrealDB, a graph database, and how the SurrealDB Explorer shows it as the event graph itself.
LinkedInMy previous video ended with a question. A Canton ledger is an event graph....
My previous video ended with a question. A Canton ledger is an event graph. Its nodes are contract creations and choice exercises, and an exercise may consume the contract it acts on. Exercises can trigger further creates and exercises, so each...
Demo video #2
The ledger is streamed a second time, into an analytics store. WebAssembly plugins, written for the Daml model, keep the totals up to date as transactions arrive. The tables are Parquet files with Delta Lake on top, in a local folder or a cloud bucket, and Apache DataFusion queries them. The same chart now takes a few milliseconds.
LinkedInGyörgy Balázsi | Freelancer | 1 like | LinkedIn
The Canton Event Graph Syncer and Explorer Part 2: Ledger Analytics from a year of sales down to a single transaction My last video showed a Canton ledger as an event graph, one transaction at a time. That view is made for following a single...