RelayKit
Services

nostr-rs-relay

A Rust Nostr relay with built-in policy controls — pubkey whitelists, kind filtering and optional NIP-42 auth.

relay NIP-01NIP-11NIP-42 Upstream project

nostr-rs-relay is scsibug’s mature Rust relay. Its superpower is policy: control exactly who can publish and which event kinds are accepted.

Deploying

From the dashboard: Add service → nostr-rs-relay.

ConfigRequiredDescription
Relay Domainyese.g. relay.example.com
Whitelisted Pubkeys (hex)noComma-separated pubkeys allowed to publish. Empty = no whitelist.
Whitelisted Event KindsnoComma-separated kind numbers accepted. Empty = no kind whitelist.
Blacklisted Event KindsnoKinds to reject. Used only when the kind whitelist is empty.
Require NIP-42 AuthnoDemand AUTH before writes (default off).

All of these are editable after deploy — see configuration.