canton-token-standard
Installation
SKILL.md
Canton Token Standard (CIP-0056)
Overview
The Token Standard is a set of Daml interfaces (specified in CIP-0056) that make tokens interoperable across wallets, exchanges, and apps. Any template implementing these interfaces can be discovered, transferred, and settled through the same APIs. It's built on Canton's UTXO model.
Holding UTXOs
Active contracts implementing the Holding interface are a party's unspent holdings (UTXO model, like Bitcoin). Each holding costs storage/compute on the owner's and admin's validators, and each UTXO input to a transfer costs extra traffic — so keep ~<10 UTXOs per user. Tools:
MergeDelegation— lets a wallet provider auto-merge a user's small holdings (set up via aMergeDelegationProposalthe user signs).BatchMergeUtility— batch ~100 merges in oneBatchMergeUtility_MergeHoldingscall (also enables batched airdrops).- UTXO strategy: prefer small-amount holdings to fund transfers; Canton Coin caps inputs at 100 per transfer and expires dust.
The interfaces (workflows)
| Interface | Workflow |
|---|---|
Token Metadata (splice-api-token-metadata-v1) |
Instrument metadata / registry info |
Holding (splice-api-token-holding-v1) |
Portfolio view of a party's holdings |
TransferInstruction (splice-api-token-transfer-instruction-v1) |
Direct peer-to-peer / Free-of-Payment (FOP) transfer |
| Allocation + AllocationInstruction + AllocationRequest | Delivery-versus-Payment (DvP) settlement |