18 Commits

Author SHA1 Message Date
fiatjaf
a983fc74b5 nip60: fix receive logic so we can't be easily tricked. 2025-05-06 16:39:38 -03:00
fiatjaf
b711548b03 nip60: use more reasonable options instead of the crazy WithWhatever() pattern. 2025-05-05 16:36:44 -03:00
fiatjaf
5b8954461f it never ends. 2025-04-16 02:59:47 -03:00
fiatjaf
376834cbf9 more conversions. 2025-04-15 00:00:03 -03:00
fiatjaf
b4268d649c a bunch of [32]byte conversions. still more needed. 2025-04-14 17:47:53 -03:00
fiatjaf
41b7261735 nip60: upon receive do not swap into mints unless explicitly asked for. 2025-02-05 16:33:10 -03:00
fiatjaf
1e4848d84d nip61 and nip60 improvements and fixes. 2025-02-04 13:43:18 -03:00
fiatjaf
3c0f4a723a nip60/nip61: update to latest nip changes.
(a single default wallet, always default to sats, no names etc)
2025-02-03 17:22:10 -03:00
fiatjaf
d0f53b3b7a nip61, and related modifications to nip60. 2025-02-03 10:34:31 -03:00
fiatjaf
3f901954e6 nip60: emit history. 2025-01-31 15:20:41 -03:00
fiatjaf
b86d5d52bb nip60: Changes channel is a PublishUpdate hook now that must be set, to prevent unpublished updates -- and also now updates have more metadata so the client can display more info about them. 2025-01-30 10:32:23 -03:00
fiatjaf
1e76aec884 nip60: fix receive proof saving, send nil to Processed, do a dedicated kind:5 filter, hack for initial processing race condition. 2025-01-28 23:47:56 -03:00
fiatjaf
794561a3b3 nip60: slight improvement to lightning melt-mint flow. 2025-01-28 23:28:13 -03:00
fiatjaf
2244740f61 nip60: make it work with emitting events to be published dynamically and stuff. 2025-01-28 19:11:18 -03:00
fiatjaf
07b9b3e439 nip60: small fixes. 2025-01-28 16:48:44 -03:00
fiatjaf
7eba27f026 nip60: wallet.SendToken() and wallet.SwapProofs() 2025-01-28 15:25:17 -03:00
fiatjaf
9c4c6529c9 nip60: make client better, fixes to receive flow, wallet helper methods. 2025-01-27 22:11:45 -03:00
fiatjaf
c6747cdf44 nip60: fixes, actual Cashu stuff and a wallet.Receive() method. 2025-01-27 16:33:33 -03:00