getAlby / lightning-browser-extension

The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
https://getalby.com
MIT License
530 stars 193 forks source link

Sign arbitrary messages with Alby #413

Closed MoritzKa closed 2 years ago

MoritzKa commented 2 years ago

Allow Alby users to sign arbitrary messages. Similar to lnurl auth when signing a challenge, but with anything the website likes to be signed.

According to Kollider it might make user data management much simpler and reduces liability from Lapp operator point of view.

MoritzKa commented 2 years ago

Maybe should be part of the WebLN spec. But couldn't Alby serve as a testbed for WebLN feature requests?

bumi commented 2 years ago

we have this already: https://webln.dev/#/api/sign-message

most of the connectors should support that. but we need to build an interface for that: https://github.com/getAlby/lightning-browser-extension/issues/242 (right now we just sign anything)