- CBTC
- Concepts and reference
- SDK, API, and integration reference
SDK, API, and integration reference
Supported source libraries
Section titled “Supported source libraries”bitsafe-token-lib: Workflows and examples for BitSafe assets.canton-lib: shared Canton API clients, utilities, and the Token Standard operations thatbitsafe-token-libre-exports.
Pin approved release tags and keep their compatibility row together.
Integration layers
Section titled “Integration layers”| Layer | Use |
|---|---|
| Generated Canton clients | Authenticate, query contracts, submit commands, and read updates |
| CBTC workflow functions | Balance, transfer, mint, redeem, account, and credential operations |
| BitSafe API client | Retrieve approved account and Bitcoin workflow data |
| Examples | Executable references for supported tasks |
Recommended integration pattern
Section titled “Recommended integration pattern”- Load configuration through a typed layer.
- Create authenticated Canton and BitSafe clients.
- Verify the party with a read-only query.
- Query current contracts and runtime rules.
- Validate the business request.
- Submit one command with a unique reference where supported.
- Read the authoritative result.
- Reconcile Canton, application, and Bitcoin identifiers.
API reference policy
Section titled “API reference policy”Generated type and method documentation should remain in the repository or generated reference site. Public task guides should link to exact release documentation instead of copying full schemas.
Examples to preserve
Section titled “Examples to preserve”Balance checks, sending, incoming and outgoing offers, accepting or cancelling offers, credentials, minting, redemption, account inspection, batch transfers, and UTXO management.
Related pages
Section titled “Related pages”- CBTC developer Quick Start
- CBTC authentication
- Transfer and receive CBTC
- Mint CBTC
- Redeem CBTC
- CBTC errors, retries, and troubleshooting
- CBTC compatibility and release notes
Next step
Section titled “Next step”Validate the integration: CBTC developer Quick Start.
Ask the docs
Answers come only from this documentation and can be wrong. Check the linked pages.
Ask a question about BitSafe, CBTC or the developer guides. For example: