Join Nostr
2026-03-08 13:27:52 UTC

Keychat on Nostr: Attaching a Stamp (Client → Relay) When publishing an event to a relay that ...

Attaching a Stamp (Client → Relay)

When publishing an event to a relay that requires stamps, the client appends a Cashu token as the third element of the EVENT message array:

["EVENT", <event JSON>, "<cashu_token>"]
This NIP defines a mechanism for clients to attach ecash tokens (Cashu) to Nostr events as stamps — anonymous per-event micropayments to relays. Stamps solve two fundamental problems for the Nostr relay ecosystem: spam prevention and relay sustainability.

https://github.com/keychat-io/keychat-protocol/blob/main/nips/nip-estamp.md