Skip to content
CCPEDIAby Unity Nodes
Declined#122 Pull requestBitdynamics

Proposal: Canton Multi-Party Workflow Choreography Reference Implementation

Opened 21-03-2026 by blackthornlover, last activity 5mo ago

  1. Incoming61 days21-03-2026
  2. Declinedsince 21-05-2026
Funding request
2,000,000 CC
Organization
Bitdynamics
Discussion
2 messages
1 person

Development Fund Proposal Submission

Proposal file: /proposals/canton-multiparty-workflow-choreography.md


Summary

Canton Multi-Party Workflow Choreography (CMWC) delivers a reusable, Canton-native reference implementation for coordinating workflows across parties who cannot see each other's state. The project ships four Daml choreography primitives (WorkflowHandoff, LocalAttestation, AwaitingStep, WorkflowTerminal), a per-participant TypeScript workflow runner, a fully worked four-party equity settlement reference scenario, and a choreography design guide — across 4 adoption-based milestones requesting 2,000,000 CC in total funding.


Checklist

  • Proposal file added under /proposals/
  • Milestones and funding amounts defined
  • The proposal includes adoption-based milestones with verifiable acceptance criteria
  • Acceptance criteria included
  • Alignment with Canton priorities described

Notes for Reviewers

  • This proposal addresses the coordination problem created by Canton's own privacy model: when parties cannot see each other's state, how does a multi-party workflow advance correctly? This problem does not exist on public chains and cannot be solved by importing patterns from other ecosystems.
  • The reference scenario — four-party equity settlement with CCP novation — is chosen because it contains every choreography design pattern (party-set transitions, off-contract attestations, parallel instruction issuance, terminal-state finality) in a single commercially recognizable workflow.
  • The WorkflowHandoff primitive enforces at the Daml model level that no prior-step party appears on a new-step contract unless explicitly listed — the most common correctness failure in Canton multi-party workflows today.
  • This proposal is a natural complement to CCDM (PR #117): CCDM handles cross-synchronizer messaging; this proposal handles cross-privacy-domain choreography within a single synchronizer.
  • The four-party settlement flow is included as the proving scenario for the choreography patterns, not as the product itself. The funded deliverable is the reusable open-source implementation package around that scenario: the Daml pattern library, participant runner skeleton, verification suite, and adaptation guide.

Milestones 4

  1. Choreography Daml Primitives and Reference Scenario Phases 1–25 weeks
  2. LocalAttestation Primitive and Reference Scenario Phases 3–46 weeks
  3. TypeScript Workflow Runner and Recovery Model6 weeks
  4. Finality, Design Guide, and Reference Documentation4 weeks