Commit Graph

12 Commits

Author SHA1 Message Date
Claude d1bc98d0f8 Add signevent method to NIP-86 (nip86 + khatru)
Implements the signevent capability from nostr-protocol/nips#2389: relay admins
can ask the relay to sign an unsigned event template with its own (self) key.

- nip86: SignEvent MethodParams type + "signevent" decode case (round-trips the
  {kind, content, tags, created_at} param into a nostr.Event).
- khatru: RelayManagementAPI.SignEvent hook + dispatch returning the signed event
  as the result.
2026-06-20 15:06:17 +00:00
Jon Staab fefc85d500 Add unbanpubkey and unallowpubkey 2026-05-05 11:36:42 -07:00
fiatjaf 449db37bb5 nip86: fix kind type. 2026-01-14 00:53:05 -03:00
fiatjaf 55a43e46b7 use xhex everywhere. 2025-11-23 06:57:54 -03:00
fiatjaf 5f8b069f5d khatru: nip86 "u" tag checking normalization fix. 2025-09-05 11:06:17 -03:00
fiatjaf d036b2f8d5 khatru: fix nip86 method field names. 2025-08-29 22:42:36 -03:00
fiatjaf 24060da1dd khatru: better error on nip86 "u" tag mismatch. 2025-07-28 09:35:22 -03:00
fiatjaf 50a753504d khatru: hodlbod's nip86 fixes. 2025-06-10 16:43:30 -03:00
fiatjaf adf874ca2e khatru: change name and signature of relay management main authorization hook. 2025-05-08 23:31:26 -03:00
fiatjaf 2b5b646a62 a big bundle of conversions and other changes. 2025-04-15 17:13:57 -03:00
fiatjaf f493293be2 update import paths. 2025-04-15 08:51:25 -03:00
fiatjaf 76032dc089 bring in khatru and eventstore. 2025-04-15 08:49:28 -03:00