Releases: elnosh/gonuts
Releases · elnosh/gonuts
v0.3.0
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
- mint: err on blinded messages already signed by @elnosh in #46
- add examples for wallet by @elnosh in #47
- mint: NUT-11 Pay to Public Key by @elnosh in #48
- wallet: err on non-200 responses by @elnosh in #50
- wallet: command to see and change default mint by @elnosh in #51
- Token V4 by @elnosh in #52
- mint: NUT-07 token state check by @elnosh in #56
- mint: NUT-09 signature restore by @elnosh in #57
- wallet: NUT-12 DLEQ proofs support by @elnosh in #60
- mint: NUT-12 DLEQ proofs by @elnosh in #61
- settle mint and melt quotes internally if invoice is the same by @elnosh in #62
- refactor melt flow by @elnosh in #63
- mint: check already existing quotes by @elnosh in #64
- only fail melt for failed status check by @elnosh in #65
- wallet: NUT-08 overpaid lightning fees by @elnosh in #66
- wallet: handle pending proofs by @elnosh in #68
- optional wallet path in env file by @elnosh in #70
- README: fix build instructions by @starius in #72
- mint: fake lightning backend by @elnosh in #71
- NUT-14 HTLCs by @elnosh in #73
- better define sat unit by @elnosh in #74
New Contributors
Full Changelog: v0.2.0...v0.3.0
v0.2.0
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>
andp2pk-lock
to retrieve a public key to which ecash can be locked. Exposed through theSendToPubkey
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.