WebLN is a library and set of specifications for lightning apps and client providers to facilitate communication between apps and users' lightning nodes in a secure way. It provides a programmatic, permissioned interface for letting applications ask users to send payments, generate invoices to receive payments, and much more. This documentation covers both how to use WebLN in your Lightning-driven applications, but also how to implement a provider.
You may be interested in using WebLN if you...
Some WebLN client providers include
Some applications that use WebLN on the web include
Some demos to see what you can do with WebLN
Jump into the Getting Started section to see how to install and use WebLN in your app.
Code samples in this documentation will be in TypeScript, a statically-typed variant of JavaScript. WebLN is fully typed, and it's highly recommended you use TypeScript when using it for the best developer experience. Likewise, it's also recommended if you're implementing a provider, to make certain that you're compliant to the spec.