4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Generate QR codes in your terminal.

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!

12 upvotes $1.29

Replies (3)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: