Skip to content

SDK, API, and integration reference

  • bitsafe-token-lib: Workflows and examples for BitSafe assets.
  • canton-lib: shared Canton API clients, utilities, and the Token Standard operations that bitsafe-token-lib re-exports.

Pin approved release tags and keep their compatibility row together.

LayerUse
Generated Canton clientsAuthenticate, query contracts, submit commands, and read updates
CBTC workflow functionsBalance, transfer, mint, redeem, account, and credential operations
BitSafe API clientRetrieve approved account and Bitcoin workflow data
ExamplesExecutable references for supported tasks
  1. Load configuration through a typed layer.
  2. Create authenticated Canton and BitSafe clients.
  3. Verify the party with a read-only query.
  4. Query current contracts and runtime rules.
  5. Validate the business request.
  6. Submit one command with a unique reference where supported.
  7. Read the authoritative result.
  8. Reconcile Canton, application, and Bitcoin identifiers.

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.

Balance checks, sending, incoming and outgoing offers, accepting or cancelling offers, credentials, minting, redemption, account inspection, batch transfers, and UTXO management.

Validate the integration: CBTC developer Quick Start.