I’m not trying to be condescending, it just helps me to understand your frame of reference. I'll do my best to explain.

On the bitcoin blockchain (base layer), the transaction hash (the same thing as the transaction ID) is the reference (you can think of it as a receipt) that proves a transaction is valid. It always has 64 characters (32 bytes). Even the Genesis block has one, from the first 50 bitcoins ever produced on the network. The hash is 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b and you can check it on any bitcoin block explorer.

On the Lightning Network (second layer), there is a similar term called a payment hash, but it isn't itself validated on the blockchain. Instead, payments pass between nodes using channels. When you create an invoice for me to pay you, your wallet's node generates a payment hash of some secret data called a preimage. When I pay the invoice, the payment hash proves that you generated the invoice, and we can both use this as a receipt to verify that the transaction is valid. I just zapped you 21 sats, and the payment hash is 2f60255f5017ba6fdfe6d680b678858b60b4b6bef9973f8f9af54bc210d94a1e so you should be able to see that in your wallet.

Hopefully I described that well, and if not, someone else please jump in and correct or clarify.

There are a lot of tutorials and videos that explain these concepts better than I can. You can look for Andreas Antonopoulos or BTC Sessions on YouTube and start exploring there, and you should also read the book Inventing Bitcoin by Yan Pritzker. One of the best tools I recommend to start learning.

Reply to this note

Please Login to reply.

Discussion

Nice one

First of, Thank you for the zap...Where would i find the payment hash: 2f6255....just for curiosity...and i do watch videos of Bitcoin Videos but not much of Lightning videos/tutorials having to need all those gadgedtries to run those nodes/channels/networks w/c i can't afford by the way,aside from these technical jargons they use is so convuluting...i do have wallet of satoshi,just for the sake of experiencing how these zapping/sending/receiving transactions work...

You’re welcome. 😊

With Wallet of Satoshi, you're essentially using someone else's node out of convenience. When you do that, they are holding your sats for you, and they have access to all of the transaction data. That wallet doesn't provide you with the hash, it just displays the invoice, but it will not show your invoice as paid if it wasn't able to verify the transaction.

Zaps work by telling your wallet to generate an invoice for me to pay. If I don't pay it, it will simply expire at some point in the future. Once I pay it, your wallet's node shares the final data with mine, which includes the hash and preimage.

For reference, because I zapped you with my node, this is what I can see on my end:

So in general wallet of satoshi is no good?

#[9] is very good at what it does. It's an excellent consumer Lightning wallet that processes more transactions that probably any other Lightning wallet ever created. It has an active development team who support the mission of bitcoiners, and I have no reason to believe that they are, or will become a bad actor. They're here on Nostr, they listen to our suggestions, and you can ask them your questions directly.

I prefer running my own node and verifying my own transactions over using a custodial wallet, because I have the ability to do so. I still use Wallet of Satoshi for some things, most of all, helping onboard others to bitcoin and Lightning for the first time, because they make it easier than anything else I've seen. I just think of them as a good first step, and people should begin exploring other ways to use bitcoin once they've gotten used to using it.

some issues ongoing DMed them lets see