Skip to content

Releases: ChainSafe/canton-erc20

v1.5.0 - Bridge Cleanup & Unified Token Architecture

10 Feb 21:16
53065eb

Choose a tag to compare

Changes

Bridge Cleanup

  • Removed 5 non-bridging choices from WayfinderBridgeConfig:
    • RegisterUser - registration now happens via direct FingerprintMapping creation
    • GetMetadata - metadata available via TokenConfig
    • AddAuditObserver / RemoveAuditObserver - observer management via TokenConfig
    • DirectMint - minting via TokenConfig.IssuerMint
  • Bridge contract now only handles: CreatePendingDeposit, ProcessDepositAndMint, InitiateWithdrawal

Version Bump

  • All 9 DAML packages bumped to v1.5.0 for consistency

Package IDs

  • common: 5de6731c1a7487543d61ffe2bf847abbdf8694c4561c580986d8f4c2049745ea
  • cip56-token: 7be0822fb54b081934f6f27accd79888f4542d1f729f9c1e52eea43cf2e81262
  • bridge-core: 2c7cb8d93550b815307a7139d687c8e1a5f4b2e93b822d92ebe414fec8d843ed
  • bridge-wayfinder: aa807d8ebeb267eb2f032730113ab03a925585312ec745f63066a6ba77dd9a31

v1.4.0 - Unified Token Architecture

10 Feb 18:58
e7020fd

Choose a tag to compare

What's Changed

Unified Token Architecture

  • TokenConfig (CIP56.Config): Single entry point for all mint/burn operations, replacing split NativeTokenConfig/bridge-specific logic
  • Unified Events (CIP56.Events): MintEvent/BurnEvent with optional bridge metadata (evmTxHash, evmDestination)
  • Thin Bridge Layer: WayfinderBridgeConfig delegates all mint/burn to TokenConfig -- adding a new bridged token means creating another bridge config pointing at a different TokenConfig instance

Anti-fragmentation

  • CIP56Holding.Transfer now accepts existingRecipientHolding to merge into existing holdings, preventing UTXO-style fragmentation

Cleanup

  • Removed deprecated packages: native-token, bridge-usdc, bridge-cbtc, bridge-generic, dvp
  • Removed deprecated modules: Bridge.Events, Bridge.Types, Native.Events, Native.Token, CIP56.Transfer
  • Updated build/test/clean/deploy scripts for active packages only
  • Updated documentation and README with unified architecture diagrams

Active Packages (all at v1.4.0)

  • common - Shared types, fingerprint mapping
  • cip56-token - CIP56Holding, TokenConfig, Events
  • bridge-core - MintCommand, WithdrawalRequest
  • bridge-wayfinder - Wayfinder PROMPT token bridge
  • common-tests, cip56-token-tests, bridge-core-tests, bridge-wayfinder-tests
  • integration-tests

Native Token Live

21 Jan 13:31
c5fd80d

Choose a tag to compare

v1.1.0 - Issuer-Centric Model

15 Dec 12:15
733433b

Choose a tag to compare

Breaking Changes

  • Removed legacy user-driven templates:
    • MintProposal
    • MintAuthorization
    • RedeemRequest
    • BurnEvent
  • Removed CreateMintProposal choice from WayfinderBridgeConfig

Migration Guide

The issuer-centric model is now the only supported flow:

Deposits (EVM → Canton)

Use MintCommand + ExecuteMint:

mintCmdCid <- submit issuer $ createCmd MintCommand with ...
holdingCid <- submit issuer $ exerciseCmd mintCmdCid ExecuteMint

Withdrawals (Canton → EVM)

Use WithdrawalRequest + ProcessWithdrawal:

withdrawalReqCid <- submit issuer $ createCmd WithdrawalRequest with ...
withdrawalEventCid <- submit issuer $ exerciseCmd withdrawalReqCid ProcessWithdrawal

Other Changes

  • Updated bridge-core-tests to use issuer-centric flow
  • Updated TESTING.md documentation
  • All 13 packages bumped to v1.1.0

Package Versions

Package Version
common 1.1.0
cip56-token 1.1.0
bridge-core 1.1.0
bridge-wayfinder 1.1.0
bridge-cbtc 1.1.0
bridge-usdc 1.1.0
bridge-generic 1.1.0
dvp 1.1.0

v1.0.2

14 Dec 15:08
ee1602f

Choose a tag to compare

What's Changed

🚀 Production Ready

  • Wayfinder Bridge for PROMPT token is now production ready

✨ Improvements

  • Separate test packages from production packages - Production DARs no longer include daml-script, reducing package store bloat when deployed to Canton Network
  • SDK updated to 3.4.8
  • README overhaul - Updated architecture diagrams, package overview, and documentation

📦 Package Structure

Production Packages (deployed to ledger):

  • common - Shared types and utilities
  • cip56-token - CIP-56 compliant token standard
  • bridge-core - Core bridge contracts
  • bridge-wayfinder - Wayfinder PROMPT bridge (Production)
  • bridge-usdc, bridge-cbtc, bridge-generic, dvp - In development

Test Packages (not deployed):

  • common-tests, cip56-token-tests, bridge-core-tests, bridge-wayfinder-tests, integration-tests

🔧 Build

# From canton-middleware repo
./scripts/build-dars.sh

Full Changelog: v1.0.1...v1.0.2

v1.0.1

12 Dec 18:53
0cc126f

Choose a tag to compare

Patch release with partial withdrawal bug fix in CIP56Manager.Burn

Version 1

12 Dec 18:46

Choose a tag to compare

Initial Release

  • Wayfinder PROMPT <-> CANTON CIP56