Skip to content

Canton devkit (dpm component) - a unified toolkit for Canton app development (LocalNet, dar helpers, etc) #18 Milestone 2: Web UI, Observability, Monitoring, DAR & Contract Tooling, Optional AI Agent Skill Documents #387

Description

@pedrodneves

Milestone 2: Web UI, Observability, Monitoring, DAR & Contract Tooling, Optional AI Agent Skill Documents

  • Estimated Delivery: Month 6
  • Focus: Web UI for LocalNet management, integrated observability, DAR package management, live contract and transaction exploration, and optional AI agent skill documents.
  • Deliverables / Value Metrics:
    • Web UI covering all CLI features from Milestone 1 with a user-friendly interface.
    • Richer LocalNet automation conveniences, such as machine-readable status output, environment export for app/test configuration, named-instance discovery, enriched doctor diagnostics, and deeper troubleshooting guidance.
    • Example CI workflow demonstrating LocalNet startup, readiness wait, optional DAR upload, test execution, and teardown.
    • Bundled Prometheus/Grafana stack with per-component enable/disable, sensible lightweight defaults, and documentation of minimum practical resources when the full stack is enabled.
    • Canton-specific Grafana dashboard presets focused on DApp developers: transactions/sec, command completion latency, active contract counts, and per-template throughput.
    • dpm localnet metrics subcommand printing Grafana dashboard URLs and a concise text summary of key metrics (throughput, latency p50/p99, resource usage).
    • DAR management CLI (dpm localnet dar upload/list/info/download/diff/remove/build-upload/watch) with multi-participant support, optional dpm build integration, and SCU-aware diff signals.
    • DAR Web UI with drag-and-drop upload, per-participant vetting toggles, package explorer tree, diff viewer, and hot-deploy indicator.
    • Contract tracking CLI (dpm localnet contracts watch and dpm localnet tx ls/replay) backed by Ledger API v2, scoped to capabilities not already provided by dpm daml-shell (live watch, multi-filter transaction listing, per-party visibility projection).
    • Contract tracking Web UI "Explorer" with live ACS table, transaction timeline, contract detail drawer, and explicit per-party visibility projection.
    • Optional AI agent skill documents demonstrating safe dpm localnet workflows for LocalNet lifecycle, DAR upload, package inspection, contract queries, and log/status checks.
    • Documentation on recommended usage, dashboard customization, DAR workflows, contract explorer usage, and optional AI agent skill documents.
  • Adoption Metrics: at least 5 companies/teams have started using it in their daily Canton development workflow.
Milestone Target deadline Funding Request
Milestone 2 (Web UI, Observability, Monitoring, DAR & Contract Tooling, Optional AI Agent Skill Documents) Month 6 400,000 CC upon committee acceptance.

Originally posted by @pedrodneves in #18 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Ready for Milestone Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions