Releases: ChainSafe/canton-erc20
Releases · ChainSafe/canton-erc20
v1.5.0 - Bridge Cleanup & Unified Token Architecture
Changes
Bridge Cleanup
- Removed 5 non-bridging choices from
WayfinderBridgeConfig:RegisterUser- registration now happens via directFingerprintMappingcreationGetMetadata- metadata available viaTokenConfigAddAuditObserver/RemoveAuditObserver- observer management viaTokenConfigDirectMint- minting viaTokenConfig.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
What's Changed
Unified Token Architecture
- TokenConfig (
CIP56.Config): Single entry point for all mint/burn operations, replacing splitNativeTokenConfig/bridge-specific logic - Unified Events (
CIP56.Events):MintEvent/BurnEventwith optional bridge metadata (evmTxHash,evmDestination) - Thin Bridge Layer:
WayfinderBridgeConfigdelegates all mint/burn toTokenConfig-- adding a new bridged token means creating another bridge config pointing at a differentTokenConfiginstance
Anti-fragmentation
CIP56Holding.Transfernow acceptsexistingRecipientHoldingto 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 mappingcip56-token- CIP56Holding, TokenConfig, Eventsbridge-core- MintCommand, WithdrawalRequestbridge-wayfinder- Wayfinder PROMPT token bridgecommon-tests,cip56-token-tests,bridge-core-tests,bridge-wayfinder-testsintegration-tests
Native Token Live
Full Changelog: v1.1.0...1.2.0
v1.1.0 - Issuer-Centric Model
Breaking Changes
- Removed legacy user-driven templates:
MintProposalMintAuthorizationRedeemRequestBurnEvent
- Removed
CreateMintProposalchoice fromWayfinderBridgeConfig
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-teststo use issuer-centric flow - Updated
TESTING.mddocumentation - 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
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 utilitiescip56-token- CIP-56 compliant token standardbridge-core- Core bridge contractsbridge-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.shFull Changelog: v1.0.1...v1.0.2