webln.signMessage()
Last updated
Last updated
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.
Example in the wild
https://amboss.space/ uses webln.signMessage()
for login. Users sign a message and prove ownership of a lightning node.