🤔What is WebLN?

Introduction to lightning web standard (WebLN)

Lightning Web Standard (WebLN)⚡is a specification used to build a Bitcoin Lightning-driven web application.

WebLN is a set of specifications for Lightning apps and client providers to facilitate communication between web apps and users’ lightning nodes in a secure way. It provides a programmatic, permission-oriented interface for letting applications ask users to send payments, generates invoices to receive payments, and much more.

WebLN Provider Functionality

WebLN API Methods

First, enable the provider by calling

webln.enable()

Then, use the APIs

webln.getInfo()

webln.keysend()

webln.makeInvoice()

webln.sendPayment()

webln.signMessage()

webln.verifyMessage()

Know More About WebLN

To Know more about WebLN and how users can use it in your codebase.

Last updated