Skip to content

0.1.0

Choose a tag to compare

@vsima vsima released this 07 Aug 02:37
· 109 commits to main since this release

First release of the Canton Mobile SDK — native Swift and Kotlin SDKs for the Canton Network Ledger API, generated from a single vendored proto source (Canton 3.5.11, com.daml.ledger.api.v2) and released in lockstep.

Swift (iOS 18+ / macOS 15+)

.package(url: "https://github.com/vsima/canton-mobile-sdk.git", from: "0.1.0")

Products: CantonKit (ergonomic layer), CantonLedgerAPI (generated gRPC Swift 2 bindings).

Kotlin (Android API 21+ / JVM 17+)

implementation("io.github.vsima.canton:canton-sdk:0.1.0")

Artifacts: canton-sdk (ergonomic layer), canton-ledger-api (generated gRPC bindings, protobuf lite runtime — Android-safe alongside DataStore/Firebase).

What's inside

  • Full generated Ledger API surface on both platforms (commands, updates, state, admin, interactive submission)
  • Connection management with JWT bearer-token auth (accessTokenProvider)
  • ledgerApiVersion() end-to-end on both SDKs
  • R8-verified on Android (sample app ships in examples/android)

Known limitations

Early release: the ergonomic layer covers connection/auth/version; command submission helpers, transaction stream decoding, and value codecs are on the roadmap. Expect breaking changes before 1.0.