Hi
Georgi Radev,
Thank you, this is the most useful feedback we have had. I read your links and the Daml Finance docs, and here is where we stand.
Baseline. Daml Finance Settlement V4 already covers a lot: a factory creates a Batch and per-step Instructions from routed steps; each Instruction needs the sender’s allocation and the receiver’s approval; a settler executes the Batch atomically; the requestors can cancel it; and consenters collect consent at creation. CIP-0056 covers allocations, settlement deadlines and the DvP flow that wallets and registries implement. We are not trying to replace either. Daml Finance’s README says it is not actively maintained, so we will use it only as a comparison baseline and take no runtime dependency on it.
Where SettleFlow sits. In CIP-0056’s terms, it is the settlement app: the part before and around the atomic step. That means agreement and initiation (propose, accept, optional M-of-N approval), creating the allocation requests, tracking readiness, and triggering the standard’s settlement. It will not touch keys, topology or participant admin APIs, and each party signs its own steps.
What we think is actually missing. Your point on deadlines is the clearest gap. CIP-0056 gives allocations and settlements deadlines but leaves the response to a missed one (retries, penalties) to applications, and Daml Finance’s settlement time is an optional indicator that is not enforced. We will build a configurable policy: cancel, extend, or roll into a new settlement, with a record of which party failed, and any penalty only as an explicit optional hook. Beyond that, we are testing whether threshold (M-of-N) approval and auditor receipts without amounts add anything. We have not seen either in the libraries above, but we will not claim them until a side-by-side shows it.
Readiness. Agreed on all three criteria. Our plan is a documented, versioned interface; tests of authorization and cancellation behaviour, with a failing test first for each defect reported in our current code; and use by at least two independent applications before we call it infrastructure. Until then it is a reference package.
Versions. We will publish the supported Daml SDK, Canton, Splice token standard and CIP-0112 package versions and run a CI matrix over them.
Repository and example. GitHub - BikkoFarms/SettleFlow · GitHub (Apache-2.0). To be straightforward: today the code uses its own allocation and settlement logic on mock tokens and a simulated demo, so it does not yet compose the standard’s choices. The integration example you asked for is our next step: a 3-party DvP on a LocalNet using real allocations, composing AllocationRequest, AllocationFactory_Allocate, Allocation_ExecuteTransfer or SettlementFactory_SettleBatch, and Allocation_Cancel / Allocation_Withdraw, together with a side-by-side against raw CIP-56 and Daml Finance. We will post the working example in this thread when it runs.
If anyone has built the approval or missed-deadline step themselves, we would love to hear what you did and what hurt.