Skip to content

Releases: cashubtc/cdk

v0.7.1

13 Feb 11:23
7b7def1
Compare
Choose a tag to compare

[v0.7.1]

Changed
cdk: Debug print of Id is hex (thesimplekid).
cdk: Debug print of mint secret is the hash [(thesimplekid)].
cdk: Use check_incoming payment on attempted mint or check mint qutoe (thesimplekid).
cdk-cln: Use call_typed for cln rpc calls (daywalker90).

Added

cdk: Mint builder add ability to set custom derivation paths [(thesimplekid)].

Fixed

cdk-cln: return error on stream error [(thesimplekid)].

New Contributors

Full Changelog: v0.7.0...v0.7.1

cdk-mintd-v0.7.2

13 Feb 12:00
e1458b0
Compare
Choose a tag to compare

Fixed
-cdk-mintd: Fixed mint and melt error on mint initialized with RPC interface disabled (ok300).

Full Changelog: v0.7.1...cdk-mintd-v0.7.2

v0.7.0

06 Feb 13:58
0be37aa
Compare
Choose a tag to compare

#[v0.7.0]

Changed

  • Moved db traits to cdk-common (crodas).
  • Moved other commin types to cdk-common (crodas).
  • Wallet::mint returns the minted Proofs and not just the amount ([dacidcaseria]).

Added

  • Token::to_raw_bytes serializes generic token to raw bytes (lollerfirst).
  • Token::try_from for Vec<u8> constructs a generic token from raw bytes (lollerfirst).
  • TokenV4::to_raw_bytes() serializes a TokenV4 to raw bytes following the spec (lollerfirst).
  • Wallet::receive_raw which receives raw binary tokens (lollerfirst).
  • cdk-mint-rpc: Mint management gRPC client and server ([thesimpekid]).
  • cdk-common: cdk specific types and traits (crodas).
  • cashu: Core types and functions defined in NUTs (crodas).

Fixed

  • Multimint unit check when wallet receiving token (thesimplekid).
  • Mint start up with most recent keyset after a rotation (thesimplekid).

New Contributors

Full Changelog: v0.6.0...cdk-v0.7.0

cdk-v0.6.1

04 Feb 19:40
e60448f
Compare
Choose a tag to compare
chore: release mintd:v0.6.2,cdk:0.6.1

cdk-mintd-v0.6.2

04 Feb 19:39
e60448f
Compare
Choose a tag to compare
chore: release mintd:v0.6.2,cdk:0.6.1

cdk-mintd-v0.6.1

10 Jan 17:04
8242bd7
Compare
Choose a tag to compare

#[0.6.1]
Added
cdk-mintd: Get work-dir from env var (thesimplekid)

Full Changelog: v0.6.0...cdk-mintd-v0.6.1

v0.6.0

17 Dec 13:34
0e12314
Compare
Choose a tag to compare

Changed

cdk: Enforce quote_id to uuid type in mint (tdelabro).
cdk: Refactor wallet mint connector (ok300).

Added

cdk: NUT19 Settings in NUT06 info (thesimplekid).
cdk: NUT17 Websocket support for wallet (crodas).
cdk-axum: Redis cache backend (crodas).
cdk-mints: Get mint settings from env vars (thesimplekid).
cdk-axum: HTTP compression support (ok300).

Fixed

cdk-sqlite: keyset counter was overwritten when keyset was fetched from mint (thesimplekid).
cdk-cli: on mint use unit from cli args (thesimplekid).
cdk-cli: on restore create wallet if it does not exist (thesimplekid).
cdk: Signaling support for optional nuts ([thesimpekid]).
cdk-phd: Check payment has valid uuis (thesimplekid).

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

19 Nov 10:38
8a3cec6
Compare
Choose a tag to compare

What's Changed

This release included support with NUT-17 websockets for the mint as well as many bug fixes and improvements.

Changed

  • cdk: Bump bitcoin to 0.32.2 (prusnak).
  • cdk: Bump lightning-invoice to 0.32.2 (prusnak).
  • cdk: Bump lightning to 0.0.124 (prusnak).
  • cdk: PaymentMethod as a non_exhaustive enum (thesimplekid).
  • cdk: CurrencyUnit as a non_exhaustive enum (thesimplekid).
  • cdk: Enforce token is single mint (thesimplekid).
  • cdk: Mint will return change for over paid melt even over fee reserve (davidcaseria).
  • cdk: Refactor ln_backeds to be on the cdk::Mint and not with axum (thesimplekid).
  • cdk: Change is returned in the check quote response (thesimplekid).
  • cdk: Move unit conversion util fn to amount module (davidcaseria).
  • cdk: Remove spent proofs from db when check state is called (mubarak23).
  • cdk: Use MintUrl directly in wallet client (ok300).
  • cdk-cli: Change cdk-cli pay command to melt (mubarak23).
  • cdk: Rename Wallet::get_proofs to Wallet::get_unspent_proofs (ok300).
  • cdk: Id to u32 changed from TryFrom to From ([vnrpc]).

