Event JSON
{
"id": "a62d68148bb4b07627729e738bcf51e58667f3607f16e185c443b981fd256b31",
"pubkey": "3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd",
"created_at": 1737403829,
"kind": 1,
"tags": [
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"wss://nostrelites.org/",
"Derek Ross"
],
[
"p",
"958b754a1d3de5b5eca0fe31d2d555f451325f8498a83da1997b7fcd5c39e88c",
"wss://relay.mostr.pub/",
"πΎππ πΎπππππ"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"wss://wot.utxo.one/",
"Derek Ross"
],
[
"p",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24",
"wss://relay.nostr.band/",
"Derek Ross"
],
[
"p",
"958b754a1d3de5b5eca0fe31d2d555f451325f8498a83da1997b7fcd5c39e88c",
"wss://relay.bitcoinpark.com/",
"πΎππ πΎπππππ"
],
[
"e",
"f1fd1f33156180c5c8fe1055f7044bde3eedcd68ed2391e6dae81f82a1835738",
"wss://bostr.nokotaro.com/",
"root"
],
[
"e",
"8572df7d703ebd56363631dc227f341e8f9447674cea7aaabc585047dcb492dc",
"",
"mention"
],
[
"e",
"ccbcaf2381679743ebc1083cc4b62a52158ecf7a1f34e8c6a28c2717e8b4f98c",
"wss://nostrelites.org/",
"reply",
"3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"
],
[
"p",
"d61f3bc5b3eb4400efdae6169a5c17cabf3246b514361de939ce4a1a0da6ef4a",
"wss://relay.damus.io/",
"miljan"
]
],
"content": "Seems like LN invoices included by Primal in zap receipts have empty payment_hash field. The invoice parser I use discards those invoices as invalid. I guess I'll have to patch it, as this is an optional field for zap verification purposes - they generate a proper invoice for the actual payment. \n\nThey also strip the description/commit hash from the invoice in zap receipts, which seems to go against nip57: \"SHA256(description) MUST match the description hash in the bolt11 invoice.\" It looks like I will have to strip this verification logic on my end since in practice many wallets violate nip57 anyway and everyone is just trusting the wallets.\n\ncc nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3jamnwvaz7tmswfjk66t4d5h8qunfd4skctnwv46z7qgnwaehxw309ac82unsd3jhqct89ejhxtcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9mhwden5te0wfjkccte9ehx7um5wghxyctwvshsz9mhwden5te0wfjkccte9ec8y6tdv9kzumn9wshsqgxkruautvltgsqwlkhxz6d9c972hueyddg5xcw7jwwwfgdqmfh0fg3uu6d7",
"sig": "73e424e04e6691a88f66eddb9d3735e99260de59e1d985352cff31bd19bc901462f409b5d223a1480d352c1ed0fd35ceb1bf13228d21c9d95aa2ee0aca290133"
}