Original and main repository: https://github.com/nightling21/channel-chain . PRs must be submitted here, they are disregarded when submitted to forks of this repository!
Inspired by the Telegram group Rings of Fire and the LNTrustChain.
The aim of this project is for your Lightning Node to get a free channel with inbound liquidity, for every channel you open to another node.
If you want to join the chain, you have to open a channel to the node on top of the chain. After that, you are on top of the chain. So the next node that wants to join the chain, will have to open a channel to your node.
- Wait until your predecessor has it's channel confirmed.
- Request to put your node on top of the list by submitting a PR. If you don't manage to create a PR, seek help from the Telegram group.
- Once the PR is merged, open a channel with (at least) the defined amount to the node below you.
- After the channel is confirmed, create a PR with a Link to the created channel (on 1ml.com)
- Leave the channel open.
- The chain can always only grow by one single successor node. If someone is waiting for their spot in the chain (existing PR), you have to wait until their channel is confirmed to request your spot.
- As soon as your accepted on the list, you must open the channel.
- PRs are only accepted if they contain all the information needed.
- Only channels with at least the defined amount are valid channels.
- Don't open channels until you are confirmed on the list.
- If your channel doesn't open within 6 hours, you may be kicked out of the chain, so someone else can take your spot.
- You can join a channel-chain multiple times.
- Don't open channels to nodes you are already connected with. Those channels will be ignored and someone else will take your spot. (Remember that c-lightning nodes don't even have the possibility to have multiple channels with one node)
- If you don't play fair (e.g. closing your channel quickly after you got your inbound capacity), you will be blocked from further participation.
Think of a Ring of Fire that never closes. A Ring of Fire that grows forever. Infinitely.
Advantage: Less overhead. Much faster setup. Very little communication needed from your part.
Disadvantage: No rebalancing.
Additionally, there is the privacy benefit of not needing to link your Telegram account to your LN node. It's much easier to create anonymous GitHub accounts than Telegram accounts, because of the phone number verification.
Property | Value
---|---
Chain Index | <INSERT INDEX HERE>
Node Alias | <INSERT YOUR ALIAS HERE>
Node Key | <INSERT YOUR PUB KEY HERE>
Node Address | <INSERT YOUR ADDRESS HERE>
Channel | <LEAVE THIS EMPTY FOR THE REQUES, ADD CHANNEL LINK HERE AFTER OPENING OF CHANNEL>
(newline at the end is necessary)
Meet us in the Telegram group channel-chain