d1bc98d0f85b3299de95ffac70eea2595ba65e68
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.
nostr
A comprehensive Go library for the Nostr protocol, providing everything needed to build relays, clients, or hybrid applications.
This is a new, much improved in all aspects, version of go-nostr.
Installation
go get fiatjaf.com/nostr
Components
- eventstore: Pluggable storage backends (Bleve, BoltDB, LMDB, in-memory, MMM)
- khatru: Flexible framework for building Nostr relays
- khatru/blossom: Plugin for a Khatru server that adds flexible Blossom server support
- khatru/grasp: Plugin for a Khatru server that adds Grasp server support
- sdk: Client SDK with caching, data loading, and outbox relay management
- keyer: Key and bunker management utilities
- NIP-specific libraries with helpers and other things for many NIPs and related stuff, including blossom, negentropy and cashu mini-libraries.
Languages
C
71.2%
Go
28.2%
Assembly
0.6%