• v0.11.1 650a8a36b4

    v0.11.1 Stable

    thesimplekid released this 2025-08-01 18:05:13 +00:00 | 606 commits to main since this release

    No known key found for this signature in database
    GPG key ID: 63AD6D09BBFE7783
    Downloads
  • v0.11.0 4b82fa82a7

    v0.11.0 Stable

    thesimplekid released this 2025-06-29 16:16:00 +00:00 | 608 commits to main since this release

    No known key found for this signature in database
    GPG key ID: 63AD6D09BBFE7783

    0.11.0

    Summary

    Version 0.11.0 brings significant architectural changes to enhance database reliability and performance. The major changes include:

    1. Database Engine Change: Replaced sqlx with rusqlite as the SQLite database driver and removed support for redb. This change provides better performance and reliability for database operations.

    2. Transaction Management: Introduced robust database transaction support that encapsulates all database changes. The new Transaction trait implements a rollback operation on Drop unless explicitly committed, ensuring data integrity.

    3. Race Condition Prevention: Added READ-and-lock operations to securely read and lock records from the database for exclusive access, preventing race conditions in concurrent operations.

    ⚠️ Important Migration Note for redb Users

    If you are currently running a mint with redb, you must migrate to SQLite before upgrading to v0.11. Follow these steps:

    1. Stop your current mint
    2. Back up your database
    3. Use the migration script available at: https://github.com/cashubtc/cdk/blob/main/misc/convert_redb_to_sqlite.sh
    4. Update your config file to target the SQLite database engine
    5. Start your mint with v0.11

    Added

    • cdk-lnbits: Support lnbits v1 and pre-v1 PR ([thesimplekid]).
    • Support for Keyset v2 PR ([lollerfirst]).
    • Add option to limit the token size of a send PR ([davidcaseria]).
    • Database transaction support PR ([crodas]).
    • Support for multsig refund PR ([thesimplekid]).
    • Convert unit helper fn PR ([davidcaseria]).

    Changed

    • cdk-sqlite: remove sqlx in favor of rusqlite ([crodas]).
    • cdk-lnd: use custom tonic gRPC instead of fedimint-tonic-grpc PR ([thesimplekid]).
    • cdk-cln: remove the us of mutex on cln client PR ([thesimplekid]).

    Fixed

    • mint start up check was not checking unpaid quotes PR ([gudnuf]).
    • Naming of blinded_message column on blind_signatures was y PR ([thesimplekid]).
    • cdk-cli: Create wallets for non sat units if supported PR ([thesimplekid]).

    Removed

    • cdk-redb support for the mint PR ([thesimplekid]).
    • cdk-sqlite remove unused melt_request table PR ([crodas])

    New Contributors

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.10.0...v0.11.0

    Downloads
  • v0.10.1 265d1734bd

    v0.10.1 Stable

    thesimplekid released this 2025-06-15 10:17:30 +00:00 | 672 commits to main since this release

    No known key found for this signature in database
    GPG key ID: 63AD6D09BBFE7783

    Fix

    • Set mint version when mint rpc is enabled PR ([thesimplekid]).
    • cdk-signatory is optional for wallet PR ([thesimplekid]).

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.10.0...v0.10.1

    Downloads
  • v0.10.0 9e8f5a1e7d

    v0.10.0 Stable

    thesimplekid released this 2025-06-07 19:09:15 +00:00 | 680 commits to main since this release

    Summary

    Introduces the new SignatoryManager service, a significant architectural enhancement that provides complete segregation between the mint and its most sensitive component: the private keys. The SignatoryManager offers a clean API for all key-related operations and keyset management, with communication limited to messages passed through the manager interface, ensuring the signatory remains isolated from the rest of the mint. This foundation enables future deployment of signing operations in separate services or foreign environments to reduce operational risks. Additional improvements include a new mint URL flag option, enhanced NUT-04/NUT-05 implementations, ARM64 Docker support, and updated dependencies.

    Added

    Changed

    Downloads
  • v0.9.3 7e249d4b0d

    v0.9.3 Stable

    thesimplekid released this 2025-06-07 14:59:26 +00:00 | 716 commits to main since this release

    Changed

    • Melt will perform swap before attempting to melt if exact amount is not available PR ([crodas]).

    Fixed

    • Handle old nut15 format to keep compatibility with older nutshell version PR ([thesimplekid]).

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.9.2...v0.9.3

    Downloads
  • v0.9.2 fc2b0b3ea2

    v0.9.2 Stable

    thesimplekid released this 2025-05-18 11:46:48 +00:00 | 719 commits to main since this release

    0.9.2

    Added

    Changed

    • Refactored Lightning module to use common types PR (thesimplekid).
    • Updated LND to support mission control and improved requery behavior PR (lollerfirst).

    Fixed

    New Contributors

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.9.1...v0.9.2

    Downloads
  • v0.9.1 7ae5a0c8b9

    v0.9.1 Stable

    thesimplekid released this 2025-04-23 18:59:28 +00:00 | 741 commits to main since this release

    What's Changed

    New Contributors

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.9.0...v0.9.1

    Downloads
  • v0.9.0 96179b7d14

    v0.9.0 Stable

    thesimplekid released this 2025-04-09 14:33:01 +00:00 | 768 commits to main since this release

    Summary

    Cashu's CDK version 0.9.0 introduces amountless invoices through an update to NUT-05, adds time stamping for mint and melt quotes, reorganizes code by moving wallet modules to cdk-common, and fixes several bugs including issues with SQLite database creation and mint URL updates.

    0.9.0

    Added

    Changed

    Fixed

    • Creation of memory sqlite db PR (crodas).
    • cdk-cli: Ensure auth wallet is created before attempting to mint pending PR (thesimplekid).
    • cdk-mint-rpc: Adding mint urls was not updating correctly PR (thesimplekid).
    • cdk-mint-rpc: Fixed setting long description PR (thesimplekid).
    Downloads
  • v0.8.1 e86531957f

    v0.8.1 Stable

    thesimplekid released this 2025-03-25 10:15:28 +00:00 | 804 commits to main since this release

    v0.8.1

    Fixed

    Changed

    New Contributors

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.8.0...v0.8.1

    Downloads
  • v0.8.0 c63fc02a5a

    v0.8.0 Stable

    thesimplekid released this 2025-03-24 18:40:08 +00:00 | 820 commits to main since this release

    Fixed

    • cdk: proof matches conditions was not matching payment conditions correctly (thesimplekid).
    • cdk: Updating mint_url would remove proofs when we want to keep them (ok300).
    • Wallet: Fix ability to receive cashu tokens that include DLEQ proofs (ok300).
    • cdk-sqlite: Wallet was not storing dleq proofs (thesimplekid).

    Changed

    • Updated MSRV to 1.75.0 (thesimplekid).
    • cdk-sqlite: Do not use UPDATE OR REPLACE (crodas).
    • cdk: Refactor keyset init (lollerfirst).
    • Feature-gated lightning backends (CLN, LND, LNbits, FakeWallet) for selective compilation (thesimplekid).
    • cdk-sqlite: update sqlx to 0.7.4 (benthecarman).
    • Unifies and optimizes the proof selection algorithm to use Wallet::select_proofs (davidcaseria).
    • Wallet::send now requires a PreparedSend (davidcaseria).
    • WalletDatabase proof state update functions have been consolidated into update_proofs_state (davidcaseria).
    • Moved MintQuote and MeltQuote from cashu to cdk-common (thesimplekid).

    Added

    Removed

    • Remove support for Memory Database in cdk (crodas).
    • Remove AmountStr (crodas).
    • Remove get_nostr_last_checked from WalletDatabase (thesimplekid).
    • Remove add_nostr_last_checked from WalletDatabase (thesimplekid).

    New Contributors

    Full Changelog: https://github.com/cashubtc/cdk/compare/v0.7.1...v0.8.0

    Downloads