Skip to content

Canton Network · TypeScript · OCF

Cap-table workflows on Canton, typed to OCF

High-level TypeScript for Open Cap Table Protocol on Canton — OCF-shaped reads and writes, batch cap-table updates, and reports.

Depends on Canton Node SDK

This package is a layer on top of @fairmint/canton-node-sdk (ledger / validator clients) and @fairmint/open-captable-protocol-daml-js generated types. Install peer versions that match this package's package.json.

Canton Node SDK docs (wiki) →

OcpClient

Wires Ledger + optional Validator into OpenCapTable and OpenCapTableReports. Fairmint-only payment and coupon helpers live in @fairmint/canton-fairmint-sdk.

OCF-native flows

Validators, Zod schemas, converters, and discriminated Ocf* outputs for predictable JSON boundaries.

Batch cap table

Fluent CapTableBatch builder aligned with UpdateCapTable — see Reference (CapTable batch & reads).

Install

npm install @open-captable-protocol/canton

Release notes, issues, and source: GitHub repository .