Alby Wallet
Alby is a popular Bitcoin Lightning wallet ecosystem with deep Nostr integration. It provides browser extensions, self-hosted nodes, and mobile apps for managing Lightning payments and Nostr identities.
Alby Products
Alby Browser Extension
The gateway to Lightning and Nostr on the web:
- Lightning payments in browsers
- Nostr key management (NIP-07)
- NWC connections for apps
- WebLN support for web apps
Get it:
Alby Hub
Self-custodial Lightning node management:
- Your own node - Full control
- NWC server - Generate connections
- Channel management - Easy liquidity
- App connections - Link to services
Get it: albyhub.com
Alby Go
Mobile app for Bitcoin on the go:
- Companion to Alby Hub
- Mobile payments
- NWC mobile client
Setting Up Alby Extension
Installation
- Install from browser store
- Create or import account
- Set up PIN/password
- Fund via Lightning
Connecting to Nostr
Alby can manage your Nostr keys:
- Go to Settings → Nostr
- Generate new keys OR import existing
- Apps can request signing (NIP-07)
// Web app requesting Nostr signature
const pubkey = await window.nostr.getPublicKey();
const signed = await window.nostr.signEvent(event);
Lightning Address
Every Alby account gets:
yourname@getalby.com
Use this in your Nostr profile:
{
"lud16": "yourname@getalby.com"
}
Setting Up Alby Hub
Requirements
- Server (VPS, home server, Raspberry Pi)
- Bitcoin (for channel funding)
- Domain (optional but recommended)
Installation
# Docker installation
docker run -d \
--name albyhub \
-p 8080:8080 \
-v albyhub_data:/data \
ghcr.io/getalby/hub:latest
Or use one-click deployment:
- Umbrel
- Start9
- RaspiBlitz
Channel Management
Alby Hub simplifies Lightning channels:
- Auto-channel opening - Guided process
- Liquidity providers - Easy inbound
- Channel health - Monitoring
NWC with Alby
Generating NWC Connection
- In Alby Hub: Connections → Create App
- Set permissions and budget
- Copy connection string
- Paste in Nostr client
Budget Controls
Daily limit: 10,000 sats
Per-payment max: 1,000 sats
Monthly limit: 100,000 sats
Managing Connections
View and revoke connections:
- See active apps
- Monitor spending
- Revoke access instantly
Features
For Regular Users
| Feature | Extension | Hub |
|---|---|---|
| Receive zaps | ✓ | ✓ |
| Send zaps | ✓ | ✓ |
| Lightning address | ✓ | ✓ |
| NWC connections | ✓ | ✓ |
| Nostr key signing | ✓ | - |
| Self-custody | - | ✓ |
For Developers
| Feature | Description |
|---|---|
| WebLN | Standard Lightning API |
| NIP-07 | Nostr key signing |
| NWC | Wallet connectivity |
| Webhooks | Event notifications |
| API | Programmatic access |
WebLN Integration
Alby implements WebLN for web apps:
// Check if WebLN is available
if (typeof window.webln !== 'undefined') {
await window.webln.enable();
// Send payment
const result = await window.webln.sendPayment('lnbc...');
// Make invoice
const invoice = await window.webln.makeInvoice({
amount: 1000,
defaultMemo: 'Test payment'
});
// Get info
const info = await window.webln.getInfo();
}
2025 Transition
As of January 2025, Alby phased out their shared custodial wallet. Users should:
- Set up Alby Hub for self-custody, OR
- Connect external wallet via NWC
The browser extension continues to work for signing and connecting to external wallets.
Migration Options
- Alby Hub - Self-host your own node
- Connect wallet - Use NWC with any compatible wallet
- Lightning address - Point to different provider
Best Practices
Security
- Secure your seed - Backup Alby Hub seed phrase
- Use strong PIN - Protect extension access
- Budget connections - Limit NWC spending
- Regular updates - Keep software current
For Zapping
- Set reasonable budget - Match your spending
- Multiple connections - Different apps, different budgets
- Monitor usage - Check spending regularly
For Receiving
- Share Lightning address - Easy for payers
- Sufficient inbound - Ensure channel capacity
- Backup regularly - Protect your channels
Troubleshooting
Extension Issues
Can't sign Nostr events:
- Check extension is unlocked
- Verify site has permission
- Check console for errors
Payments failing:
- Check wallet balance
- Verify connection active
- Try smaller amount
Hub Issues
Channels not working:
- Check node is synced
- Verify channel state
- Check routing liquidity
NWC not connecting:
- Verify relay accessible
- Check connection string
- Regenerate if needed
Resources
Alby's strength is its ecosystem integration - one account connects you to Lightning, Nostr, and the broader web. Start with the extension, graduate to Hub when ready for self-custody.