Generate QR codes in your terminal.

in #gridcoin7 years ago (edited)

Selection_001.png
I found it very useful to generate QR code for my gridcoin wallet staking on my raspberry pi to send some money there from my mobile wallet.
I didn't wanted to manually type the address to avoid mistakes and I was too lazy to copy it via ssh or send it via email to myself.
I just wondering if it might be helpful to anyone so I decided to share it.
Solution turned to be very easy. Easy as the following few lines:

  • Login to your raspberry PI
  • Install qrencoder:
$ sudo apt-get update && sudo apt-get install qrencode -y
  • Get your address. I use gridcoin wallet, but it is valid for almost any headless daemon. As most of them just bitcoin forks the terminal command are very similar.
    For gridcoins you can use
$ gridcoinresearchd listaddressgroupings

Or request transactions list and get it from here

$ gridcoinresearchd listtransactions
  • Generate QR code:
$ qrencode -t UTF8 YOUR_ADDRESS_IS_HERE

As a result you will get very nice and neat QR code which will be possible to scan and use (as at the screenshot above).

Good luck!

Sort:  

Congratulations @gridcat! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @gridcat! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Thank you very useful post. there is a very good android app for scan and generate check this : http://bit.ly/2KPScwQ