Commit Graph

16 Commits

Author SHA1 Message Date
fiatjaf 924075b803 nip57: get sats amount from bolt11 helper. 2025-05-20 09:25:31 -03:00
bitcoinpirate 44a679e642
added support for zapping replaceable events (#424)
* added support for zapping replaceable events

* Update nip57.ts

* Update nip57.ts

Co-authored-by: 雪猫 <SnowCait@users.noreply.github.com>

* apply @SnowCait's suggestions.

* fix lint error.

---------

Co-authored-by: AsaiToshiya <to.asai.60@gmail.com>
Co-authored-by: 雪猫 <SnowCait@users.noreply.github.com>
2025-02-24 00:46:51 +09:00
Alex Gleason 677b679c2c NIP-57: build lnurl in more secure way 2024-01-15 21:26:34 -03:00
fiatjaf 498c1603b0 nip57: implement "P" tag for sender. 2024-01-01 11:39:22 -03:00
fiatjaf fe87529646
change tests and nips to use the new api. 2023-12-19 13:58:37 -03:00
fiatjaf 6a07e7c1cc
remove the kind type parameter from events and filters. 2023-12-16 10:10:37 -03:00
Alex Gleason 718032022c
just format 2023-08-31 13:42:15 -05:00
Alex Gleason 08885ab8da Refactor imports: use file extension, improve tree shaking, update tests 2023-05-12 17:03:41 -03:00
Alex Gleason 18e8227123 Convert all tests to TypeScript 2023-05-10 21:20:27 -03:00
Paul Miller 03cc18d53b
bring back @noble/curves instead of @noble/secp256k1.
fixes https://github.com/nbd-wtf/nostr-tools/issues/196#issuecomment-1537549606
2023-05-07 21:16:48 -03:00
Alex Gleason 30fd6b6215 nip57: use Kind enum instead of using the number directly 2023-05-06 21:00:25 -03:00
Alex Gleason 8a53b3b8b3 Improve event types 2023-05-06 21:00:25 -03:00
fiatjaf 336948b1d1
zap request validator. 2023-02-17 14:30:49 -03:00
fiatjaf 2324f9548e
fail on null amount on zaprequest creation. 2023-02-16 13:56:47 -03:00
fiatjaf ab5ea8de36
another nip57 helper and bump version. 2023-02-16 09:29:21 -03:00
fiatjaf a330b97590
partial nip57 support. 2023-02-15 21:06:38 -03:00