[Dev Fund] Governed Attachments: file governance for multi-party contracts (CIP #245), working prototype, seeking feedback and design partners

Hi all,

We’ve submitted a Development Fund proposal for the reference implementation of CIP #245, and Zhi Zhang (Edge & Node) has agreed to champion it: #1113

The problem. Institutional workflows on Canton depend on documents that stay off-ledger, like loan packs, KYC files and signed agreements. Today two counterparties can’t confirm they hold the same file, an auditor can’t confirm a file was kept and then disposed of, and nobody can see when the same file backs two financings.

What we propose. An open Daml standard for attaching files to contracts, built around three objectives:

  1. Document integrity verification: every party can check against the ledger that it holds the exact file the contract references.
  2. Document lifecycle governance: access, legal holds, retention and disposal, including deletion from external storage, are recorded as on-ledger events an auditor can verify without seeing the file.
  3. Reuse detection: a party gets a private notice if the same file is attached to a second live contract, without any deal terms being disclosed.

The file stays wherever the institution keeps it today. Canton holds only a fingerprint, a pointer, permissions, retention terms and lifecycle events.

What exists today. A working prototype with a live UI at enterprise.lighthouse.storage (access on request). The prototype code goes public under Apache-2.0 in Milestone 1.

What the grant funds. Daml packages, a TypeScript SDK / API with storage adapters (S3-compatible stores and IPFS/Filecoin/Walrus first, then document management systems), a reference UI, two reference flows on TestNet (repo collateral and KYC lifecycle) and a conformance suite, all under Apache-2.0. Half the funding is paid only when external teams adopt it.

How it connects. It governs the documents behind a contract, not asset records (#1104) or data access (#853), and either of those can point to a governed attachment. It works with or without CIP #204 credentials and needs no token standard change.

Feedback we’re looking for:

  • Registry operator: should it be a single market-utility party or a threshold-governed party (CIP #245 Open Question 4)? Which would your institution accept?
  • Off-ledger disposal: does a deletion receipt from the storage adapter, plus key destruction for content-addressed storage, meet your audit requirements?
  • Storage priorities: which storage systems or document management systems should we support first?
  • Adoption milestone: is a pilot on TestNet or production on MainNet, confirmed by the adopter, the right bar?
  • Design partners: if you run repo, collateral or KYC workflows on TestNet and want to test a reference flow against your own storage, reply here or comment on the PR.

CIP: #245

Devfund: #1113

Nandit Mehra, Lighthouse

On Open Question 4: I’d lean toward a threshold-governed registry party rather than a single market utility, mainly because a single operator becomes both a governance chokepoint and a liability concentration for members who are otherwise competitors. A practical middle ground might be a permissioned consortium with named member institutions, published membership and rotation rules, and the same on-ledger lifecycle events you already propose—so the registry’s own governance is auditable too. For storage priorities, S3-compatible first seems right; most institutions already have object storage, and DMS integration is the slower enterprise conversation. TestNet pilot is a reasonable adoption bar.

Nandit, on the off-ledger disposal question: what happens if the storage adapter deletes a file but loses the response before the disposal event is recorded on Canton?

I’d be hesitant to treat that as either successful disposal or a failed deletion without further evidence.

This is one of the execution failure patterns I’ve been working on at LLORIX. Are you planning any independent conformance testing of the storage adapters, particularly around interrupted operations and conflicting evidence?

Thanks, that’s the direction we are leaning too. A permissioned consortium with published membership and rotation rules, with its own lifecycle events on-ledger, keeps the registry’s governance auditable. We’ll write that into Open Question 4, and S3-compatible first plus a TestNet pilot matches our milestone plan.