Common patterns for integrating Canton Network building blocks into your applications
This page describes common patterns for integrating Canton Network building blocks into applications. These patterns help you design effective integrations while respecting Canton’s privacy model.
-- Implement token standard interfacestemplate MyToken with issuer : Party holder : Party amount : Decimal where signatory issuer observer holder -- Implement standard holding interface interface instance HoldingInterface for MyToken where view = HoldingView with custodian = issuer owner = holder amount = amount -- Standard transfer choice choice Transfer : ContractId MyToken with newHolder : Party controller holder do create this with holder = newHolder
PQS connects to the validator node via the Ledger API to receive transaction updates, then stores the data in its own PostgreSQL database for querying.