webln.enable()
To begin interacting with WebLN APIs you'll first need to enable the provider. Calling webln.enable()
will prompt the user for permission to use the WebLN capabilities of the browser. After that you are free to call any of the other API methods.
Method
Example
Demo
Last updated