NWC Connections

https://nwc.getalby.com/ is being deprecated. Something bigger and better is here: Alby Hub

Learn how to manage your app connections with Alby Hub:

🔗App Connections


Nostr Wallet Connect (NWC) is a way for applications to access a remote Lightning wallet through a standardized protocol. For instance, you can link your Alby account with any other application using this feature. The Nostr protocol is used to securely transmit payment information between apps and wallets.

FAQ

How does it work?

Nostr Wallet Connect uses the existing Nostr infrastructure to allow applications to communicate with lightning wallets. This makes it easy for developers to integrate and gives the users full flexibility on choice. To learn more about the details have a look at the specs (NIP47)

Which apps support it?

Amethyst and Damus were the first apps to fully support Nostr Wallet Connect. Today there are more than 20 apps, that allow users to connect their own wallets.

Is Nostr Wallet Connect open source?

Of course! Nostr Wallet Connect is an open standard and our implementation is open source on GitHub

Can I run my own?

Yes, Nostr Wallet Connect is for every wallet and can easily be self-hosted. We are looking for contributors to add support for more wallet backends. If you're interested please contact us on GitHub or hello@getalby.com

For developers

Nostr Wallet Connect (NWC) is an open protocol enabling applications to interact with bitcoin lightning wallets. It allows users to connect their existing wallets to your application allowing you to easily integrate bitcoin lightning functionality but still focus on the core functionality of your app. NWC simple uses Nostr's relay technology. Users don't need a Nostr profile at all.

Find our developer docs here:

NWC API

One Use Case: One-tap zaps

Zaps are the method of value transfer over Nostr protocol. With You can connect your Alby Account directly to Nostr apps and enjoy one-tap zaps, instead of having to generate separate invoice each time you tip/zap someone. You don't have to leave the app and open another lightning wallet to send a payment. In apps or Nostr clients that support NWC, look for settings for "Nostr Wallet Connect" and log in to your Alby Account within that app to grant it permissions to use your Alby Account to certain extent. Sometimes, you might have to go to https://nwc.getalby.com, create connection manually ("Connect app"), set up permissions and copy pairing link, which starts with nostr+walletconnect://

Simple tutorials

How to set up one-tap zaps with NWC on mobile Nostr clients:

Manual NWC connection - how to?

  1. Create a new app connection on nwc.getalby.com

Enable the application by creating a permissioned connection to your wallet. This access can be revoked at any time.

Enable the application by creating a permissioned connection to your wallet. This access can be revoked at any time.

  1. Connect your app

Connect your application by adding the connection secret. Either by scanning the connect QR code, clicking a link or copypasting pairing secret to that app.

Done!

Zapp and Boost! Now the app has permissions to use your Alby Account to a certain extent. Your wallet is available where you need it. And if you ever want to disable it again, simply disconnect the connection again.

Last updated

Logo

Your bitcoin & nostr companion / from 🐝 with 🧡