Alby Hub is a self-custodial Bitcoin Lightning wallet that connects to apps for spending online and in person.
Alby JS SDK
Alby JS SDK provides JavaScript libraries for the Alby OAuth2 Wallet API and Nostr Wallet Connect.

About Alby JS SDK
Alby JS SDK is a JavaScript library for interacting with bitcoin lightning wallets via Nostr Wallet Connect or the Alby Wallet API. It includes an LN client for paying lightning invoices and lightning addresses and for requesting payments, plus NWC app and wallet-service clients, Alby OAuth API functions such as invoices and webhooks, and WebLN providers.
It requires Node.js 22 or higher for native fetch and WebSocket support.
Key features
- Pay lightning invoices with NWC connection credentials
- Pay lightning addresses using fiat-denominated amounts
- Request payments and trigger action on payment
- Create invoices and manage payments via Alby Wallet API
- Set up payment webhooks for Alby Wallet transactions
- Use NostrWebLNProvider and OAuthWebLNProvider for WebLN
- Supports both Nostr Wallet Connect and Alby Wallet API connections
- Works with several existing NWC-enabled wallets for credentials
- Can be installed with npm, yarn, or direct module import
- Requires Node.js 22 or higher for native fetch and WebSocket support
- Use on older Node.js versions needs a separate polyfill and is not recommended
Alby JS SDK at a glance
- Website
- github.com/getAlby/js-sdk
- Category
- Social & Communities › Nostr
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Alby JS SDK alternatives
Tools and sites you could use instead, ranked by how closely they match.
The cln-nip47 plugin connects Core Lightning wallets through Nostr Wallet Connect as specified in NIP-47.
Bitcoin Connect links Lightning wallets to web apps, providing a connection layer for wallet-based payments.
Developers can build Nostr web clients with applesauce, a collection of TypeScript libraries.
Evento provides an open-source Nostr client with a built-in self-custodial Bitcoin Lightning wallet.
connect4 supports multiplayer Connect Four over Nostr and can be hosted by players themselves.
Popular in Nostr
Well-known listings from the same topic.
Alby JS SDK FAQ
How do I install the SDK?
How do I get credentials for the LN client?
What Node.js version is needed?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












