gift: unwrap tries both decoupled and identity keys, wrap defaults to decoupled but accepts flags to change that.

This commit is contained in:
fiatjaf
2025-12-30 15:28:06 -03:00
parent 8334474f96
commit 81524de04f
3 changed files with 140 additions and 54 deletions

2
go.mod
View File

@@ -4,7 +4,7 @@ go 1.25
require (
fiatjaf.com/lib v0.3.1
fiatjaf.com/nostr v0.0.0-20251222025842-099569ea4feb
fiatjaf.com/nostr v0.0.0-20251230181913-e52ffa631bd6
github.com/AlecAivazis/survey/v2 v2.3.7
github.com/bep/debounce v1.2.1
github.com/btcsuite/btcd/btcec/v2 v2.3.6