[Feedback wanted] Treasury Policy Module: open-source Daml multisig with signing policies (RFP 26)
- Federico_LedesmaOP
Hi all,
We’re Protofire. We have deployed and operated Safe on 120+ EVM networks, and we’re preparing a Dev Fund proposal for RFP 26 (Key Management and Signing Controls). Before we open the PR, we’d like this SIG’s view on the scope and design. There’s no budget in this post on purpose: we want to get the scope right first.
The problem
Treasuries, funds and DAOs on Canton that hold shared assets either rely on a custodian’s off-chain approval rules or write their own approval logic. Canton already has strong building blocks for shared control (decentralized parties, multi-hosting, external signing, and BitSafe’s Decentralization Manager for m-of-n control). What we haven’t found is a reusable, open policy layer on top: per-action rules like spend limits, allow-lists, time locks and role separation, in a form an auditor can read.
What we want to build
1. Base multisig (Daml)
- Owner list and approval threshold
- Proposals with counter, expiry and replay protection
- Owners approve with Canton’s external signing, so their keys stay with them
- Batch and admin actions (owners, threshold, modules)
- CIP-0056 transfer action, so it works with any Token Standard asset
- Private voting: each owner sees only their own vote, with an optional viewer party
- A Guard interface: any attached module can block execution
2. Policy modules (one Daml template each, attach only what you need)
- Spend limits per period and per asset
- Allow-lists and deny-lists for counterparties and instruments
- Time locks and cooling periods, configurable per action type
- Role separation: proposer, approver and executor are different parties
- Emergency pause and a separate recovery quorum
- A policy object an auditor or supervisor party can read, without seeing votes or signatures
3. Tooling
- Human-readable rendering of a proposal before signing (what it does, amounts, counterparties, which policy checks pass)
- CLI that produces unsigned transactions for owners to sign with their own tools; it never holds keys
- Read API on top of PQS
- Reference web UI (to copy, not a hosted product)
- Integration guide, policy cookbook and threat model
- Security review, report published
Everything Apache-2.0.
Milestones (about 7 weeks)
- Discovery and base multisig. Value metric: a developer outside the team creates a 2-of-3 multisig and executes a CIP-0056 transfer using only the README.
- Policy modules on TestNet. Value metric: an outside developer attaches a spend limit and a time lock and sees a non-compliant transfer blocked.
- Tooling. Value metric: an outside developer creates, proposes, signs with their own signer and executes on TestNet through the CLI and the web UI, using only the docs.
- Security review and MainNet. Value metric: an outside team deploys a policy-governed multisig on MainNet using only the guide and the cookbook.
Wallet integration (CIP-0103, related to wallet issue #2597) is out of scope here. We’d propose it separately under RFP 14.
Where we’d value your input
- Overlap: does this complement BitSafe’s Decentralization Manager and the existing multi-sig patterns in the Canton docs, or would you draw the line differently?
- Policies: which of the policy modules matter most to you, and is anything missing?
- Privacy: is private voting plus an optional auditor viewer the right default, or do institutions here expect a different visibility model?
- Security: for an RFP 26 proposal, would you expect an external audit in the same proposal, or is a published internal review plus a separate audit proposal acceptable? We’re also considering formal verification with a third party. Would that add value here?
- Champion: if someone in this SIG would be open to championing it, we’d be glad to talk.
Happy to share the full draft if needed. Thanks for reading.
Federico Ledesma, Protofire