-
Notifications
You must be signed in to change notification settings - Fork 565
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
Bech32 encoded relay entities (NIP-19) #196
Conversation
I don't know, it feels to me that using type Do you have a use case for this? Why not pass just relay URLs directly? |
"the main purpose for this to be included as a nostr: URI." Cameri proposed using a bech32 encoded entity. I don't know how we would do this without encoding. Also, with a bech32-encoded entity you could pass around things like if you recommend the relay to be just used for reading, if the relay should be kept secret (stored in an encrypted event), if there's a relay password and so on. unrelated: we may want a spec for encrypted relay lists.
I eventually intend on making each type have meanings based off of the prefix: type |
I see, I haven't really read that part, sorry. I agree then.
Another reason to use |
please squash merge, thanks |
|
the main purpose for this to be included as a
nostr:
URI.some design choices:
0
is reserved for relay since a relay type already exists (1
)