Reference Implementations
Reference Implementations (RIs) are complete application blueprints that show how OpenZeppelin's Canton library and settlement primitives compose into real applications. Each RI pairs a full architecture design document with working Daml, so teams can adopt an end-to-end pattern instead of assembling isolated modules.
The four RIs below are in the research and design phase: each has a complete, reviewed design document, and their application logic is being built out. These sections will expand with code walkthroughs and integration guides as each implementation lands.
Privacy-Preserving DEX
An exchange design adapted to Canton's privacy model. Its organizing primitive is the atomic delivery-versus-payment (DvP) swap: a trade is two legs (asset against payment) settled all-or-nothing through the settlement engine, so no party is ever left half-filled. Canton's projection model keeps each trader's positions and flows visible only to the parties involved, which changes how order flow, pricing, and liquidity have to be designed compared to a public-mempool chain.
Full design document: Canton Reference DEX: Architectural Overview
Lending Protocol
A fixed-rate, open-term, overcollateralized, permissioned lending protocol designed for institutional participants. It covers the vault, collateral, borrow, repay, and liquidation flows, with authorization built on the library's role and ownership primitives and value movement running through the settlement engine.
Full design document: Institutional Lending Protocol on Canton
Cross-Chain Stablecoin Payments
An architectural blueprint for private, atomic settlement on Canton of stablecoin payments that originate on external blockchains. It resolves the tension between cross-chain liquidity and enterprise privacy requirements: institutional participants settle externally-originated payments on Canton without exposing their flows to the originating chain.
Full design document: Cross-Chain Stablecoin Payment Orchestration on Canton
Confidential Auction Launchpad
A launchpad for institutional, regulated, confidential token distribution. It uses Canton's sub-transaction privacy to establish a sealed-bid environment by protocol design rather than cryptographic obfuscation: bids, allocations, and settlement details are visible only to explicitly authorized parties via native ledger projection, with no commit-reveal scheme required.
Full design document: Confidential Auction Launchpad on Canton
How They Relate to the Library
Each RI reuses the same foundation: Access Control, Ownable, and Pausable for authorization and safety, and Settlement for atomic value movement. As the RIs mature, common patterns they surface are candidates for promotion into the general library.