Voters
K
G
A
T
S
+10
Powered by Noora
15
Add support for CLN as backend
J
jakub
Aug 30, 2024

Although CLN is not the most widespread implementation of a lightning node, it has its representation and advantages. If the Alby Hub wants to promote diversity in the bitcoin ecosystem, it should include the CLN.

Comments
O
oceanslim
Mar 3, 2025

Moritz I'm in the process of adding CLN support to the gonuts chashu implementation. If you could provide some guidence on your codebase, I can take a crack at it. Something needs to happen here.

2
M
Moritz
Mar 4, 2025

oceanslim Roland replied below.

0
M
Moritz
Dec 19, 2024

External contributions from the community are welcome and would be amazing.

0
O
oceanslim
Mar 3, 2025

Moritz I think I see. We need some changes to config to add the env variable needed for CLN, then in lnclient we need a cln package and with a wrapper for albyhub can pass cln commands. Is there anything else I would need to look at? You can reach me quicker on nostr oceanslim@happytavern.co or on github @0ceanslim

1
R
roland
Mar 4, 2025

oceanslim you need to create another implementation of the LNClient interface. How it is implemented internally and whether or not you want to create a wrapper is up to you. You can look at the other implementations for reference. LND might be a good reference since it similarly connects to an external node, however please note LDK is the default and most complete implementation.

0
M
Moritz
Dec 12, 2024

How big is the community of CLN node operators actually?

0
J
jakub
Dec 12, 2024

Definitely bigger than many people think :-)
Lightweight modular code in C and BOLT 12 invoices...

0
M
Moritz
Dec 13, 2024

jakub Yeah, CLN has great features.
I am looking for sound estimations.

0
J
jakub
Dec 13, 2024

Moritz Ok. It is not easy to recognize the LN node implementation from the LN protocol. The studies that have looked into this have been based on setting some node parameters and comparing them with the default values of each implementation.

I quickly googled for example this article:

https://stacker.news/items/97320

So there is a certain amount of inaccuracy in this, but it mostly states LND above 90% and CLN within 7-8%. For some 15k nodes in the network, the CLN is about 1000.

0
S
singlebeam
Dec 11, 2024

Bumping with appreciation for development thus far. I too would be grateful for CLN support.

0
H
hello
Oct 27, 2024

"Yes I would like to see Alby on CLN please...."

0
T
teemie1111
Sep 19, 2024

I'm the node runner using CLN. Waiting for this feature.

1