khatru icon indicating copy to clipboard operation
khatru copied to clipboard

which NIPs is this supporting?

Open mleku opened this issue 1 year ago • 8 comments

there is a field in the relay information for supported NIPs but none of the stuff in this repo actually say which ones are supported neither do the examples set this field in the relay info document

mleku avatar Jan 25 '24 17:01 mleku

It doesn't support NIP-11, so it doesn't have to say what NIPs it supports.

fiatjaf avatar Jan 25 '24 19:01 fiatjaf

i've tested it with nak's get info function and it responds to nip 11 requests

mleku avatar Jan 28 '24 10:01 mleku

But NIP-11 isn't listed in the response's supported_nips, right?

fiatjaf avatar Jan 28 '24 12:01 fiatjaf

it seems a bit ironic to me that any response to this query (which is defined in NIP 11) doesn't support NIP 11

it's ok, i'll go through all the NIP 11 supporting relays and compare them to what capabilities are being provided by this codebase so i can get a baseline to actually implement NIP 11 in my fork

it would be nice if there was a more human readable version of what all this stuff means

i might actually start at that point

i know y'all have got some ways towards this but the protocol is really loose still and needs to be given some bones

mleku avatar Jan 28 '24 20:01 mleku

Sorry, I was just kidding. This is just not implemented yet. But I don't think this is very useful anyway.

fiatjaf avatar Jan 29 '24 00:01 fiatjaf

if the clients don't see the numbers they often won't try to do the things, like coracle's relay page, for example, won't show any network events without several of the NIP numbers in the relay information document

seems a bit strange for me to be explaining this to you

mleku avatar Jan 29 '24 12:01 mleku

What numbers should I have?

fiatjaf avatar Jan 29 '24 15:01 fiatjaf

i dunno, but it has to have at least 1 lel

mleku avatar Jan 29 '24 16:01 mleku

Some numbers are filled automatically now. Users can add others.

fiatjaf avatar Aug 01 '24 21:08 fiatjaf