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 an architecture write-up with working Daml so teams can see an end-to-end pattern, not just isolated modules.

The Year-1 Reference Implementations are in the research and design phase. Architecture reports exist for all four; their application logic is being built out. See OpenZeppelin/canton-specs for the current reports.

The Year-1 set

  • DEX: a privacy-preserving decentralized exchange, settling trades atomically through the settlement primitive.
  • Lending: a vault-based lending protocol, with collateral, borrowing, and liquidation flows.
  • Cross-Chain Stablecoin: payment orchestration for a stablecoin across synchronizers.
  • Confidential Auction: a sealed-bid auction launchpad that keeps bids confidential until resolution.

How they relate to the library

Each RI is intended to reuse 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.