How To Receive Smartphone Notification When Your Wallet Receive a Transaction
I will describe here what you have to do in order to receive notification on your smartphone (Android/iOS) when your Windows wallet receive a transaction. Steps are identical for Linux.
I am using these notifications for my staking wallets.
Procedure is simple and you can use it for any coin wallet.
You will have to do following steps:
- Install PushBullet application on your smartphone from Google Play or iTunes
- Install Python on your computer
- Install Python library for PushBullet service
- Generate PushBullet API token
- Configure PushBullet to use generated API toke
- Configure wallet to send notification
Everything is free to install and use. You will have to invest only your time if you would like to have notifications in place.
I am advising you to first read whole tutorial and then proceed with installations. Don't read it for the first time and follow steps.
1. Install PushBullet application on your smartphone from Google Play or iTunes
First step is very simple. Open Google Play or iTunes and search for application PushBullet.
Google Play link (Application can be installed from the link):
https://play.google.com/store/apps/details?id=com.pushbullet.android&hl=en (Pushbullet - SMS on PC - Android Apps on Google Play)
iTunes link:
https://itunes.apple.com/app/pushbullet/id810352052?mt=8 (Pushbullet on the App Store)
2. Install Python on your computer
If you have installed Python you can skip this step.
If you don't have it installed download latest version from link:
https://www.python.org/downloads (Download Python)
In the moment of writing this tutorial latest version was 3.6.3 (https://www.python.org/ftp/python/3.6.3/python-3.6.3.exe).
After you download Python start installation. In the first step in installation dialog you will have option to check "Add Python 3.6 to PATH". It is not mandatory to select it, but I am suggesting to check it. It will be easier in later steps.
Click on Install, wait a little bit and that's it. At the end of installation you can click on "Disable path length limit".
You have installed Python!
3. Install Python library for PushBullet service
This library allows you to send push notifications to Android and iOS devices.
Open Command prompt.
One of the ways to open it in Windows 10 is by opening Start Menu and type "Command". You will get many options, click on Command Prompt.
After you open Command Prompt type:
python -m pip install pushbullet-cli
After you hit Enter Python's PushBullet library will be downloaded. Do not close Command Prompt you will need it later for next steps.
Who wants to learn more about PushBullet can check GIT repository:
https://github.com/randomchars/pushbullet.py (GitHub - randomchars/pushbullet.py: A python client for http://pushbullet.com)
4. Generate PushBullet API token
Before you start with this step be sure that PushBullet application is installed on your smartphone.
You will have to sign in on https://www.pushbullet.com (Pushbullet - Your devices working better together) and create API token. You can also use Google or Facebook Sign in.
Check first is you smartphone visible in list of devices:
https://www.pushbullet.com/#settings/devices (Pushbullet - Your devices working better together)
I was using Google for sign in and my smartphone was in the list.
After that you can create token which you will use later in configuration steps.
https://www.pushbullet.com/#settings/account (Pushbullet - Your devices working better together)
Click on button "Create Access Token"
New token will be generated. Save it somewhere locally you will need it.
5. Configure PushBullet to use generated API token
Now you have to configure PushBullet library on your computer to send notifications by using your API token.
Enter following into Command Prompt and provide token
pb set-key
After you hit Enter you will have to enter API token
This is now tricky part, you will have to type it and you will not be able to see what are you typing. But take your time, be careful and type slowly. If you make mistake, don't worry. You can easily fix it by doing it again. It is not so difficult like changing DO wallet address on forum's account!
You can send test notification and see did you do everything correct by typing:
pb push test
If you get notification you did everything right. Cool!
If you didn't try to enter API token again with command pb set-key.
6. Configure wallet to send notification
Notification setup is done. Now you have to configure wallet to send notifications.
You will have to create .bat file with these two lines
pb push "Transaction Incoming!"
exit
You can replace part of Transaction Incoming! and use any other phrase which will make your day!
You can also add link to Block Explorer and then you will receive link and you can view details of transaction. This is what I have for DeepOnion transaction.
pb push "Onions Incoming! http://onionexplorer.youngwebsolutions.com:3001/tx/%*"
exit
%* will re replaces with transaction Id. So you can use it for any block explorer.
For this tutorial I will name the file pb_push.bat and put in wallet folder.
Now you have to open wallet's conf file. I am sure that all of you know where the file is. Default Windows location is in ...\AppData\Roaming folder.
Open .conf file and add line:
walletnotify=pb_push.bat %s
After you do this you should restart your wallet so that new configuration gets loaded.
And then you will have to wait for next transaction.
If you can't wait you can go to a faucet page and test it.
I wish you lots of nice notifications! :)
Congratulations @the.vlado, you have decided to take the next big step with your first post! The Steem Network Team wishes you a great time among this awesome community.
The proven road to boost your personal success in this amazing Steem Network
Do you already know that awesome content will get great profits by following these simple steps, that have been worked out by experts?