pull down to refresh

I've been working on a few Python scripts to help automate and improve some Lightning node management tasks and wanted to share them with the community. I've bundled them into a GitHub repository called

Lightning-Python-Tools

Here's a quick rundown of a few scripts inside:
fee_adjuster.py: This script pulls data from your LNDg database and public fee market data from Amboss. It allows you to build your own custom heuristics for managing your outbound and inbound channel fees automatically.
pocketmoney.py: Leveraging your LNBits instance, this tool can trigger regular, scheduled payments. It's perfect for things like sending pocket money to your children's wallets.
peerswap-lndg_push.py: For those using Peerswap, this script makes your Peerswap-enabled channels visible in your LNDg dashboard and conveniently enters your past swap history as a note.
boltz_swap-out.py: This is a command-line interface (CLI) tool for performing submarine swaps with Boltz. It intelligently suggests swaps based on your most outbound-heavy channels, again by feeding data from LNDg.
Disclaimer & Call for Contributions This is an open-source project. Please use it at your own risk. I welcome everyone to fork the repository, create pull requests to make the scripts more robust and versatile, or open issues with suggestions.
I'm also very keen to get your feedback. What other tools could be built to make a node runner's life easier? Let me know your thoughts!
Love to see it interact with LNDg. That was one of my favorite tools at the time. Is it still a time-consuming endeavour to run a routing node? Or have things become easier over the last 3-4 years?
reply
Well, hard to say. I would say certainly more laid back into hammock maintenance possible, but some runners might take the extra mile to make the extra buck. It probably depends on
  • your motivation + time-available
  • your curiosity and desire for tinkering
If both of the above is not a personal preference, todays tools like Autofees and Auto-Rebalancer in LNDg offer a hands-off "hammock" approach.
Certainly less fire-drilling compared to 2-4 years ago. Totally concur on your love for LNDg. I'm a big fan and also contributing to their code wherever I feel I can add value.
reply
I've been loving the new LND autopilot features. It seems to do a much better job than I ever did at managing our node. Routing is slow but steady.
reply