-
v0.11.1 Stable
released this
2025-08-01 18:05:13 +00:00 | 606 commits to main since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.11.0 Stable
released this
2025-06-29 16:16:00 +00:00 | 608 commits to main since this release0.11.0
Summary
Version 0.11.0 brings significant architectural changes to enhance database reliability and performance. The major changes include:
-
Database Engine Change: Replaced
sqlxwithrusqliteas the SQLite database driver and removed support forredb. This change provides better performance and reliability for database operations. -
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.
-
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:
- Stop your current mint
- Back up your database
- Use the migration script available at: https://github.com/cashubtc/cdk/blob/main/misc/convert_redb_to_sqlite.sh
- Update your config file to target the SQLite database engine
- 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
- @coderwander made their first contribution in https://github.com/cashubtc/cdk/pull/804
- @gudnuf made their first contribution in https://github.com/cashubtc/cdk/pull/844
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.10.0...v0.11.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.11.0
11 downloads ·
2025-06-30 13:57:43 +00:00 · 26 MiB -
cdk-mintd-v0.11.0
8 downloads ·
2025-06-30 13:57:54 +00:00 · 33 MiB
-
-
v0.10.1 Stable
released this
2025-06-15 10:17:30 +00:00 | 672 commits to main since this releaseFix
- Set mint version when mint rpc is enabled PR ([thesimplekid]).
cdk-signatoryis optional for wallet PR ([thesimplekid]).
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.10.0...v0.10.1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.10.0 Stable
released this
2025-06-07 19:09:15 +00:00 | 680 commits to main since this releaseSummary
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
- SignatoryManager service PR (crodas).
- Mint URL flag option PR (thesimplekid).
- Export NUT-06 supported settings field PR (davidcaseria).
- Docker build workflow for arm64 images PR (asmo).
Changed
- Updated dependencies PR (thesimplekid).
- Refactored NUT-04 and NUT-05 PR (thesimplekid).
- Updated Nix flake to 25.05 and removed Nix cache PR (thesimplekid).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.10.0
3 downloads ·
2025-06-07 20:25:06 +00:00 · 27 MiB -
cdk-mintd-v0.10.0
5 downloads ·
2025-06-07 20:23:52 +00:00 · 36 MiB
-
v0.9.3 Stable
released this
2025-06-07 14:59:26 +00:00 | 716 commits to main since this releaseChanged
- 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
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.9.2 Stable
released this
2025-05-18 11:46:48 +00:00 | 719 commits to main since this release0.9.2
Added
- HTLC from hash support PR (thesimplekid).
- Optional transport and NUT-10 secret on payment request PR (thesimplekid).
- Multi-part payments support in cdk-cli PR (thesimplekid).
Changed
- Refactored Lightning module to use common types PR (thesimplekid).
- Updated LND to support mission control and improved requery behavior PR (lollerfirst).
Fixed
- NUT-18 payment request encoding/decoding PR (thesimplekid).
- Mint URL trailing slash handling PR (thesimplekid).
- Get spendable to return witness PR (thesimplekid).
- Melt start up check PR (thesimplekid)
New Contributors
- @KnowWhoami made their first contribution in https://github.com/cashubtc/cdk/pull/740
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.9.1...v0.9.2
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.9.2
5 downloads ·
2025-05-20 09:12:59 +00:00 · 30 MiB -
cdk-mintd-v0.9.2
5 downloads ·
2025-05-20 09:13:19 +00:00 · 35 MiB
-
v0.9.1 Stable
released this
2025-04-23 18:59:28 +00:00 | 741 commits to main since this releaseWhat's Changed
- chore: fix typo in DEVELOPMENT.md by @timesince in https://github.com/cashubtc/cdk/pull/720
- CORS Headers in Responses by @lollerfirst in https://github.com/cashubtc/cdk/pull/719
- feat: mint should not enforce expiry by @thesimplekid in https://github.com/cashubtc/cdk/pull/723
- refactor: Ensure unique proofs when calculating token value by @thesimplekid in https://github.com/cashubtc/cdk/pull/724
- Fix debug info panic by @thesimplekid in https://github.com/cashubtc/cdk/pull/727
- chore: update stable rust to 1.86.0 by @thesimplekid in https://github.com/cashubtc/cdk/pull/732
- Fix race conditions with proof state updates. by @crodas in https://github.com/cashubtc/cdk/pull/730
- update lnbits-rs to 0.5.0 by @aki-mizu in https://github.com/cashubtc/cdk/pull/733
- fix: remove urls grpc by @thesimplekid in https://github.com/cashubtc/cdk/pull/734
- chore: bump CDK version from 0.9.0 to 0.9.1 by @thesimplekid in https://github.com/cashubtc/cdk/pull/736
New Contributors
- @timesince made their first contribution in https://github.com/cashubtc/cdk/pull/720
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.9.0...v0.9.1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.9.0 Stable
released this
2025-04-09 14:33:01 +00:00 | 768 commits to main since this releaseSummary
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
- Amountless invoices NUT PR (thesimplekid).
create_time,paid_timeto mint and melt quotes PR (thesimplekid).- cdk-mint-rpc: Added get mint and melt quotes ttl PR (thesimplekid).
Changed
- cashu: Move wallet mod to cdk-common (thesimplekid).
- Export Mint DB Traits PR (davidcaseria).
- Move Mint and Melt quote to
cdkcommit fromcashuPR (thesimplekid).
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
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.9.0
7 downloads ·
2025-04-11 18:07:53 +00:00 · 29 MiB -
cdk-mintd-v0.9.0
6 downloads ·
2025-04-11 18:08:22 +00:00 · 36 MiB
-
v0.8.1 Stable
released this
2025-03-25 10:15:28 +00:00 | 804 commits to main since this releasev0.8.1
Fixed
- cashu: Handle url with paths PR (benthecarman).
Changed
- cdk: export
MintKeySetInfoPR (davidcaseria).
New Contributors
- @optout21 made their first contribution in https://github.com/cashubtc/cdk/pull/671
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.8.0...v0.8.1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.8.1
4 downloads ·
2025-03-25 10:23:17 +00:00 · 29 MiB -
cdk-mintd-v0.8.1
5 downloads ·
2025-03-25 10:23:44 +00:00 · 35 MiB
-
v0.8.0 Stable
released this
2025-03-24 18:40:08 +00:00 | 820 commits to main since this releaseFixed
- 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
MintQuoteandMeltQuotefromcashutocdk-common(thesimplekid).
Added
- Added redb feature to mintd in order to meet MSRV target (thesimplekid).
- cdk-sqlite: In memory sqlite database (crodas).
- Add
tos_urltoMintInfo(nodlAndHodl). - cdk: Add tos_url setter to
MintBuilder(thesimplekid). - Added optional "request" and "unit" fields to MeltQuoteBolt11Response NUT Change (thesimplekid).
- Added optional "amount" and "unit" fields to MintQuoteBolt11Response NUT Change (thesimplekid).
- Compile-time error when no lightning backend features are enabled (thesimplekid).
- Add support for sqlcipher (benthecarman).
- Payment processor (thesimplekid).
- Payment request builder (thesimplekid).
- Sends should be initiated by calling Wallet::prepare_send (davidcaseria).
- A SendOptions struct controls optional functionality for sends (davidcaseria).
- Allow Amount splitting to target a fee rate amount (davidcaseria).
- Utility functions for Proofs (davidcaseria).
- Utility functions for SendKind (davidcaseria).
- Completed checked arithmetic operations for Amount (i.e., checked_mul and checked_div) (davidcaseria).
Removed
- Remove support for Memory Database in cdk (crodas).
- Remove
AmountStr(crodas). - Remove
get_nostr_last_checkedfromWalletDatabase(thesimplekid). - Remove
add_nostr_last_checkedfromWalletDatabase(thesimplekid).
New Contributors
- @codingpeanut157 made their first contribution in https://github.com/cashubtc/cdk/pull/610
- @nodlAndHodl made their first contribution in https://github.com/cashubtc/cdk/pull/604
- @benthecarman made their first contribution in https://github.com/cashubtc/cdk/pull/640
- @TechVest made their first contribution in https://github.com/cashubtc/cdk/pull/648
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.7.1...v0.8.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
cdk-cli-v0.8.0
3 downloads ·
2025-03-24 21:27:27 +00:00 · 31 MiB -
cdk-mintd-v0.8.0
3 downloads ·
2025-03-24 21:28:05 +00:00 · 37 MiB