Hi, despite numerous guides out there about this already (see bottom for links), I thought I'd write another one because I had a bit of trouble that the others guides didn't mention.
This guide is designed for a complete beginner to LN, and the guide will walk you through the steps to:
- Set up Alby Hub Desktop, which acts as both a local Lightning Node and Bitcoin/LN Wallet.
- Receive Bitcoin into your new Alby Wallet.
- Open a channel from your Alby Node to Stacker.News (because we want the shortest possible route to send and receive sats on SN right!?)
- Generate some inbound liquidity on your SN Channel (optional).
- Attach your Alby Wallet to SN via NWC. (Note that this is not the same as opening a channel to Stacker.News).
This guide was written for Windows 11, but the steps are probably same or similar for other OS.
Prerequisites
- You must own some Bitcoin and know how to send BItcoin to an address on-chain.
- You must have a Stacker.News account.
- You must have a computer and OS capable of running Alby Desktop.
- You should block out an hour or so, since you'll have to wait for on-chain confirmations.
That's it. No other prereqs.
Download Alby Hub Desktop.
-
Follow the instructions to download Alby Desktop for your OS.
-
For Windows, it looks like this:Just click "Get Started" and follow the instructions
-
You should end up with
albyhub-Desktop-Windows.zip
. -
Unzip it anywhere. I chose
C:/Users/Username/AlbyHub
-
You should end up with
albyhub.exe
. Double click this.- You may see a Windows Defender popup. Just click "More information" and "Run anyway".
- You may also get a Firewall popup. Allow Alby to communicate via your network.
-
Further note for Windows users: Alby stores data in
C:/Users/Username/AppData/Local/albyhub
Set up your Alby Desktop password.
- Click through all the welcoming screens.
- When you get to "Get Started" vs. "Advanced Setup", click "Get Started."
- Enter a secure password. You must remember this because there is no way to recover!
- Click through to create the password.
- When you hit the screen that asks you connect an Alby account, just click "Later".
Receive Bitcoin to your Alby wallet.
-
You should now be on a screen like this:
-
Ignore the "Get started with your Alby Hub" steps. This is where I got tripped up since it wanted me to buy liquidity from a list of pre-selected providers. You shouldn't have to do this, so don't.
-
Instead, click "Node" on the left.
-
Click "Deposit" on "Savings Balance".
-
Alby generates a Bitcoin receive address for you. Use it to send Bitcoin to your Alby wallet! It will wait for a few confirmations before it shows up in your Alby Wallet.
-
Once you have enough confirmations, your deposit will show up in the "Savings Balance" part of the "Node" screen:
Open a channel to Stacker.News
-
First, you'll need to find the pubkey of Stacker.News. You can find it on Amboss: https://amboss.space/node/03cc1d0932bb99b0697f5b5e5961b83ab7fd66f1efc4c9f5c7bad66c1bcbe78f02?section=General
-
Copy the pubkey by clicking on the copy button:
-
Go to the "Node" page in Alby Desktop and click "Open Channel"
-
Enter the channel size.
-
Click Advanced Options
-
A "Channel Peer" menu shows up. Click "Custom".
-
Enter the pubkey of Stacker.News in the "Peer" field.
-
I checked "Public Channel," but I don't think this is required.
-
Click Open Channel.
-
Alby will wait for 2 confirmations before the channel appears as open.
-
You now have outbound liquidity on the SN channel.
Get inbound liquidity on your SN channel (optional)
-
Assuming SN is your only open channel, you need this step to get inbound liquidity.
-
Simply buy something online which takes payment via Lightning Network.
-
Click "Wallet" in Alby Hub (on the left sidebar.)
-
Click "Send"
-
Enter the invoice or lightning address that you want to make payment to.
-
Hit continue.
-
Assuming SN was your only open channel, you will send the payment via that channel. You now have inbound liquidity on your SN channel and you are now able to receive payments on LN!
-
On the "Node" screen, you see a channel status that looks like this:
Attach your wallet to SN
-
On the left sidebar in Alby Desktop, click "App Store"
-
Find stacker news and click "Connect"
-
The instructions you see on Alby may be buggy, so follow what I write instead (as of 2024-10-14).
-
Navigate to wallet in Stacker.News in your browser:
-
Click "Attach wallets"
-
Under NWC, click "Attach"
-
You need to create two connections by pasting in NWC pairing strings. One for send, and one for receive.
-
First, we will create the send connection.
-
Go back to Alby Desktop. You should still be on the stacker news app page. Click "Connect to stacker news"
-
Change the "Name" to "stacker news send"
-
SN recommends keeping "Full Access" selected, so I will also recommend. More advanced, security conscious users can modify permissions if they like.
-
You can optionally set a budget so that you don't accidentally spend too much via this connection (i.e. due to a bug or attack.)
-
Click "Next"
-
Copy the pairing secret.
-
Paste it in "Connection for sending" in Stacker.News in your browser.
-
On Alby Hub, it will keep saying "Waiting for app to connect." Wait until a "Continue anyway" pops up and click that.
-
Your "stacker news send" connection should now have been created, but it's not attached yet to SN because you didn't finish configuring on SN yet.
-
-
Now, we will create the receive connection.
-
Go back to the "App Store" in Alby Desktop.
-
Find Stacker News again and click "Connect".
-
Change the name to "stacker news receive"
-
This time, don't select "Full Access". Instead, select "Custom."
-
Enable the following: "Read your node info", "Lookup status of invoices", "Create invoices". (This may not actually be the minimum requirements, but I found that if you just do 'Create invoice', you will get an error on SN.)
-
Get the pairing string and paste it in "Connection for receiving" in Stacker.News.
-
As a test, set your autowithdraw limit to something under your current SN wallet amount.
-
Click "attach".
-
Congratulations! You should have successfully attached your Alby Wallet to SN via NWC. Your sats should withdraw automatically within a few seconds.
I hope this is helpful to any newbies and non-technical folk who were feeling too intimidated to set up and attach a LN wallet.
References
-
@DarthCoin's guide on AlbyHub: #701233