Skip to content

v0.2.0

Compare
Choose a tag to compare
@elnosh elnosh released this 06 Aug 18:38
· 108 commits to main since this release

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.