Bitcoin Connect

github.com/getAlby/bitcoin-connect Nostr Open-source projectOpen source

Bitcoin Connect links Lightning wallets to web apps, providing a connection layer for wallet-based payments.

github.com/getAlby/bitcoin-connect
Bitcoin Connect homepage screenshot

About Bitcoin Connect

Bitcoin Connect is an open-source library for connecting Lightning wallets to web apps through WebLN. It provides web components supplied by the website, so users do not need to install an extension. It includes a connection modal, an invoice payment interface, and functions to request a WebLN provider to send payments. It works with plain HTML and frameworks such as React, Angular, Vue, and Solid.js, on desktop and mobile devices. The project states it is in alpha, uses unfinalized WebLN and NWC features, and may have breaking changes or bugs.

Key features

  • Connect Lightning wallets via WebLN without requiring browser extension
  • Connection modal launched programmatically with launchModal
  • Invoice payment modal with onPaid callback handling
  • Request WebLN provider for direct sendPayment calls
  • React components including Button, PayButton, Connect and Payment
  • Use via CDN in HTML without build tools
Best for: Web developers adding Lightning wallet connection and invoice payments to websites.
Good for
  • No browser extension installation required for users
  • Works with plain HTML and multiple JavaScript frameworks
  • Supports desktop and mobile devices, including PWAs
Watch out for
  • In alpha with possible breaking changes or bugs
  • Uses WebLN and NWC features that are not finalized
  • Version 3 includes multiple breaking changes

Bitcoin Connect at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Bitcoin Connect alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Evento

github.com/sevenlabsxyz/evento-client

Evento provides an open-source Nostr client with a built-in self-custodial Bitcoin Lightning wallet.

Open source
24 alternatives

Popular in Nostr

Well-known listings from the same topic.

All 110

Bitcoin Connect FAQ

Does Bitcoin Connect require users to install a browser extension?
No. It is provided by the website and connects to wallets without an extension.
Can it be used without build tools?
Yes. It can be imported via CDN and used with web components such as bc-button.
How is it installed?
With npm as @getalby/bitcoin-connect for web components or @getalby/bitcoin-connect-react for React.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing