Masternode Proof-of-Stake Push Notifications
This post will not make much sense without going through the setup of masternodes. I would recommend that you go through these posts first so that this one will become clearer.
- Staking Alt Coins for Passive Income
- AutoStart Staker Daemon on Boot
- Setup An Alt Coin Masternode for Passive Income
- Staking with Multiple Masternodes
Push Notifications
You can be notified of wallet events on your mobile phone. You may choose to do this for both "rewards" and "alerts" or just one. In my experience, I have yet to receive an alert. Meaning all of the notifications I have received so far came from "rewards".
Install Pre-requisites
This requires the installation of python3 and the python's package manager "pip".
Connect to your VPS "hot" node, or the staker instance, where the wallet is installed. This is where the python3 and python3-pip software needs to be installed. Again, this assumes that you are using the Ubuntu VPS instance.
$ sudo apt-get -y install python3 python3-pip
Install Python3 Libraries
Install the pushbullet-cli python3 library using pip.
$ sudo pip3 install pushbullet-cli
Optionally, you may want to update pip, but this is not necessary.
Register in PushBullet
In order to push notifications to your mobile phone, register in pushbullet. Registration is free and the service(s) required for push notifications to work is, likewise, free!
Once done with the registration, generate an access token. It should be under the "My Account" menu, toward the middle of the page (you might need to scroll down to see it). Click on Create Access Token
. Make sure you don't share this with anyone.
Install the Pushbullet App
Install the pushbullet app on your mobile phone. Another option would be to install the pushbullet plugin or extension on your favorite browser.
Configure the Staker Node
As the user "nyex", execute pb set-key
. And input the access token when prompted (do note that the access token does not display on screen).
Enter your security token from https://www.pushbullet.com/account:
Test the Notification
Test the notification using a custom message.
$ pb push "this is a test message from the staker VPS"
If you received the above message on your mobile phone (or browser), then things are ready.
Configure Notifications
Edit the file ~nyex/.nyerium/nyerium.conf and add the following line(s):
alertnotify=pb push "[NYEX] ALERT! %s"
walletnotify=pb push "[NYEX] Reward: %s"
"alertnotify" will prompt you with a message containing an alert event that happened to your Nyerium wallet; "walletnotify" will do the same but for any wallet related events like masternode rewards or staking rewards. You may chose to have one of them or both, depending on your requirements. In my experience, any stake or masternode rewards will push out a notification.
I have added the tag "[NYEX]" on the alert so I know this is coming from my NYEX staking wallet or masternodes. You may want to customize this for your own liking or convinience.
A sample screenshot from my phone is below. As you can see multiple events have been pushed out to my mobile phone, indicating wallet reward-related events. I have yet to receive an alert-related event, in the close to two weeks I have enabled this tweak.
Restart the Staker Daemon
After adding the lines above, the staker daemon needs to be restarted.
$ sudo systemctl restart nyex-staker
Enjoy being pestered by push notifications on your mobile phone. I have enabled these push notifications for newly built masternodes. This way I could monitor if the masternode is earning, or if anything is happening to it.
It can be noisy sometimes. But then again, silence may mean something is wrong or an unforeseen event has happened to your masternodes or staking wallets.
If you like this post, you know what to do.
Support:
- Bitcoin (BTC) - 3Kyjg1Wj1PNGN3KhiRprxYvvQpdjC5kT3k
- Etherium (ETH) - 0x5F168F895C63ccC5FbEf921047bc2b63f6780c3F
- SmartCash - SbgqBUuGBVaaFERmc5zPn8XStxXe7vE1SL
Thanks!
![](https://steemitimages.com/DQmYRoKwatvUwCAfuZo4Gbvbr2qhtYLDZfbmBfNw76BnhiC/smartsteem_banner.gif)
@djimirji up!
💡 @dillagr get upvote on 85% (VotingPower 8709.57).
Post can fall into a two-day rating and get a reward.
Rules for calling bot:
How Cool!
You got a 2.56% upvote from @coolbot courtesy of @dillagr!
Help us grow, delegate today!
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by dillagr from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.
Excellent continuation of your series, it must be reassuring getting all those notifications and knowing everything is running smoothly.
#thealliance #witness
thanks for your appreciation of the posts, @c0ff33a.. did you start a masternode yourself? which coin?
I have enjoyed your own posts on the subject, at present all I have done is build a Witness server for Steemit and now I have a secondary server to run the Conductor Witness tools. The secondary server has plenty of free capacity so I might try one of your guides now I have it running.
cool! if you got questions about staking or masternodes, feel free to let me know (but i'm sure you got it covered).