pull down to refresh

For those of you running your own LN nodes:

8. Batch Opening Lightning Channels

Some tools make this quite simple these days! I like to use LNDg, but it can also be accomplished using good ole lncli. Rather than opening channels one at a time, paste the pubkeys you're interested in into a document for later. Once you have a handful of nodes you want to connect to, do it all at once with a batch open.

9. Collaboratively Opening Lightning Channels

The open-group-channel command in bos can save you a some satoshis, and get you inbound liquidity! It takes a bit of coordination out-of-band via chat, but the software automatically handles all the handshaking necessary to open a group of channels all in one transaction. Here is an example of a group-opened channel with 7 participants with a fee of 7,850 sats. This comes out to ~1121 sats per participant. Still a little high due to the 5 sat/vbyte feerate, but quite efficient otherwise! open-balanced-channel will do the same, but for 2 participants. Note, the transactions aren't likely to be any smaller, you're just efficiently getting inbound and outbound liquidity in a single transaction/channel rather than two.
On CLN, you can easily batch open channels with the multifundchannel command; every modern CLN has this command.
reply
fwiw batch opens fee savings are a function of how many inputs + change addresses are eliminated/reduced; it’s possible that a batch open doesn’t save as much as you were hoping due to a large number of inputs.
Involving others in the open has negligible fee savings, since everyone still needs at least one input + one output. I wouldn’t count collaborative opens as a great fee savings technique.
reply
This is super cool. What tools are you using for that? Is there something that could be used by broad audience already?
reply