Added

  • cdk: Added description to MintQuoteBolt11Request (lollerfirst).
  • cdk(wallet): Added description to mint_quote (lollerfirst).
  • cdk: Add amount and fee_paid to Melted (davidcaseria).
  • cdk: Add from_proofs on Melted (davidcaseria).
  • cdk: Add unit on PaymentResponse (thesimplekid).
  • cdk: Add description for mint quote (lollerfirst).
  • cdk-axum: Add cache to some endpoints (lollerfirst).
  • cdk: Add Proofs trait (ok300).
  • cdk: Wallet verifies keyset id when first fetching keys (thesimplekid).
  • cdk-mind: Add swagger docs (ok300).
  • cdk: NUT18 payment request support (thesimplekid).
  • cdk: Add Wallet::get_proofs_with (ok300).
  • cdk: Mint NUT-17 Websocket support (crodas).

Removed

Fixed

  • cdk: Check of inputs to include fee (thesimplekid).
  • cdk: Make unit mandatory in tokenv4 (ok300).

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

08 Sep 21:33
f7e4ea3
Compare
Choose a tag to compare

#[0.4.0]

Summary

Changed

Added

Fixed

  • cdk(mint): use checked addition on amount to ensure there is no overflow (thesimplekid).

Removed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

31 Aug 19:24
1cd80de
Compare
Choose a tag to compare

Summary

In this release LNbits, Strike API, and LND were added as supported lightning backends for the mint. The strike api supports both bitcoin denomination as well as fiat currency.

Changed

  • cdk(wallet): fn send returns Token so the user can use the struct of convert it to a v3 or v4 string (thesimplekid).
  • cdk(wallet): Publicly export MultiMintWallet (thesimplekid).
  • cdk(cdk-database/mint): Get pending and spent proofs by ys or secrets instead of a single proofs (thesimplekid).
  • cdk(cdk-database/mint): Change add_blind_signature to add_blind_signatures (thesimplekid).
  • cdk(cdk-database/mint): Rename add_active_keyset to set_active_keyset (thesimplekid).
  • cdk(cdk-database/wallet): Change get_proofs to return Vec<ProofInfo> instead of Option<Vec<ProofInfo>> (thesimplekid).
  • cdk-cli: Receive will add wallet when receiving if mint is unknown (thesimplekid).
  • cdk(cdk-database/mint): Rename get_blinded_signatures to get_blind_signatures (thesimplekid).
  • cdk(cdk-database/mint): Rename get_blinded_signatures_for_keyset to get_blind_signatures_for_keyset (thesimplekid).
  • cdk(mint): typo rename total_redeame to total_redeemed (vnprc)
  • cdk(mint): Refactored MintKeySet::generate_from_xpriv and MintKeySet::generate_from_seed methods to accept max_order, currency_unit, and derivation_path parameters directly (vnprc).
  • cdk(wallet): Return WalletKey for UnknownWallet error (davidcaseria).
  • cdk(cdk-lightning): CreateInvoiceResponse added expiry time to better support backends where it cannot be set (thesimplekid).
  • cdk(cdk-lightning): Use Amount type instead of u64 (thesimplekid).
  • cdk(cdk-lightning): CreateInvoice requires unit argument (thesimplekid).
  • cdk(cdk/multi_mint_wallet): get_balances returns a BTreeMap instead of HashMap (thesimplekid).

Added

  • cdk(NUT-11): Add Copy on SigFlag (thesimplekid).
  • cdk(wallet): Add fn send_proofs that marks proofs as reserved and creates token (thesimplekid).
  • cdk(wallet): Add fn melt_proofs that uses specific proofs for melt instead of selecting (thesimplekid).
  • cdk-cli(receive): Add support for signing keys to be nostr nsec encoded (thesimplekid).
  • cdk-fake-wallet: Add Fake wallet for testing (thesimplekid).
  • cdk(cdk-database/mint): Add add_proofs, get_proofs_by_ys, get_proofs_states, and update_proofs_states (thesimplekid).
  • cdk(cdk-database/mint): Add get_blinded_signatures_for_keyset to get all blind signatures for a keyset_id (thesimplekid).
  • cdk(mint): Add total_issued and total_redeamed (thesimplekid).
  • cdk(cdk-database/mint) Add get_proofs_by_keyset_id (thesimplekid).
  • cdk(wallet/mint): Add mint_icon_url (cjbeery24).
  • cdk: Add MintUrl that sanatizes mint url by removing trailing / (cjbeery24).
  • cdk(cdk-database/mint): Add update_proofs that both adds new ProofInfos to the db and deletes (davidcaseria).
  • cdk(cdk-database/mint): Add set_pending_proofs, reserve_proofs, and set_unspent_proofs (davidcaseria).

Fixed

  • cdk(mint): SIG_ALL is not allowed in melt (thesimplekid).
  • cdk(mint): On swap verify correct number of sigs on outputs when SigAll (thesimplekid).
  • cdk(mint): Use amount in payment_quote response from ln backend (thesimplekid).
  • cdk(mint): Create new keysets for added supported units (thesimplekid).
  • cdk(mint): If there is an error in swap proofs should be reset to unspent (thesimplekid).

Removed

  • cdk(wallet): Remove unused argument SplitTarget on melt (thesimplekid).
  • cdk(cdk-database/mint): Remove get_spent_proofs, get_spent_proofs_by_ys,get_pending_proofs, get_pending_proofs_by_ys, and remove_pending_proofs (thesimplekid).
  • cdk: Remove UncheckedUrl in favor of MintUrl (cjbeery24).
  • cdk(cdk-database/mint): Remove set_proof_state, remove_proofs and add_proofs (davidcaseria).

New Contributors

Full Changelog: v0.2.0...v0.3.0