What is Nostr?
RebelOfBabylon
npub16ph…7gjy
2024-10-21 10:19:19
in reply to nevent1q…ret2

RebelOfBabylon on Nostr: An invite link could be an encoded event that a user already part of a given ...

An invite link could be an encoded event that a user already part of a given community generates. The user already in the community requests a challenge string from the relay, put that challenge string somewhere in a special event with unique kind, then encode it. That encoded event is then given to a new user that we want joining the community. The event should contain a relay URL and the challenge string (maybe an expiration date too). Then they create an auth message with that challenge string before it expires and send it to the relay to register.
Author Public Key
npub16phxqxxplnmasr20rzh8afnflgg0ssufl90k6x7ua2tj0jexdseszz7gjy