-
@ Hakuna | HODLmeTight
2025-06-09 20:54:07I'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
You can find it here: https://github.com/TrezorHannes/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!
https://stacker.news/items/1002005