OpenViSTAI · Agents · Blockchain · Crypto
Menu
Wallets

Bitcoin Connect

Bitcoin Connect is a TypeScript web-component library that connects websites to multiple Lightning wallets and exposes WebLN interactions across desktop and mobile browsers without requiring a browser extension.

Independent OpenViST project profile, based on linked sources.

Bitcoin Connect — OpenViST project profile in Wallets.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Bitcoin Connect when a web application needs to connect users with multiple Lightning wallets and interact with them through WebLN across desktop or mobile browsers, including cases where relying on a browser extension is unsuitable.

Who it is for

  • Web developers adding Lightning wallet connectivity to websites.
  • Teams building browser-based Lightning payment or invoice flows.
  • Developers creating mobile-friendly web applications or PWAs that need wallet selection.
  • React, Angular, Vue, Solid.js and pure-HTML developers seeking a WebLN integration layer.

Documented uses

  • Connect a website to a user's Lightning wallet.
  • Request a WebLN provider from a browser application.
  • Send a Lightning invoice through a connected provider.
  • Present wallet-selection and invoice-payment interfaces.
  • Add Lightning connectivity to a PWA or mobile browser experience.
Before you choose

Requirements & limits

The implementation is available in a public GitHub repository under the MIT license. The repository describes the package as alpha software.

  • The core package uses web components and can work with pure HTML and multiple JavaScript frameworks.
  • The repository documents separate React and web-components packages, plus a CDN route without build tools.
  • The library supports desktop and mobile browsers and progressive web apps.
  • Next.js and other server-side-rendered applications require client-side import and rendering.
  • The project warns of possible breaking changes or bugs because WebLN and Nostr Wallet Connect features are not finalized.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Add a Lightning wallet connection to a web app

Set up Bitcoin Connect and expose a wallet connection flow using its documented JavaScript or HTML integration.

Before you start

  • A web application.
  • The @getalby/bitcoin-connect package, the React package, or a browser-based module import.
  • An application name for initialization.

Steps

  1. Install the web-components or React package with npm or Yarn, or import the package from a documented CDN in an HTML module.

  2. Initialize Bitcoin Connect with the application name.

  3. Render its connection button or call the documented modal function to open the wallet-connection flow.

  4. Request a WebLN provider when the application needs to use the WebLN API.

Expected outcome

The web application has a documented Bitcoin Connect connection flow and can request a WebLN provider for Lightning interactions.

Guide limitations

  • The project labels the package alpha and warns that WebLN and Nostr Wallet Connect features may change.
  • The documented Next.js setup requires client-side importing and rendering.
  • A provider connection is needed for the WebLN payment example.
COMPARE OPTIONS

Compare options for Wallet connections

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Bitcoin ConnectConnect a website to a user's Lightning wallet.Browser Extension, Mobile, WebThe implementation is available in a public GitHub repository under the MIT license. The repository describes the package as alpha software.
Dioxus Wallet AdapterAdd Solana wallet connectivity to a Dioxus web application.Web
Vue CLI Plugin Web3ModalConfigure injected browser and WalletConnect provider options.Web
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
3 October 2026
Original website title
getAlby/bitcoin-connect · Official homepage title · retained in its source language