Telegram Bot for alerts on LN+ pending swaps
Posted over 2 years ago by IMF_SUCKS
LN+ is a great site to create rings and get inbound liquidity for your node.
However it is not always easy to find a ring that is being created and suites your needs. You have to check the page now and then until you find a ring that is ok for you, but this consumes time and is not efficient enough.
That's why I created a Telegram bot that sends you an alert when a ring that is in process of being created fits into your choosed parameters. Although it is still in development and I would like to add more parameters to filter the desired rings, I've already been using it for the last days and it works well.
You can find the bot at:
http://t.me/LNPlus_bot
and after starting it as usual with the command /start you will be receiving alerts for rings that satisfies the default parameters, that of course you can change.
However it is not always easy to find a ring that is being created and suites your needs. You have to check the page now and then until you find a ring that is ok for you, but this consumes time and is not efficient enough.
That's why I created a Telegram bot that sends you an alert when a ring that is in process of being created fits into your choosed parameters. Although it is still in development and I would like to add more parameters to filter the desired rings, I've already been using it for the last days and it works well.
You can find the bot at:
http://t.me/LNPlus_bot
and after starting it as usual with the command /start you will be receiving alerts for rings that satisfies the default parameters, that of course you can change.
You can see the possible parameters with the command /help They are very autodescriptive ;)
Also you can see the current configuration of your bot with the command /settings and change to whatever you prefer.
BTW, this is the full command list, that you can see at any moment with the /help command:
/settings - Show current settings
/set_notification_status <on | off> - Turn notifications on/off
/set_min_capacity <min_capacity> - Set the minimum capacity of the rings to be notified
/set_max_capacity <max_capacity> - Set the maximum capacity of the rings to be notified
/set_min_places <min_places> - Set the minimum number of places of the rings to be notified
/set_max_places <max_places> - Set the maximum number of places of the rings to be notified
/set_min_places_left <min_places_left> - Set the minimum number of places left of the rings to be notified
/set_max_places_left <max_places_left> - Set the maximum number of places left of the rings to be notified
I would like to add the possibility to filter for the ring restrictions (like total channels and max capacity needed for your node to join). Hope to have this done in the following days.
If you want to colaborate or give me some ideas to add to the bot here it is the github for the project: https://github.com/zx9r/LNPlusTelegramBot
PS: It would be a lot easier if LN+ develops a API to access the desired info. Hope we have it soon !
5 Comments
LN+ Admin wrote over 2 years ago
That's cool mate! Appreciated.
Here is the API for you: https://lightningnetwork.plus/api_documentation
Here is the API for you: https://lightningnetwork.plus/api_documentation
LN+ Admin wrote over 2 years ago
👏 I tweeted about this: https://twitter.com/BTC_LN/status/1504303200576602112
IMF_SUCKS wrote over 2 years ago
Thank you for that API !!
I will remove now the web scrapping stuff and add more filters and functionality to the bot
I will remove now the web scrapping stuff and add more filters and functionality to the bot
LN+ Admin wrote over 2 years ago
Great!
coinhodler04108 wrote over 2 years ago
Nice work with this!
Please login to post comments.
Latest news