14 Commits

Author SHA1 Message Date
fiatjaf
be65134354 nip60: an e2e test with two wallets sending tokens around, but it's broken. 2025-01-29 22:17:57 -03:00
fiatjaf
78a9411d8a nip60: prevent duplicate token entries after doing some operation. 2025-01-29 21:23:15 -03:00
fiatjaf
37db1c924a nip60: fixes to pay and stuff because it was very broken. 2025-01-29 21:11:13 -03:00
fiatjaf
7c04b497ec nip60: wallet.PayBolt11() 2025-01-29 14:55:07 -03:00
fiatjaf
26597452c5 nip60: stop requiring the "sat" string on history amounts. 2025-01-29 12:47:33 -03:00
fiatjaf
5e2d455b72 nip60: a helper to get amount from a bolt11 invoice. 2025-01-29 12:47:07 -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
fiatjaf
3334f7a48b implement nip60 events. 2025-01-25 23:35:53 -03:00