Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a dedicated relay #99

Open
GBKS opened this issue Nov 4, 2024 · 0 comments · May be fixed by #100
Open

Implement a dedicated relay #99

GBKS opened this issue Nov 4, 2024 · 0 comments · May be fixed by #100

Comments

@GBKS
Copy link
Owner

GBKS commented Nov 4, 2024

Nosta now has a dedicated relay at wss://profiles.nosta.me (running strfry, check on nostr.watch). It only accepts certain kinds:

0 - basic profile info
3 - follows
30315 - user status
30078 - application specific data
10002 - relay list

Goal is that this relay can be a reliable source for the most basic profile info. That way the client doesn't have to so work so hard to figure out which of the thousand relays a profile might be on. To keep this efficient, it rejects all other kinds.

Ideally, this relay automatically fills its database with non-spam profiles it finds on other relays, so it can be as complete of a set as possible. Someone would have to write that functionality thought, I can't do that.

The first step for Nosta is now to always connect to this relay and use it for lookup of certain kinds, and also publish those kinds (like during profile creation).

GBKS added a commit that referenced this issue Nov 8, 2024
This is currently very quick and dirty, just trying to get it going and get a feel for what actually needs to be done. Needs to be properly thought through now.

Closes #99
@GBKS GBKS linked a pull request Nov 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant