Skip to content

Releases: elnosh/gonuts

v0.4.0

05 Feb 22:50
Compare
Choose a tag to compare

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.

v0.3.0

31 Oct 21:18
Compare
Choose a tag to compare

Summary

New Features and NUTs

  • V4 Tokens which is a new format that uses CBOR for serializing tokens.
  • NUT-11 (P2PK) support in mint for verifying Pay-to-Public-Key spending conditions. This was already supported in wallet.
  • NUT-07 in mint which enables wallets to check whether a proof is spent or not.
  • NUT-09 (Signature restore) for mint to reissue blind signatures from previously seen blinded blinded messages.
  • Added support for NUT-12 (DLEQ Proofs) in wallet and mint.
  • Support NUT-08 in wallet. This enables wallet to get any overpaid lightning fees back from a melt request.
  • Added fake backend in mint that will mark all the quotes as paid. Only to be used for testing.
  • NUT-14 (HTLCs) support in both wallet and mint.

What's Changed

New Contributors

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

v0.2.0

06 Aug 18:38
Compare
Choose a tag to compare

Updates

New features and protocol updates.

Wallet

  • Pay to Public Key (P2PK). This enables generating a token to send that is locked to a public key and can only be redeemed by providing a valid signature. From the CLI wallet, this feature can be used with the send --lock <pubkey> <amount> and p2pk-lock to retrieve a public key to which ecash can be locked. Exposed through the SendToPubkey method.
  • Fees. Wallet now supports fees according to NUT-02 which recently introduced fees to the protocol.
  • NUT-09 and NUT-13. Generates secrets deterministically (NUT-13) from a seed phrase and in combination with NUT-09 to restore signatures from the mint. This enables restoring a wallet from a seed phrase. In wallet it can be used with the restore command.

Mint

  • Fees. Support for NUT-02 fees. Wide support for this feature is still in development so enabling fees in mint could potentially break wallets that do not support it yet.
  • Limits to mint. These can be specified in the .env file:
    - MAX_BALANCE will disable minting new ecash if the specified balance is reached.
    - MINTING_MAX_AMOUNT
    - MELTING_MAX_AMOUNT
  • Deprecated BoltDB and moved to SQLite.
  • gRPC client for LND instead of REST.

v0.1.0

22 Apr 17:40
Compare
Choose a tag to compare
comments for mint and wallet packages