If you run a Lisk Delegate this may be useful for you. Basically, this script will send you an SMS whenever your delegate misses a block. This way, if your node stops running or something you'll know it instantly, potentially missing less blocks and money than the ones you would without this service.
You'll also be notified if your delegate stops being among the top 101 lisk delegates.
- Your system will need to have PHP >= 5.3.0
- Clone this repo where you want to have it
- Install Composer if you don't have it already
- Then run
composer require twilio/sdk
- And ... done
You'll need a twilio account, with a phone number able to send messages to the country you want to send messages. At config.php
you can set all the settings to make it work. Each option is greatly explained there :D
To run it: php daemon.php
You might want to use screen
or nohup
to send it to the background.
Feel free to suggest changes and updates, to contribute, to test the script, to use it, to whatever ... If you find any issue let me know too and I'll try to fix it. You are more than welcome to fix it yourself and open a pull request :D (hehe)
And yeah