NIP 29 is deceptively hard. Trying to implement zaps on access-controlled groups right now, and I either have to have the zapper send them to publicly writable relays, or white-list zap responses on the group relay somehow, since the zapper doesn't have permission to write to the group.

Reply to this note

Please Login to reply.

Discussion

Can the relay enforce the white-list by default but ignore it only for zap receipts?

Yes, but in order to avoid hosting non-group zap receipts I'd have to parse the zap receipt and make sure the p-tagged user (or even e-tagged event) is on the relay. Not impossible, but also not clean

Very true.

So how do you want to proceed?

Not sure yet

Just figured it out, just check the zap request (which is embedded in the zap receipt) for authorization.

Nice 👍

The "Notes" part was easy.

No one was prepared for "Other stuff" part.