Good morning Joao, Currently no. Also, why would you want to violate user privacy in exchange for a service? You should authorize usage depending on secrets the user knows, not depending on their "identity".
This is precisely why LN is set up to use zero-knowledge contingent payments. You release a secret in exchange for money. Then, you authorize the service (streaming data, discount, etc) if someone is able to present proof that they know that secret. I admit the current proof-of-payment is limited, especially since the secret is sent to each intermediate node. However, use of payment points and scalars (instead of hashes and preimages) will eventually be deployed, which would hide the secret being paid for from the intermediate nodes. In addition, proof of knowledge of a secret is simply a signature algorithm (points are public keys, scalars are secret keys). From this point of view, your "user" is simply someone who knows the secret that you released when you were paid for your service. Physical instances of humanity should be allowed to share a single "user", or have multiple "users"; you will be paid according to your service anyway. Regards, ZmnSCPxj Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, January 27, 2019 5:09 AM, Joao Joyce <joao.jo...@netcabo.pt> wrote: > Hi all, > > I was wondering if there is a way to identify a user across multiple LN > requests or even authenticate the user in a single step using a LN wallet. > > Some use cases. > > - A companyadvertising a pay-per-view event could make billboards/posters > with LN QR-codes. By scanning the code on the billboard the user would buy > the right to see the event later that night. This would happen in just one > step, no need for login, just like a regular LN payment. > - A music-streaming company could print QR-codes on posters. By scanning > the code the user would imediately get the album on the music-streaming app > on his phone. > - A user could anonymously get frequent-user discounts or reward points on > vending machines or similar services. > - An arcade game like this one > (https://www.youtube.com/watch?v=U0KUNbjFZdk) could identify the user across > multiple plays and different machines and provide the user with high-scores > and user performance statistics. > - Arcade games could provide multi player gaming keeping user identity, > scores, in-game items, etc... > > Is this currently possible? > > Thank you, > João Joyce _______________________________________________ Lightning-dev mailing list Lightningemail@example.com https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev