From 9eeb42727552e3ea368118354b00b30d17603367 Mon Sep 17 00:00:00 2001 From: Roland <33993199+rolznz@users.noreply.github.com> Date: Sat, 23 Sep 2023 11:06:44 +0700 Subject: [PATCH] doc: add "How does it work" FAQ item --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c52b71c..081ccc1 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,10 @@ We are happy to help, please contact us or create an issue. ## FAQ +### How does it work? + +Bitcoin Connect provides multiple options to the user to connect to a lightning wallet, each compatible with WebLN. Any already-existing providers of WebLN (such as an installed WebLN extension like Alby) are detected and offered, as well as options to create a new WebLN provider through protocols such as NWC. No matter which option you choose, window.webln will become available for the website to use to interact with your lightning wallet. Similar to the Alby extension, new options (called Connectors) can be easily added as they all follow a common, simple interface. As long as there is a way to connect to a lightning wallet through Javascript, a connector can be created for it in Bitcoin Connect. We welcome any and all contributions for new connectors! + ### Does this work on mobile browsers and mobile PWAs, or desktop browsers without a WebLN extension? Yes! that's the main benefit.