Sign on Canton with field-level policies.
Fortkey supports the Canton Network in production. Every Canton transaction is decoded, checked against your policies and signed inside an enclave you control.
What you can control
Policies on Canton work on the decoded transaction: the type of Daml action and the fields inside it.
Daml actions
Canton transactions are Daml ledger actions, so a policy can match the action type, for example creating a contract or rolling one back.
Fields inside the transaction
A Canton Field rule checks a field inside the transaction against a list of allowed values. It covers the named fields of create, exercise, fetch and query-by-key actions, such as the template of the contract being created. It also reaches nested fields inside create arguments and exercise choices, such as the receiving party of a transfer.
Rules combine with AND and OR, so you decide which combinations produce a signature.
Worked examples, with the rules written out, are in the policy examples documentation.