#asknostr #devstr

wat is "a" tag about

NIP-01 does not explain it at all...

the second field of the tag is kind:pubkey:keyword

what is this in aid of?

so i am searching for an event of kind X from user Y with optional keyword Z?

where does that keyword match come up?

what the funk is it for? what does it enable? it's very unclear!

Reply to this note

Please Login to reply.

Discussion

I’d love to assist but I do not recall what an ‘a’ tag is have you read the NIPs documentation? You might be asking devs who know nothing about Nips just Nipples 🤷‍♂️

lol, haha...

no it's in NIP-01 in the tags section, it doesn't really explain what they are for

they usually are supposed to have as 3rd parameter the relay to look at

i'm just writing a test and i put in a couple of these tags into the test case but now idk how it equates to getting a match on the event - the purpose is testing that each filter field in the query picks up the event correctly...

i'll be digging into the actual query logic so i may end up finding the answer in the code

"a" is short for address I assume. A way to refer to events that are not addressable by hash/id because they don't have a stable identifier since they can change. Contact list, metadata, replaceable and parameterized replaceable events fall into this category.

yeah, it seems to be some sort of makeshift to deal with inadequate broadcasting of such public events

and i think that it might be mostly neglected and/or abandoned

i'll update with a note about what i learned from the search code