Show thread history

Anthony Accioly

3w ago

Many thanks, Mike. I think I understood what you said above, but just to clarify with a simplified, illustrated example for a not-so-smart dev like me:

Say I have a relay at wss://haven.accioly.social, where I write and my followers should read from (i.e., an Outbox/NIP-65 write relay, if I understood you correctly).

I also have a relay at wss://haven.accioly.social/inbox, where my followers should write and I read from (i.e., an Inbox/NIP-65 read relay).

Your advice here would be to add wss://haven.accioly.social by itself to nostr.json, since this is where I'll be writing my 10002 event. Is that the correct understanding?

See translation

1
1
0
0
0


Do you have thoughts?

Log in to leave a comment


Replies

Mike Dilger ☑️

@Mike Dilger ☑️

♥︎ by author

3w ago

Yes. Also your kind-0 metadata will be there, which is the first or second thing loaded by most clients.

See translation

1

1
0
0
0

Anthony Accioly

@Anthony Accioly

3w ago

Thanks Mike. You were immensely helpful. I'll make sure to implement this correctly.

See translation

1

0
0
0
0

Mike Dilger ☑️

@Mike Dilger ☑️

♥︎ by author

3w ago

Actually I just looked at my code and I'm dealing with nip-05 nostr.json relays differently. Gossip assumes relays in nostr.json are both read and write. I'm not sure if a write-only relay going in there would be a problem though.

See translation

0

2
0
0
20