SatsRail is non-custodial. We never touch your money. But we need a way to generate Lightning invoices and detect when they get paid. That's where Alby Hub comes in.
Alby Hub is an open-source Lightning wallet that runs on your machine and connects to SatsRail through a standard protocol called NWC (Nostr Wallet Connect). It does two critical things for your integration:
No Alby Hub, no invoices. No invoices, no payments. It needs to be running.
Alby Hub is available for all major platforms:
→ Download at getalby.com/hub
Choose your platform:
.dmg installer.exe installer.deb, or DockerIf you don't want to run hardware, Alby offers a hosted version at albyhub.com. Same functionality, they handle the infrastructure. Good for getting started quickly.
nostr+walletconnect://...That's it. SatsRail will use this connection to request invoices and listen for payments.
This is the most important part: Alby Hub must be running for your SatsRail integration to work.
Here's what happens when a customer pays:
If Alby Hub is offline at step 2, SatsRail can't generate an invoice — the checkout fails. If it goes offline between steps 3 and 5, the payment confirmation may be delayed.
Best practices:
Checkout says "Unable to generate invoice"
→ Alby Hub is likely offline or the NWC connection expired. Open Alby Hub, check it's running, and verify the connection in SatsRail dashboard.
Payment stuck on "Waiting for payment"
→ The invoice was generated but Alby Hub may have gone offline before confirming. Restart Alby Hub — it will sync and pick up the payment.
"Insufficient inbound liquidity"
→ Your Lightning channels don't have enough capacity to receive payments. Open a new channel or use Alby Hub's liquidity tools to get more inbound capacity.
We're building toward supporting more wallet backends in future phases — including managed Lightning nodes that remove the need to run your own infrastructure. But right now, Alby Hub is the integration point, and it works great.
If you haven't already, create your SatsRail account and connect your Alby Hub:
SatsRail is non-custodial Bitcoin payment infrastructure. Your keys, your money, no middleman.