fn send returns Token so the user can use the struct of convert it to a v3 or v4 string (thesimplekid).MultiMintWallet (thesimplekid).pending and spent proofs by ys or secrets instead of a single proofs (thesimplekid).add_blind_signature to add_blind_signatures (thesimplekid).add_active_keyset to set_active_keyset (thesimplekid).get_proofs to return Vec<ProofInfo> instead of Option<Vec<ProofInfo>> (thesimplekid).Copy on SigFlag (thesimplekid).fn send_proofs that marks proofs as reserved and creates token (thesimplekid).fn melt_proofs that uses specific proofs for melt instead of selecting (thesimplekid).add_proofs, get_proofs_by_ys, get_proofs_states, and update_proofs_states (thesimplekid).SIG_ALL is not allowed in melt (thesimplekid).swap verify correct number of sigs on outputs when SigAll (thesimplekid).SplitTarget on melt (thesimplekid).get_spent_proofs, get_spent_proofs_by_ys,get_pending_proofs, get_pending_proofs_by_ys, and remove_pending_proofs (thesimplekid).This release introduces TokenV4, which uses CBOR encoding as the default token format. It also includes fee support for both wallet and mint operations.
When sending, the sender can choose to include the necessary fee to ensure that the receiver can redeem the full sent amount. If this is not done, the receiver will be responsible for the fee.
Additionally, this release introduces a Mint binary cdk-mintd that uses the cdk-axum crate as a web server to create a full Cashu mint. When paired with a Lightning backend, currently implemented as Core Lightning, it is included in this release as cdk-cln.
wallet:receive will not claim proofs from a mint other then the wallet's mint (thesimplekid).Token is changed from a struct to enum of either TokenV4 or Tokenv3 (thesimplekid).MintProofs to TokenV3Token (thesimplekid).send send_kind and include_fees for control of how to handle fees in a send (thesimplekid).create_swap include_fees for control of if fees to redeam the send proofs are included in send amount (thesimplekid).wallet::receive_proof functions to claim specific proofs instead of encoded token (thesimplekid).send to print v3 token, default is v4 (thesimplekid).MintLightning trait (thesimplekid).MintInfo and NUTs builder (thesimplekid).PreMintSecret added Keyset id (thesimplekid).MintInfo (thesimplekid).wallet::total_pending_balance does not include reserved proofs (thesimplekid).