๐งช Testing my Nostr relay with custom-generated keypairs ๐
I'm running a self-hosted relay and testing event publishing using locally generated Nostr keys โ no client UI, just code and raw JSON.
Every event is hand-crafted, signed, and sent via WebSocket.
โ
Verifying signatures
โ
Enforcing pubkey whitelisting
โ
Watching it land in my SQLite-backed relay
#nostr #selfhosted #testing #decentralization #sqlite #cryptography
Login to reply
Replies (4)
Why run a self hosted relay?
Because owning your communication stack is powerful.
I wanted to learn Nostr stack. Running your own relay teaches you the Nostr protocol from the inside out. No one can delete your posts if you run the infra.
Also I have built indexing and search support for my relay.
Nice.
Who can write to your relay?
Today only me, as I am doing some testing. But I can open it to anyone on NOSTR maybe once I finish my testing.
I currently support the following Nostr event kinds on my self-hosted relay:
Kind 0: Metadata
Kind 1: Text Notes
Kind 2: Relay Recommendation
Kind 3: Contact List
Kind 7: Reactions
Kind 40: Channel Creation
Kind 10002: Relay List Metadata