5
15
Fork
You've already forked nerostr
3
Nostr paid relay, but with Monero. https://xmr.usenostr.org
  • CSS 59.4%
  • Go 23%
  • HTML 16.8%
  • Shell 0.5%
  • Dockerfile 0.2%
  • Other 0.1%
2023年09月25日 11:25:30 +00:00
grpc Update and fix admin functions 2023年02月15日 17:22:18 +01:00
moneropay/data/wallet update example wallet passwd file 2023年02月15日 18:59:42 +01:00
paywall impove style 2023年02月15日 20:00:02 +01:00
relay use example files 2023年02月15日 12:21:53 +01:00
.gitignore update example wallet passwd file 2023年02月15日 18:59:42 +01:00
example.docker-compose.yml Update 'example.docker-compose.yml' 2023年02月26日 10:15:40 +00:00
example.env use example files 2023年02月15日 12:21:53 +01:00
README.md Update README.md 2023年09月25日 11:25:30 +00:00

repository moved

Monero Nostr Paid Relay

A Nostr expensive relay paid with Monero and written in Go!

Why?

Nostr has no spam filters/control. With public relays, the global feed and public chat channels get filled with spam, making them unusable.

In order to avoid spam in your feed, you pay a small fee (~1ドル) to a relay. Your pubkey gets whitelisted in that relay, and then you are able to publish events there. Reading from these relays is always free for everyone! This allows getting much more curated and clean results in the global page.

Also, paid relays can build up communities of users interested in particular topics, allowing users to follow relays based on their interests.

TLDR; Pay-to-relay to avoid nostr spammers.

Self-hosting instructions

How does it work?

Users go to the paywall frontend, enter their pubkey either in npub or hex format, and pay a small fee in Monero. Once paid, their pubkey gets added to the whitelist database.

The relay, which is a nostr-rs-relay connects to a gRPC server. Every event publication request it receives will ask for authorization to the gRPC server. This gRPC server only allows pubkeys that appear in the whitelist database. All events from any other users will get rejected.

The payment management is made using the moneropay open source project.

I have developed the paywall (UI + server logic) and the gRPC server.

🧡 Support this project

XMR: 8C3qqu5hggKBtfN9q5E9fqjCY6FhJFEAeCdAa3sWSgLWbZHpsabPmhBXk5GtGY8duKNQSgkwGgcBvfPwsQVdsBEZ4PBbJw7