Bitcoin Forum

Bitcoin => Hardware wallets => Topic started by: Intrepid42 on April 08, 2019, 11:47:13 PM



Title: Safest way to go from paper wallets to Trezor
Post by: Intrepid42 on April 08, 2019, 11:47:13 PM
I have a lot of BTC I bought in 2013 and put on a paper wallet from https://bitcoinpaperwallet.com.  I'd like to move it to a Trezor, but I haven't figured out the best and safest way without handing over control to something like blockchain.info   How would you guys recommend a paranoid way to sweep a paper wallet into a Trezor?

Thanks, I've been a lurker since 2013.


Title: Re: Safest way to go from paper wallets to Trezor
Post by: mk4 on April 09, 2019, 12:55:39 AM
Probably simply sweep the paper wallet's keys onto a reputable mobile wallet like Mycelium[1], then simply send it over to your Trezor bitcoin address. I personally really prefer using a phone than using a computer. I really don't trust my Windows 10 device that much. :P


[1] https://wallet.mycelium.com/


Title: Re: Safest way to go from paper wallets to Trezor
Post by: OmegaStarScream on April 09, 2019, 09:29:29 AM
In addition to the wallet suggested above, you could use Omniwallet  (https://www.omniwallet.org)and import the private keys and send them from there to Trezor or simply scan the private key QR code using Coinomi  (https://www.coinomi.com/en/) (as a reference to Android & iOS wallet, not sure If the desktop version have that feature) as well.

Another solution would be to try to use Trezor with your Electrum wallet and see If you could use the sweep option  (https://i.imgur.com/ekSpjML.png)so they're sent directly to one of your device's addresses. I'm not sure If that would work as I have never tried it though, I only used the sweep option on Electrum alone.


Title: Re: Safest way to go from paper wallets to Trezor
Post by: HCP on April 10, 2019, 09:37:40 PM
How would you guys recommend a paranoid way to sweep a paper wallet into a Trezor?
Sadly, Trezor don't support sweeping within their wallet software :-\

So, I would recommend using Electrum in conjunction with your Trezor. You would need to do the following:

1. Download Electrum from official website: https://electrum.org/#download
2. Verify digital signature of Electrum (https://bitcoinelectrum.com/how-to-verify-your-electrum-download/)
3. "Standard Wallet -> Use a hardware device -> [select your trezor] -> then select "legacy" (1-type addresses) or "p2sh-segwit" (3-type addresses) depending on how you have configured the Trezor"
4. Once the wallet is "created", confirm that it is indeed generating the addresses you think it should (compare with the Trezor wallet)
5. Once you are satisfied you have it setup properly in Electrum, simply use the following menu option: "Wallet -> Private Keys -> Sweep"

This will allow you to enter multiple private keys... and will automatically select the first unused address from your Trezor to send the coins to. You can change that address if you wish.


Note that Electrum supports sweeping from multiple different address types, so when you enter the private keys in the "sweep" dialog, they need to be entered in the following format(s), based on the the script type of the address you are trying to sweep FROM:
"legacy" private key (1-type address) => p2pkh:KxZcY47uGp9a...
"p2sh-segwit" private key (3-type address) => p2wpkh-p2sh:KxZcY47uGp9a...
"native segwit" private key (bc1 address) => p2wpkh:KxZcY47uGp9a...

Given you did this a long time ago, I'd guess that your paper wallet is a "legacy" address starting with a "1"... so use the p2pkh:YourPaperWalletPrivateKeyGoesHere format ;)


Title: Re: Safest way to go from paper wallets to Trezor
Post by: Coiner.de on April 11, 2019, 05:52:00 AM
The paranoid way is to do it offline.

https://bitcoinelectrum.com/how-to-spend-from-an-offline-paper-wallet-using-electrum/


Title: Re: Safest way to go from paper wallets to Trezor
Post by: Intrepid42 on April 12, 2019, 01:29:46 AM
Thanks everyone, also I'm guessing I would do similar things for the Bitcoin Cash and Bitcoin SV wallets that share the same private key? (I would sweep Bitcoin first, since I care the most about that than shitty altcoins).  


Title: Re: Safest way to go from paper wallets to Trezor
Post by: HCP on April 12, 2019, 02:38:48 AM
Pretty much... Bitcoin Cash (https://electroncash.org/), Bitcoin Gold (https://bitcoingold.org/electrumg/) and Bitcoin SV (https://electrumsv.io/) all have forked versions of Electrum available... so you could probably use those forked versions in conjunction with your private keys to sweep the coins. There may or may not be others for other forks (like Bitcoin Diamond etc)

I'd check the relative values of each forkcoin with coinmarketcap.com (https://coinmarketcap.com/) and sweep in descending value order... most valuable first. That way you stand to lose the least amount of money if the one of the fork wallets turns out to be nefarious.

Currently, that would be:
Bitcoin
Bitcoin Cash
Bitcoin SV
Bitcoin Gold
Bitcoin Diamond


Title: Re: Safest way to go from paper wallets to Trezor
Post by: bassmaster on April 22, 2019, 06:06:20 PM
Since you say it is a lot of bitcoin...

Electrum is the way to go.  Not Mycelium or another mobile wallet.

Here is a very high-level overview of the steps:

Creating the sweep transaction (online)

  • Setup the hardware wallet (backup the seed, etc)
  • Record the hardware wallet address it generated.
  • Load the paper wallet address into an online version of Electrum (Keep the private key away from that computer, just the ADDRESS)
  • Create a tx spending from the paper wallet address to the hardware wallet address.
  • Save the tx as a file to a USB stick.

Signing the transaction (offline)

  • Create a secure TailsOS on a second USB stick and boot into it. (make sure to select Networking => Offline from the welcome screen)
  • Load Electrum (it is pre-installed)
  • Create a new wallet from your private key (type the whole thing)
  • Import the unsigned tx and sign it with your private key
  • Save the signed transaction as a file back to the USB stick

Broadcast the signed transaction (online)

  • Rebot back to your online system
  • Load the signed transaction into Electrum
  • Broadcast it