damus icon indicating copy to clipboard operation
damus copied to clipboard

Consume relay hints NIP-19

Open alltheseas opened this issue 2 years ago • 10 comments

Problem Statement

Sometimes I cannot see a note referenced in a thread by someone I follow. Sometimes I cannot find a profile.

Enhancement Proposal

@tyiu

I think Damus needs to have more fine-grained relay control and sharing. Instead of sharing raw identifiers, we should be using the shareable ones with extra metadata, like most likely relay to be found. There’s a huge gossip model unlock that is at the core ethos of Nostr that we’re not utilizing

https://github.com/nostr-protocol/nips/blob/master/19.md#shareable-identifiers-with-extra-metadata

Related to

Add wss://purplepag.es relay to Damus seed relay list to improve profile discoverability https://github.com/damus-io/damus/pull/1222

alltheseas avatar May 18 '23 20:05 alltheseas

According to @fiatjaf

NDK (Highlighter etc), Snort, Coracle, Gossip, ZBD Social, njump are somethat I know [implement relay hints NIP]

alltheseas avatar Jul 31 '23 17:07 alltheseas

On Mon, Jul 31, 2023 at 10:48:00AM -0700, alltheseas wrote:

According to @fiatjaf

NDK (Highlighter etc), Snort, Coracle, Gossip, ZBD Social, njump are somethat I know [implement relay hints NIP]

We will be able to do it with nostrdb when we verify everything and start pulling from random relays.

jb55 avatar Jul 31 '23 18:07 jb55

https://damus.io/note12ww0vg2zan7p8v9w8apyjt7nj7dfxhndgjv096h7f3dwlvd0y45qs6qhcm

@jb55 are you planning on working this one?

alltheseas avatar Oct 20 '23 13:10 alltheseas

@danieldaquino @jb55 this will improve the user experience for all Damus users.

I run into notes not loading a few times each day. Others have confirmed a similar experience.

Let's consider for next sprint.

alltheseas avatar Nov 20 '23 23:11 alltheseas

requires gossip model implementation

alltheseas avatar Nov 27 '23 17:11 alltheseas

image

this will improve the damus experience for all, and also improve interoperability with non damus users. i will tentatively add to 1.0 + backlog for the next sprint

alltheseas avatar May 06 '24 16:05 alltheseas