Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@elnosh elnosh released this 05 Feb 22:50
· 2 commits to main since this release

What's changed

New supported NUTs

  • Multimint payments (NUT-15). Note: This is an experimental feature so please use with caution.

    • Wallet can now attempt it with MultiMintPayment method. It is also enabled in the gonuts-cli wallet.
    • Support was added in the mint and it can be enabled by setting EnableMPP to true in the config.
  • Websockets (NUT-17).

    • Support for clients added through SubscriptionManager that can be used to handle subscriptions and get updates from the mint.
    • Initial support for websockets in mint added for MintQuote kind subscriptions.

API Updates

  • Break up Invoice previously used for both Mint and Melt quotes into MintQuote and MeltQuote.
  • Separate melting into RequestMeltQuote and Melt methods.
  • Multiple methods in wallet to check status of proofs. Useful for checking if the wallet has any pending proofs.

Fixes

  • Bug in Restore where in certain cases use incorrect idx when unblinding signatures.
  • Close DB if there was error in LoadWallet. Close DB after Restore.
  • When sending from wallet, use proofs from inactive keysets first.
  • Embed DB migration files for the mint rather than provide it in config.