Welcome to the Lightning Web Standard (WebLN). This guide covers how to build a Bitcoin Lightning-driven web application using the WebLN standard. \
Bitcoin is a global payment protocol that anyone with Internet access can participate in and contribute to. Hence, Bitcoin Lightning’s use cases are as vast as its user base. However, building them does not need to be complicated. We designed this guide to help anyone get started quickly. We can’t imagine every possible use case, but we can help you to build for them.
You may be interested in reading this guide if you want to build or operate a web application
- that accepts or makes Bitcoin Lightning payments
- that has a decentralized identity and authentication
window.weblnon every web page you visit. To have a look at what this object looks like, have a look at the WebLN Reference or just type
window.weblnin the Chrome or Firefox DevTools console.
When a WebLN provider is installed, any front-end code can get access to all these functions, and interact with the Bitcoin Lightning network. These web applications are called LApps (Lightning Apps).