I haven't tried lnbits, but glancing at the docs, I would usually use the CoreLightningWallet backend, but that is only if lnbits is on the same machine.

Biasing a channel you want to balance may give you some passive balancing, as other payments go out, but unless you do lots of payments I don't think it will be very effective. Most people use the rebalance plugin, but it's a bit primitive these days: we could write a better one...

Reply to this note

Please Login to reply.

Discussion

Thanks for the answers. I tried the CoreLightning wallet connection, first it's connecting directly to lightning-rpc, so in case of a bugs/hack LNbits could drain all channels without limits. But c-lightning-rest is the same I guess, until it supports CLNrest with runes.

I still tried to use the lightning-rpc until I have a better solution but it never worked. I run each app by a separate user:group so lnbits cannot access lightning-rpc, even if it's part of the lightning group and the lightning-rpc has 777 permissions. Stuck there, nobody could help in the lnbits telegram as almost no one use it with CLN.

It's very wise of you to run them as separate users, but you could have them all in the same group and make sure the directory for lightning RPC is accessible by that group as well as the file itself?