So, can we check transactions on NWC lime we can check on mainnet? Is it like this?
reply
Lightning doesn't have blocks, so there are no lightning "block explorers," and consequently, as devs, if we make a third party website where one person can pay another, it can be difficult to check whether the payment went through. Often we want to know information like "Did this payment succeed?" and there's just nowhere to look.
To fix this, we mostly have to make do with self-reporting by either the sender or the recipient. NWC is a standardized api for that. It also has some other features, like the ability to remote-control a wallet (if the owner gives you permission) and thus remotely "click" the Send and Receive buttons.
Learn more here: https://nwc.dev/
reply
Thank you so much. I understand it now.
reply
reply
Would one use this to check the same NWC strings that you may use to configure NWC connections on stacker news? If so, aren’t there security concerns with uploading this string to a third party?
reply
I made it as a development tool. I am preparing for a workshop I am doing in Berlin in a few days where I will show people how to make an NWC backend. But it's important to have a site to check your work against and make sure the connections strings are valid and do as they are intended. So this page fills that need.
Would one use this to check the same NWC strings that you may use to configure NWC connections on stacker news
You could. The string is not uploaded to a third party server, you can view the codebase and see that all the testing is done client side and there is no backend, unless you count nostr relays as a kind of backend. But if you don't have confidence in the frontend code then don't use it for that
reply
Thank you for the detailed response. I’m not trying to dump on what you’ve built here. I just wanted to raise awareness about entering data that can be used to spend funds onto sites and the potential risks associated. I mostly just remembered how SN uses password input fields for NWC strings in wallet setup, and I hope folks don’t go entering their passwords on other sites on the internet :)
Anyway, nice work, and thank you for sharing it.
reply
Fair. NWC strings with spend permissions are effectively a kind of private key. So be careful where you put them.
reply
Cool stuff
reply