Skip to content

NIP-29: invite code suffix for group identifiers#2380

Merged
fiatjaf merged 1 commit into
nostr-protocol:masterfrom
Anderson-Juhasc:nip29-invite-code-suffix
Jul 16, 2026
Merged

NIP-29: invite code suffix for group identifiers#2380
fiatjaf merged 1 commit into
nostr-protocol:masterfrom
Anderson-Juhasc:nip29-invite-code-suffix

Conversation

@Anderson-Juhasc

Copy link
Copy Markdown
Contributor

NIP-29 already has kind:9009 create-invite and the code tag on kind:9021, but there is no way to share a group identifier together with an invite code. This adds an optional suffix:

naddr1...?invite=<code>

The bech32 charset doesn't include ?, so everything before it is still a valid naddr on its own. Clients that understand the suffix use the code to fill the code tag of the kind:9021 join request; clients that don't can ignore it.

@fiatjaf

fiatjaf commented Jul 15, 2026

Copy link
Copy Markdown
Member

Is this implemented in Nostrord?

@Anderson-Juhasc

Copy link
Copy Markdown
Contributor Author

Yes, you can see it in Manage group > Invites

@fiatjaf fiatjaf merged commit 6834e8b into nostr-protocol:master Jul 16, 2026
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 this pull request may close these issues.

2 participants