webln.signMessage()
Request that the user signs an arbitrary string message.
Signed messages can either be verified server-side using the LND RPC method, or by clients with webln.verifyMessage.
Method
Response
Code Example
Demo
Example in the wild
https://amboss.space/ uses webln.signMessage()
for login. Users sign a message and prove ownership of a lightning node.
Last updated