Hi Raghav, thanks for posting this. We’d like to be one of the app teams.
We build a stablecoin escrow on Canton. A depositor, a beneficiary and a custodian bank co-sign every escrow, and a mediator resolves disputes. The money is a CIP-0056 Holding. Our design rule is that the platform prepares transactions and never holds anyone’s keys: people sign through CIP-0103 wallets as external parties, and each bank signs with its own key and its own signer. So the wallet or custody screen is the last check on us as the preparing party, and we want it to be a strong one.
Our signers already decode the prepared transaction, recompute its hash, and show a generic summary before signing. In the browser that uses @canton-network/core-tx-visualizer. On the server we use our own Go port of Canton’s hashing, @vdatacloud/go-core-tx-hashing, which supports hashing schemes V2 and V3 so a signer signs what it read. That catches tampering in transit. It can’t show what an escrow choice means, like who gets paid and how much on a release, and it does nothing for signers using third-party wallets and custody providers we don’t control. Your proposal closes that gap.
Some things we’d want to work through as an early adopter:
- Data outside template fields. Our business terms are in a schema-driven metadata field rather than in template fields. Can a description refer to an external schema, so it can display those fields instead of an opaque blob?
- Linking a step to the whole action. A single action of ours (for example accept, then counterparty accept) can take several signed transactions. It would help if a description could say “step 1 of 2” or point to the action it belongs to.
- Publisher key trust. The key that signs our descriptions becomes something every wallet trusts. How will these keys be rotated and revoked, and is each description bound to a specific package id? We’d want to manage that key with the same ceremony discipline we use for institution keys.
- Institutional signers. Our bank signers check policy automatically before signing. A library that a server-side signer can call, not only a wallet UI, would let them check verified descriptions against policy too.
- Go support. A lot of custody and signer infrastructure is written in Go. If it helps, go-core-tx-hashing could serve as the hash-recompute layer for Go bindings of your verification library, and we’d be glad to help maintain that. Will your library build on the existing TypeScript tooling or replace it?
- Wording. We work under regulatory wording rules, so we need full control over the text shown to people. Localization support would help too.
We’d be glad to join a walkthrough and to try the format and tooling against our packages early. Please share the draft when you can.
Best,
Dan Hushon, Founder, Data Cloud