Skip to content

Releases: elnosh/gonuts

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