Integration Support Code
Use the following support code to simplify your integration development:- JavaScript/TypeScript — Use the functions from the Wallet SDK to simplify building your integration
- Java/JVM — Use the sample code from the ex-java-json-api-bindings repository as a starting point
- Other languages — Use the Wallet SDK or Java sample code as a blueprint
Wallet SDK (TypeScript)
The primary integration library. Install via npm:- Token Standard transaction preparation and parsing
- Transfer preapproval management
- Transaction history ingestion helpers
- Scan API client for reading Canton Coin registry data
Java Sample Code
The Java sample repository demonstrates how to interact with the JSON Ledger API from JVM languages:- Repository: digital-asset/ex-java-json-api-bindings
Integration Milestones
The exchange integration guide is structured as incremental milestones:- Canton Coin (CC) with 1-step withdrawal — Deposit and withdrawal of CC using TransferPreapprovals. Includes earning app rewards for CC deposits.
- All CN Tokens — Support for all Canton Network tokens (not just CC). Adds multi-step transfers that give receivers the choice to reject incoming transfers and enable asynchronous checks (KYC/AML).
- App rewards for all CN tokens — Earn application rewards on both withdrawals and deposits of all CN tokens, with optional reward sharing with customers.
Next Steps
- Exchange Integration Guidance — Workflows, architecture, and deployment