I’ve recently become interested in Nostr relays that can accept ecash on a per note basis so that relays can get paid while users can send notes from randomly generated keys… are you guys running a relay that accepts ecash? Have you written anything about that? I looked at the github docs but didn’t see anything mentioned there about the Nostr relay used

Reply to this note

Please Login to reply.

Discussion

We should have documented this sooner; we’ll add docs next. Keychat relays collect digital stamps and differ from regular Nostr in two respects: 1) they state their fee rate, and 2) they can convert received digital stamps into a wallet.

For #2, are you referring to a wallet that the relay controls, basically that this is how the relay gets paid? Or do you mean a user’s wallet?

Also, do you know any other Nostr clients that are doing ecash postage stamps? I’m still catching up in the space :)

I mean the relay collects digital stamps into its own wallet.

When the Keychat wallet has a balance, Keychat will request 32 ecash tokens of 1 sat each from the Cashu mint. These are what we call digital stamps. A digital stamp is simply a piece of data, since ecash tokens are bearer tokens.

When a user sends a message, the digital stamp is automatically appended to message. When the relay receives the message, it redeems the digital stamp.

At the moment, we’re the only ones advocating for and using digital stamps.

So so helpful - so far this seems like the winning approach. I’ve been advocating for sub milli sat ecash denominations to support this kind of use case. 🙏