I’m implementing some zap request/receipt logic, and am finding the spec a little ambiguous when it comes to the e tag and/or a tag.

The goal is to zap a replaceable event, with a custom kind of 32123.

Should I include both the a tag and the e tag? Or, just the a tag event coordinate?

From the spec (https://github.com/nostr-protocol/nips/blob/master/57.md#reference-and-examples):

From the spec:

Reply to this note

Please Login to reply.

Discussion

just the a tag

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z does amethyst support reading a tags on zap receipts? It's saying "Post not found" in my activity feed. Or, is it maybe because I'm not zapping a kind 1 event?

It's not finding the event you are sending in the message on the relays of the user.

Yeah that's what I can't figure out, I'm able to query the relay and get the event back (using the a tag contents). Amethyst isn't loading the event, even though that same relay is being used by the user and shows connected in Amethyst.

Does Amethyst load it on a regular feed or on a direct message?

Found an issue with the zap receipt, had the wrong pubkey in the p tag🤦‍♂️