Commit Graph

16 Commits

Author SHA1 Message Date
hodlbod 42435b38ad Implement NIP-86 signevent
Adds the signevent capability from nostr-protocol/nips#2389: a relay admin can
ask the relay to sign an unsigned event template with the relay's own (self) key
and get back the full signed event. Useful for minting NIP-43 relay-level role
events on behalf of the relay.

- ManagementStore.SignEvent signs the template via Config.Sign (relay self key).
- Wired to instance.Relay.ManagementAPI.SignEvent; admin-gated by the existing
  OnAPICall middleware, and auto-advertised via supportedmethods.
- Bumps the nostrlib replace to the signevent branch which adds the nip86 decode
  case + khatru dispatch hook.

NOTE: go.sum still needs `go mod tidy` to record the new nostrlib pseudo-version
hash (no Go toolchain was available in this environment to run it). Not built or
tested here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsMjvv7krpZeHK1Njeneru
2026-06-20 15:07:59 +00:00
userAdityaa f40e909863 feat(blossom): optional S3-compatible blob storage 2026-05-12 14:08:56 -07:00
Jon Staab 6ef94a76c8 Bump khatru to fix broadcast bug
Docker / build-and-push-image (push) Successful in 3m0s
2026-05-05 12:03:41 -07:00
Jon Staab dc8c16527b Update nostrlib
Docker / build-and-push-image (push) Successful in 27m52s
2026-04-14 08:38:25 -07:00
mplorentz dc0c3e1477 Add support for publishing kind 39004 livekit particpant list. 2026-03-13 10:13:57 -07:00
Jon Staab e079026f6c Run go mod tidy 2026-03-06 15:33:43 -08:00
mplorentz e8a042c776 Add Livekit server integration 2026-03-02 17:09:49 -05:00
Jon Staab 15957b3107 Add unban/unallow 2026-02-26 10:47:23 -08:00
Jon Staab 010880abc8 Use coracle fork of nostrlib so supported nips is a list of strings 2026-02-10 13:24:29 -08:00
Jon Staab 0f2fe72172 Upgrade nostrlib 2025-11-04 16:23:25 -08:00
Jon Staab 7eb6d22362 Watch config files and hot reload 2025-09-26 16:37:50 -07:00
Jon Staab 3c3eefc378 Add prefix to event store 2025-09-24 16:52:02 -07:00
Jon Staab 307dcda4a7 Switch to squirrel 2025-09-24 16:21:26 -07:00
Jon Staab 91f23cddc9 Add sqlite backend 2025-09-24 11:10:06 -07:00
Jon Staab 9eedeceb6a Switch to instance, stub out relay methods 2025-09-24 10:16:55 -07:00
Jon Staab 6642cba977 Add handler 2025-09-23 16:57:26 -07:00