Parties
A party is an on-ledger identity in Canton—analogous to an address or account on other blockchains, but with explicit authorization semantics.Party Identifier Format
What Parties Do
Local vs. External Parties
Unlike Ethereum addresses, parties create state on validators and have costs associated with creation. Design your party structure deliberately—don’t create parties unnecessarily.
Party Roles in Contracts
Parties interact with contracts in three roles:Stakeholder = signatories + observers. Stakeholders are all parties who can see a contract. Validators store contracts for their hosted parties when those parties are stakeholders.
Validators (Participant Nodes)
A validator hosts parties, stores their contract data, and participates in the Canton protocol. A validator contains a participant node (the Daml execution engine) plus a validator process.What Validators Do
Validator Architecture
Key Characteristics
- Each validator maintains a localized, private view of the ledger (called the Active Contract Set)
- Validators only store contracts where their hosted parties are stakeholders
- Multiple parties can be hosted on a single validator
- Validators can connect to multiple synchronizers
- A party can be hosted on multiple validators
Synchronizers
A synchronizer coordinates transaction ordering and consensus without seeing transaction content. It consists of two components:Sequencer
The sequencer orders and distributes messages:
The sequencer does not:
- Decrypt messages
- See transaction content
- Permanently store transaction data (though it may cache it)
- Know which end users are involved (though it routes based on party information)
Mediator
The mediator facilitates the consensus protocol that confirms the transaction:
The mediator does not:
- See transaction content
- Know what’s being confirmed
- Store confirmation details
The Global Synchronizer
The Global Synchronizer is the public synchronizer for Canton Network:- Operated by Super Validators (major institutions)
- Decentralized—no single operator controls it
- Uses Canton Coin (CC) to purchase traffic to pay transaction fees
- Governed by the Canton Foundation
Smart Contracts (Templates)
Smart contracts in Canton are defined using Daml, a purpose-built language for multi-party workflows. A Daml template typically defines:- Data: What information the contract holds
- Parties: Who can see and act on the contract
- Choices: What actions are possible
Template Structure
Contracts Are Immutable
Unlike Solidity contracts with mutable state, Daml contracts (template instances) are immutable. They can only becreated or archived.
This immutability is key to Canton’s privacy and integrity guarantees.
Choices: Consuming vs. Non-Consuming
How Components Work Together
A complete transaction flow involves all four concepts:Summary Table
Next Steps
Architecture Deep Dive
See how components work together technically.
Global Synchronizer
Learn about the public coordination layer.
Privacy Model
Understand sub-transaction privacy in detail.
Start Building
Begin developing on Canton.