Author

Topic: How to generate qr codes for address and private keys? (Read 9831 times)

sr. member
Activity: 406
Merit: 251
http://altoidnerd.com
Using the new bitcoin-core binaries in linux (be sure you have qrencode installed):

Code:
addr=$(./bitcoin-cli getnewaddress) && ./bitcoin-cli dumpprivkey $addr| qrencode -o ~/Desktop/$addr.privkey.png && echo "private key dumped for: "$addr

See http://altoidnerd.com/2015/09/06/how-import-a-bitcoind-address-private-key-into-breadwallet-ios-with-a-qr-code-using-bitcoin-core-for-ubuntu-linux/

Keep in mind the above snippet generated a new address.  You can use and address you have in mind e.g. "address":

Code:
addr="address" && ./bitcoin-cli dumpprivkey $addr| qrencode -o ~/Desktop/$addr.privkey.png && echo "private key dumped for: "$addr

Or if you have the private key as a string = "privkey":

Code:
key="privkey"; echo $key | qrencode -o ~/Desktop/mykey.png && echo "private key qr mykey.png created for $key

hero member
Activity: 518
Merit: 500
You can use bitaddress.org, the "wallet details" tab lets you input a private key and it will generate a QR code.

Of course, to ensure more security, you can save the website to disk and disconnect the machine from the internet (or better yet, copy the saved page to an offline machine) before you input your private key.

I already have a vanity address and a priv key, so I would like to convert that.

Yes, you can do that with bitaddress.org. It does more than generate keys. Open the page, go to the "Wallet details" tab, input your private key and it will make the QR codes.

I second that. Bitaddress.org is excellent and easy to use.
legendary
Activity: 1008
Merit: 1005
You can use bitaddress.org, the "wallet details" tab lets you input a private key and it will generate a QR code.

Of course, to ensure more security, you can save the website to disk and disconnect the machine from the internet (or better yet, copy the saved page to an offline machine) before you input your private key.

I already have a vanity address and a priv key, so I would like to convert that.

Yes, you can do that with bitaddress.org. It does more than generate keys. Open the page, go to the "Wallet details" tab, input your private key and it will make the QR codes.

Thank you!
hero member
Activity: 728
Merit: 500
You can use bitaddress.org, the "wallet details" tab lets you input a private key and it will generate a QR code.

Of course, to ensure more security, you can save the website to disk and disconnect the machine from the internet (or better yet, copy the saved page to an offline machine) before you input your private key.

I already have a vanity address and a priv key, so I would like to convert that.

Yes, you can do that with bitaddress.org. It does more than generate keys. Open the page, go to the "Wallet details" tab, input your private key and it will make the QR codes.
legendary
Activity: 1008
Merit: 1005
You can use bitaddress.org, the "wallet details" tab lets you input a private key and it will generate a QR code.

Of course, to ensure more security, you can save the website to disk and disconnect the machine from the internet (or better yet, copy the saved page to an offline machine) before you input your private key.

I already have a vanity address and a priv key, so I would like to convert that.
member
Activity: 99
Merit: 10
brainwallet.org will do that among other things.
hero member
Activity: 728
Merit: 500
You can use bitaddress.org, the "wallet details" tab lets you input a private key and it will generate a QR code.

Of course, to ensure more security, you can save the website to disk and disconnect the machine from the internet (or better yet, copy the saved page to an offline machine) before you input your private key.
legendary
Activity: 1008
Merit: 1005
Is there a service which can convert plaintext addresses and private keys into qr codes?

Thanks


I found this: https://github.com/casascius/Bitcoin-Address-Utility

Is there an already compiled version?  I don't want to install the deps.
legendary
Activity: 1008
Merit: 1005
Is there a service which can convert plaintext addresses and private keys into qr codes?

Thanks
Jump to: