Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.2.0] - 2026-10-09

### Changed

- The crate uses `canton-lib` 0.11.0 instead of 0.10.0. `canton-lib` now
uses `canton-api-client` 3.6.1 instead of 3.6.0.
- A project that also depends on a `canton-lib` crate must pin `v0.11.0`.
With a `v0.10.0` pin, Cargo cannot resolve `canton-api-client` and the
build fails. A direct `canton-api-client` dependency must be
`3.6.1-0.1.0` for the same reason.
- The re-exported `active_contracts::get` returns the Ledger API error when
the participant rejects the request. With 0.10.0 it returned an empty
list, so a rejected balance query reported 0.

## [0.1.0] - 2026-10-06

The first release. `bitsafe-token` replaces `cbtc-lib` and adds BETH.
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bitsafe-token"
version = "0.1.0"
version = "0.2.0"
edition = "2024"
description = "Client library for BitSafe bridged assets on Canton: CBTC, BETH"
license = "MIT"
Expand All @@ -20,22 +20,22 @@ uninlined_format_args = "allow"
[dependencies]
alloy-primitives = { version = "1.7.3" }
alloy-sol-types = { version = "1.7.3" }
common = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
ledger = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
registry = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
common = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
ledger = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
registry = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
reqwest = { version = "0.13.5", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1" }
token = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
token = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
uuid = { version = "1.18", features = ["v4"] }

[dev-dependencies]
canton-api-client = { version = "3.6.0-0.1.0" }
canton-api-client = { version = "3.6.1-0.1.0" }
chrono = { version = "0.4.42" }
csv = { version = "1.3" }
dotenvy = { version = "0.15" }
env_logger = { version = "0.11" }
keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread", "time"] }

[[example]]
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ also re-exports the Canton Token Standard operations of
[canton-lib](https://github.com/DLC-link/canton-lib), so you can hold, send
and receive both assets.

**Status: 0.1.0.** The API can change in any 0.x release. The crate is not on
**Status: 0.2.0.** The API can change in any 0.x release. The crate is not on
crates.io; you add it as a git dependency. It needs Rust 1.94 or newer
(edition 2024).

Expand All @@ -16,15 +16,16 @@ Add the crate to your `Cargo.toml`:

```toml
[dependencies]
bitsafe-token = { git = "https://github.com/DLC-link/bitsafe-token-lib", tag = "v0.1.0" }
bitsafe-token = { git = "https://github.com/DLC-link/bitsafe-token-lib", tag = "v0.2.0" }
# Login. Or use your own OpenID Connect client and pass its access token.
keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" }
keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.11.0" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
```

If you add other `canton-lib` crates, pin the same tag, `v0.10.0`. Two
If you add other `canton-lib` crates, pin the same tag, `v0.11.0`. Two
different pins make Cargo build two copies of the shared types, and then the
types do not match.
types do not match. A direct `canton-api-client` dependency must be version
`3.6.1-0.1.0`. With any other version, Cargo cannot resolve the build.

## Before you start

Expand Down
Loading