How to open a channel to a custom node or any node on the network?

With Alby Hub's support for opening custom channels, you can connect with any node on the Lightning Network, giving you complete freedom to establish connections across the network.

1. Introduction to Lightning Network channels 2. Opening a custom channel 3. Waiting for the channel to open


Introduction to Lightning Network channels ⚡

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)

LSPs (Lightning Service Providers) offer the service of opening a channel for you, enabling you to receive satoshis immediately.

What is a 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.

More details on what exactly are Lightning Network channels

While this special on-chain transaction is unsettled, both parties can instantly send Bitcoin back and forth within the channel without broadcasting each transaction to the entire Bitcoin mainnet. This results in rapid and inexpensive transfers. Additionally, they can send satoshis to anyone else connected to them through other channels, creating a network of interconnected nodes withs channels between them, known as the Lightning Network. When the participants decide to close their channel, the final balance is recorded on the main Bitcoin blockchain, and that special on-chain transaction is settled.

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.

The list of pre-selected peers is designed to make things easy for newcomers 😊. It helps you open a channel quickly with a reliable Lightning Network participant. The custom node option lets you connect to anyone in the Lightning Network.🚀


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 "Top Up"

Since you are the one opening the channel, you need to provide enough funds from your Savings Balance, which is your on-chain liquidity, to set the channel capacity. The amount of on-chain liquidity you allocate to this channel will determine its capacity.

Remember: "on-chain liquidity" refers to the amount of bitcoins or satoshis you have on your "Savings Balance", which are funds on the Bitcoin mainnet, or Bitcoin "Layer one".

2. Click on "Advanced Options" and open the "Channel peer" menu

At the end of the "Channel peer" menu, you will find the option to open a custom channel. Since you are opening a channel from yourself to another peer, you can only create a custom channel with on-chain funds. -> The custom option will not appear when selecting "use Lightning funds to create a channel."

3. 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 with a blue or green dot will appear below the "Peer" box. You can see an example of this in the screenshot below.

Finally, click on "Open Channel"

Where can I find custom peers?

You can visit amboss.space to find a node run by a person or company with rules that fit your channel requirements. Once you find an appropriate peer, open their general page and click the copy-paste icon to copy their address and IP (this section includes the IP, even if it's not shown in the screenshot). Paste this information into the "Peer" section of the "Custom Channel" option in Alby Hub.

Some peers are professional Noderunners who may not accept private channels, channels with default high fees (like Alby Hub), or channels with amounts less than, for example, 2.5 million satoshis. Each Noderunner has their own rules. Make sure to verify the rules of your peer before opening a channel to them, or they might close your newly opened channel.


Waiting for the channel to open âŗ

Finally, there is a waiting period of approximately 10 minutes for each required confirmation. In our example, we need 3 confirmations, so the wait will be around half an hour. 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 opened. You can navigate elsewhere on your Alby Hub during this time and return to "view channel" to check the remaining confirmations needed for the channel to open.

Congratulations! 🎉

You've mastered the art of opening custom channels on the Lightning Network! With Alby Hub', you can now connect with any node, providing you with the freedom to establish connections across the network. Keep exploring and enjoy your seamless transactions! 🚀


Thank you for stopping by! This section was created with contributions from Moritz & Jean-Paul

Last updated

Logo

Your bitcoin & nostr companion / from 🐝 with 🧡