How to open a channel to a custom node or any node on the network?
Learn how to open a channel to any node on the network.
Overview
What is a Lightning channel?
A channel in the Lightning Network is a connection between two participants (also called "peers"), starting with one party locking up some Bitcoin in an on-chain transaction that remains unsettled. This allows the two participants to send satoshis back and forth an unlimited number of times with very fast speeds and low fees.
The default option on Alby Hub is for you to open channels to a pre-selected list of peers, that are well known high quality routing peers, and in the case you need "Receiving Capacity", you will also have a list of pre-selected LSPs (Lightning Service Providers)
What is a custom node?
It is called "custom" because it allows you to choose a node outside of Alby Hub's default list of pre-selected peers. Opening a channel to a custom node means connecting to any participant or peer in the Lightning Network that is not on the pre-selected list of peers.
Opening a custom channel π
Ready to level up your Lightning Network game? Letβs make some electrifying custom connections!
1. Go to "Node" and then click on "Open Channel"
Since you are the one opening the channel, you need to provide enough funds from your on-chain balance, to set the channel capacity. The amount of on-chain funds you allocate to this channel will determine its capacity.

2. Click "Open Channel with On-Chain"

3. Click on "Advanced Options" and open the "Channel peer" menu
At the end of the "Channel peer" list, you will find the option to open a custom channel using or on-chain balance. (The custom option will not appear when selecting "use Lightning funds to create a channel.")

4. Enter the pubkey of the peer
You need both the pubkey and the IPaddress+Port of the peer to open a channel to them. Additionally, it's advisable to know the owner of the peer and consult with them beforehand to ensure it's okay to open a private channel and that the planned channel size is acceptable.
Enter the peer's pubkey in the "Peer" box. Then, a new box labeled "Host:Port" will appear. Enter the peer's IP and port number in this box. If you have entered the information correctly, the name of the peer will appear below the box. You can see an example of this in the screenshot below.
Finally, click on "Open Channel"

5. Waiting for the channel to open β³
The channel will take 3 block confirmations (~30 min.) until it is open and usable. During this process, the channel may appear as offline in your "Node" section. It will become online once it is fully open. You will be notified by email as soon as your channel is open.

Last updated
Was this helpful?


