Paying relayers per note using e-cash tokens... aka Nostr meet Pastebin.

This makes it easier to post using a throwaway account. Relayers should announce which e-cash tokens they support, and their pricing. At minimum there should be a price per kilobyte day of storage (but pricing could be more complicated if needed).

A client then creates an envelope, which could be a regular Nostr note. This contains the e-cash tokens needed for payment, encrypted to the public key of each relayer that you want to use. The envelope also contains the actual message that you want to post.

Relayers can discard the envelope if they wish, so they don't have to store and upload all those tokens.

Something similar can be achieved with just a regular lightning invoice too, e.g. using lightning API keys: https://docs.lightning.engineering/the-lightning-network/l402

The envelope could be delivered over Tor, so it's nice if relayers list a hidden service.

Clients should track that their message is actually relayed. Just reuse the tokens if they're not claimed.

Reply to this note

Please Login to reply.

Discussion

I like the idea of having some funds involved, to reduce spam, but it will also dramatically reduce adoption. Also, mints are centralized.

About the Lightning idea-- that seems to make sense. Messages can be sent as encrypted notes inside an invoice (which doesn't need to be paid). A whole client could be built for DM over lightning, right? A new lightning address can be spun up and randomA@lightning.com can send "invoices" back and forth to randomB@lightning.com.

Or does it need to be done over Nostr relays for some reason? Or is this an "abuse" of lightning?