-
v0.3.0 Stable
released this
2024-08-31 19:04:26 +00:00 | 1238 commits to main since this releaseSummary
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 sendreturnsTokenso 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
pendingandspentproofsbyysorsecretsinstead of a single proofs (thesimplekid). - cdk(cdk-database/mint): Change
add_blind_signaturetoadd_blind_signatures(thesimplekid). - cdk(cdk-database/mint): Rename
add_active_keysettoset_active_keyset(thesimplekid). - cdk(cdk-database/wallet): Change
get_proofsto returnVec<ProofInfo>instead ofOption<Vec<ProofInfo>>(thesimplekid). - cdk-cli: Receive will add wallet when receiving if mint is unknown (thesimplekid).
- cdk(cdk-database/mint): Rename
get_blinded_signaturestoget_blind_signatures(thesimplekid). - cdk(cdk-database/mint): Rename
get_blinded_signatures_for_keysettoget_blind_signatures_for_keyset(thesimplekid). - cdk(mint): typo rename
total_redeametototal_redeemed(vnprc) - cdk(mint): Refactored
MintKeySet::generate_from_xprivandMintKeySet::generate_from_seedmethods to accept max_order, currency_unit, and derivation_path parameters directly (vnprc). - cdk(wallet): Return WalletKey for UnknownWallet error (davidcaseria).
- cdk(cdk-lightning):
CreateInvoiceResponseadded expiry time to better support backends where it cannot be set (thesimplekid). - cdk(cdk-lightning): Use
Amounttype instead ofu64(thesimplekid). - cdk(cdk-lightning):
CreateInvoicerequires unit argument (thesimplekid). - cdk(cdk/multi_mint_wallet):
get_balancesreturns aBTreeMapinstead ofHashMap(thesimplekid).
Added
- cdk(NUT-11): Add
CopyonSigFlag(thesimplekid). - cdk(wallet): Add
fn send_proofsthat marks proofs asreservedand creates token (thesimplekid). - cdk(wallet): Add
fn melt_proofsthat uses specific proofs formeltinstead 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, andupdate_proofs_states(thesimplekid). - cdk(cdk-database/mint): Add
get_blinded_signatures_for_keysetto get all blind signatures for akeyset_id(thesimplekid). - cdk(mint): Add
total_issuedandtotal_redeamed(thesimplekid). - cdk(cdk-database/mint) Add
get_proofs_by_keyset_id(thesimplekid). - cdk(wallet/mint): Add
mint_icon_url(cjbeery24). - cdk: Add
MintUrlthat sanatizes mint url by removing trailing/(cjbeery24). - cdk(cdk-database/mint): Add
update_proofsthat both adds newProofInfos to the db and deletes (davidcaseria). - cdk(cdk-database/mint): Add
set_pending_proofs,reserve_proofs, andset_unspent_proofs(davidcaseria).
Fixed
- cdk(mint):
SIG_ALLis not allowed inmelt(thesimplekid). - cdk(mint): On
swapverify correct number of sigs on outputs whenSigAll(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
SplitTargetonmelt(thesimplekid). - cdk(cdk-database/mint): Remove
get_spent_proofs,get_spent_proofs_by_ys,get_pending_proofs,get_pending_proofs_by_ys, andremove_pending_proofs(thesimplekid). - cdk: Remove
UncheckedUrlin favor ofMintUrl(cjbeery24). - cdk(cdk-database/mint): Remove
set_proof_state,remove_proofsandadd_proofs(davidcaseria).
New Contributors
- @vnprc made their first contribution in https://github.com/cashubtc/cdk/pull/268
- @AbdelStark made their first contribution in https://github.com/cashubtc/cdk/pull/281
- @cjbeery24 made their first contribution in https://github.com/cashubtc/cdk/pull/282
- @prusnak made their first contribution in https://github.com/cashubtc/cdk/pull/294
Full Changelog: https://github.com/cashubtc/cdk/compare/v0.2.0...v0.3.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- cdk(wallet):