block / block/buzz

[Bug] Mentions should use NIP-27

Open
#2,319 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
32.7k
Forks
4.3k
Avg merge
1d 13h
Merged PRs (30d)
253

Description

Currently mentions are not interoperable with other Nostr clients. It's fine to type @username in the text box, but after hitting submit the event it generates should include a [NIP-27](https://github.com/nostr-protocol/nips/blob/master/27.md) Nostr URI.

It's not just a compatibility issue. People on Nostr can change their username. This would break existing mentions. Plus there's not really any concept of a "username". The name can contain spaces. The correct solution is NIP-27.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how mentions move from the text box through submission into the generated Nostr event. Compare the resulting mention representation with NIP-27 and verify that the submitted event includes a NIP-27 Nostr URI so mentions remain interoperable and stable when names change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.