lightning-tools
plugins
lightning-tools | plugins | |
---|---|---|
15 | 9 | |
22 | 250 | |
- | 0.0% | |
0.0 | 8.3 | |
over 2 years ago | 9 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lightning-tools
-
Anyone know of a way to see the network diversity of my open channels?
I have also designed my own script that attempts to measure what I call "low fee routing diversity" and score and rank potential channel peers according to how they improve that metric: https://github.com/ajpwahqgbi/lightning-tools/tree/master/channel-analysis/node-recommender .
-
How can we blacklist nodes in c-lightning?
It's definitely possible to prevent other nodes from opening channels with your node. See my plugin here. Preventing connections might be possible; at least you could monitor listpeers and automatically disconnect them.
-
How to Calculate Earnings?
I wrote a collection of scripts (designed for C-Lightning) to analyze earnings. See in particular get_period_pnl.py: https://github.com/ajpwahqgbi/lightning-tools/tree/master/fee-analysis
-
Largest Ring of Fire [RoF]
Anyway long paths or high-degree polygons are increasingly less useful. I think it's more interesting to ask something like, "How connected are the most connected parts of the LN?". For that, I have done some analysis.
- ⚡ Lightning Thursday! July 01, 2021: Explore the Lightning Network!⚡
-
Need help finding a node to open a channel with
My node has excellent low-fee connectivity across the LN. PM me if you're interested in opening a channel to my node. Otherwise I recommend Wallet of Satoshi or their alternate node.
-
Lightning Node after 2+ years
You might be interested in my node recommender script which does exactly that.
-
Participating in routing
Once you have at least one channel you can try doing some graph analysis on the LN to find channel peers that improve your metrics. That has worked well for me.
-
Current State of Lightning Network Privacy
I made this C-Lightning plugin to do exactly that. Warning: still needs testing :).
-
Routing Fee Policy Concept - Discovery and Profitable Cooperation
You watch your forwarding history logs, e.g. lightning-cli listforwards for C-Lightning. You can also automate the analysis and get nice pretty-printed reports of payment volume, fees earned, etc.
plugins
- Lightning Core or LND: Should I Switch?
- Can someone please explain what they’re beefing about?
-
Dynamic directional channel fees to incentivize transfers in the channel balancing direction
And c-lightining's feeadjuster plugin https://github.com/lightningd/plugins/tree/master/feeadjuster 🤗
-
Jack Mallers and CNN's Julia Chatterley Part 2: "I expect to go well into the 6 figures this year."
Here is a C-Lightning plugin that accomplishes much the same objective.
-
c-lightning self payment (circular rebalance)
There seems to be a plugin for rebalancing https://github.com/lightningd/plugins
-
In the past month my LN node yielded an annualized 0.93%, higher than a savings account. *I am my own bank*!
Sure, I'll make a PR, but they're not very responsive to my PRs. So if I do make it you should expect it to appear in my lightning-tools repo's plugins dir.
-
Just started a c-lightning node, balancing channel issues
Absolutely. If you look at the rebalance plugin (https://github.com/lightningd/plugins/blob/master/rebalance/rebalance.py) you'll notice most of the code tries to do some best effort guesses as to how to best balance channels. The actual code to compute the route is relatively simple:
-
Fee scaling
C-lightning has a plugin that'll adjust the fees on channels based on the balances in the channel, i.e., higher fees if an htlc would drain funds from an already low channel and lower fees to encourage rebalancing channels with high outgoing capacity: https://github.com/lightningd/plugins/tree/master/feeadjuster
What are some alternatives?
lnbook - Mastering the Lightning Network (LN)
clboss - Automated Core Lightning Node Manager
boltz-backend - Boltz Backend
lnd - Lightning Network Daemon ⚡️
charge-lnd - charge-lnd is a simple policy based fee manager for LND. With this tool you can set fees to autobalance, recover channel open costs, use on-chain fees as reference, use channel activity to determine fees or just use static fees.
bolts - BOLT: Basis of Lightning Technology (Lightning Network Specifications)
LightningExchanges - List of exchanges that support Lightning Network
lndmanage - Channel management tool for lightning network daemon (LND) operators.
spark-wallet - ⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.