speedster0000
Posts: 3
Joined: Tue Dec 26, 2017 6:03 pm

Importing a private key from a paper wallet

Tue Dec 26, 2017 6:10 pm

So I finally managed to import a private key on the Bitcoin.com wallet by using the scan option on the bottom menu directly.
The thing is that paper wallet generators like cashaddress.org put a prefix in the QR code. cashaddress uses Bitcoincash:KxyvyQ etc..
That's not very handy, I basically need to strip the prefix and create a new QR Code.

I know a lot of people using paper wallets for storage.
Is there a way for the wallet to deal with this?

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Importing a private key from a paper wallet

Tue Dec 26, 2017 6:34 pm

So I finally managed to import a private key on the Bitcoin.com wallet by using the scan option on the bottom menu directly.
The thing is that paper wallet generators like cashaddress.org put a prefix in the QR code. cashaddress uses Bitcoincash:KxyvyQ etc..
That's not very handy, I basically need to strip the prefix and create a new QR Code.

I know a lot of people using paper wallets for storage.
Is there a way for the wallet to deal with this?
That site, and others like it, appear to generate WIF Compressed 52 characters base58 private key. These private keys start with K or L (or 5 if not compressed).

There shouldn't be a problem with sweeping. See: "Base58 Wallet Import format" at https://en.bitcoin.it/wiki/Private_key

Are you not able to sweep the BTC (or BCH) into your Bitcoin.com wallet?

If you want to convert your private key to uncompressed, or hexadecimal format (64 characters [0-9A-F]), or base64 (44 characters) you may do so by downloading the zip at: https://www.bitaddress.org/ and then running it offline (the safest way would be on a machine that has never been online). Or you can do it at the site itself although less secure and you should sweep asap after that. Click on Wallet Details and paste in your private key and then click view details.
Image

speedster0000
Posts: 3
Joined: Tue Dec 26, 2017 6:03 pm

Re: Importing a private key from a paper wallet

Tue Dec 26, 2017 6:56 pm

The problem is not with starting with a K or L but with the fact that the QR code puts the name of coin in front of the privatekey, like this
Bitcoincash:KxyvyQetc.... The scanner of the wallet does not strip it and hence gives an error

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Importing a private key from a paper wallet

Tue Dec 26, 2017 7:25 pm

The problem is not with starting with a K or L but with the fact that the QR code puts the name of coin in front of the privatekey, like this
Bitcoincash:KxyvyQetc.... The scanner of the wallet does not strip it and hence gives an error
I was just looking at cashaddress.org

You're right, a QR code generated with the code at that site puts "Bitcoincash:"in front off the private key.

Well, I will discuss this with others. I don't really know if this is something that the Bitcoin.com wallet would need to accommodate or if sites like cashaddress.org need to stop adding the "Bitcoincash:" in front of the key.

In any event, if you need access to your BCH asap I suggest creating your own QR code (with your private key) with the example provided in my previous post. The new QR code wont include the "Bitcoin Cash:" in front of the key and you should be able to sweep into your Bitcoin.com wallet.
Image

speedster0000
Posts: 3
Joined: Tue Dec 26, 2017 6:03 pm

Re: Importing a private key from a paper wallet

Tue Dec 26, 2017 7:32 pm

Thanks for your answer.
I am tech savy enough to do a workaround but I do a lot of explanation sessions with people who want to get their feet wet with crypto.
I always create paper wallets wirh them because it gives good feeling for the basics and people usually dont want to invest in HW wallets first.
Not being able to retrieve the funds easily is a big turnoff.

Anyway, I think stripping a prefix should be a small fix, a regex is built quickly ;-)

Regards!

Return to “Wallets”

Who is online

Users browsing this forum: No registered users and 1 guest