In my quest to understand zaps, I'm trying to make Inkan decode BOLT11 invoices.
If I'm understanding NIP-57 correctly, the invoices should include a hash of the zap request. I couldn't quite figure out what exact object is supposed to get hashed according to the specification, but I experimented a bit.
The odd thing is that my implementation now matches *some* of the hashes that get returned but not others. And some invoices don't seem to include these hashes at all.
Might be missing something.
#nostrdev