ALBY HUB GUIDE
Run your own wallet.
Connect it in three steps.
Alby Hub is a free, self-custodial Lightning wallet that runs on your computer. Install the app, open a channel, and add its Lightning Address to SatsRail. Customer payments go straight to your Hub.
WHAT IT DOES
What Alby Hub does for your payments.
SatsRail is non-custodial: we never hold your money. Alby Hub is your own wallet. It runs on your computer, keeps your keys and handles the Lightning connection, so SatsRail never touches your funds.
- It issues the invoicesWhen a customer clicks Pay, SatsRail asks your Alby Hub, through its Lightning Address, to create a Lightning invoice for the right amount.
- It receives the paymentsThe customer pays your Hub directly. SatsRail checks the invoice’s verification link to confirm it was paid. The sats go straight to your wallet.
STEP 1 OF 3
Download and install Alby Hub.
Alby Hub is a free desktop app for Mac, Windows and Linux. Download it and install it like any other app; it takes a couple of minutes.
Download Alby Hub Desktop| Platform | Format |
|---|---|
| macOS | .dmg installer |
| Windows | .exe installer |
| Linux | AppImage, .deb or Docker |
Follow the official Alby Hub Desktop guide for step-by-step screenshots.
STEP 2 OF 3
Open a channel to receive.
To receive Lightning payments, your Hub needs a payment channel with receiving capacity. Alby offers one you can buy in one click.
Review the channel quote before opening it. Receiving capacity may need replenishing as you accept payments.
Keep your wallet online and monitor its receiving capacity. Additional channels or liquidity adjustments can have additional costs.
STEP 3 OF 3
Connect it to SatsRail.
Once Alby Hub is running with a channel open, connecting it to SatsRail is quick.
- 01
Find your Lightning Address.
Use the Lightning Address assigned to your Alby Hub wallet.
- 02
Copy it.
It looks like an email address, for example
yourname@getalby.com. - 03
Add it in your SatsRail dashboard.
Open Settings → Payment methods → Wallets and choose Add Lightning wallet. Give it a wallet name, paste the address into Lightning address, and choose Create wallet. Keep Alby Hub online while SatsRail checks it: the wallet then shows Active.
SatsRail checks that your address can request invoices and verify payments, and tells you if it can’t. Pay a small amount from another wallet and watch it arrive in your Hub. Need help? Talk to us and we’ll walk you through the setup personally.
KEEP IT RUNNING
Keep Alby Hub running.
Alby Hub needs to be running on your computer for SatsRail to generate invoices and for you to receive payments. If Alby Hub is offline, customers can’t pay over Lightning.
- Run it on a machine that stays on: your main computer, a home server or a Raspberry Pi.
- Turn on “Start on boot” so it launches automatically after a restart.
- Check from time to time that your channel is healthy and has inbound liquidity.
HOW PAYMENTS FLOW
What happens when a customer pays.
The money moves from your customer’s wallet to your Hub. SatsRail asks for the invoice and confirms it.
- 01
The customer clicks your SatsRail payment button.
- 02
SatsRail requests a Lightning invoice through your Lightning Address.
- 03
Alby Hub generates the invoice.
- 04
The customer pays it from their own wallet.
- 05
The payment lands in your Hub, and SatsRail confirms it was paid.
- 06
SatsRail marks the order as paid.
“Unable to generate invoice”
Alby Hub may be offline or short of receiving capacity. Open Alby Hub, check it is running, and verify the connection in your 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. Open a new channel or use Alby Hub’s built-in liquidity tools.
FOR DEVELOPERS
Building on the API?
The API quickstart, SDKs and code examples are in the developer docs. Live API keys work on every plan once your account is approved; test keys work before that.
YOUR NODE. YOUR KEYS.
Install Alby Hub.
Connect it to SatsRail.
Free up to $250/month · Non-custodial · Your keys, your sats