I built this one. once the zap started showing in Damus and snort I figured it is working correctly..!

Reply to this note

Please Login to reply.

Discussion

All other zap notes make it the way I described, only your pubkey publishes this way. I guess Dames/snort just don't do the proper verification yet.

Ok. you need me to sha256(preimage) when sending note kind 9735?

You're already doing that, instead include original preimage into zap note, so that zap note's bolt11.payment_hash would be equal to sha256(preimage)

nothing in the specs that says sha256(preiamge). In the zapper ref implementation I only see this.. tags.push(["preimage", invoice.payment_preimage])

https://github.com/jb55/cln-nostr-zapper/blob/master/index.js

DMed you

Thanks. Let me check and fix my code..!