4

A similar question was asked by me in 2014, but I did not find the answer satisfactory back then, and I hope some things changed since in the last two or so years.

I have a wallet.dat file with some bitcoins on it. I would like to move the bitcoins on the file to an offline paper wallet.

Is there a convenient way to make the transaction without connecting the computer with the wallet.dat file to the internet?

1

The problem here is that creating a transaction requires 2 things:

  1. The utxo (unspent transaction output) set of your addresses. This is basically a record of all bitcoins sent to the addresses in your wallet.dat file.
  2. The private keys to actually sign the transaction.

Generally, when you use an offline computer to store the private keys, you will be using an internet connected computer to do (1) and the offline computer to do (2).

Unfortunately, the bitcoin-qt client does not have the concept of watching-only wallets for (1) which would be required for you to create such a transaction. That said, there are some ways you can achieve this, but it's definitely not going to be easy.

Here are some options:

  1. Manually grab the utxo set for your addresses using a block explorer (like blockchain.info), then manually create a transaction spending those bitcoins to the paper wallet address, then sign the transaction on your offline computer and finally broadcast the transaction online.
  2. Download the blockchain on an online computer (about 50 gb), then transfer that over to your offline computer, then create the transaction you need on your offline computer and broadcast the transaction online.
  3. Dump the private keys of the addresses on your offline computer and create paper wallets of the private keys that have any bitcoins in them. (This can be achieved using something like bitcoinpaperwallet.com and entering your own private key)

1 is going to require some programming experience. 2 is going to take a while to download the blockchain and transfer it. 3 is probably your easiest option depending on the number of addresses you have. The nice thing about bitcoinpaperwallet.com is that you can download the source and use it on your offline computer.

0

If you use an old/unused computer and install Talis/Ubuntu on it (over USB stick after verified the SHA256 sum) and never connect it to the internet, I would count this as a "cold storage".

You could install Bitcoin-Core on that computer (over USB stick after verifying the SHA256 sum) and use it without downloading the blockchain to dump your private keys to a txt file and print it.

Dumping the wallet (private keys) is possible over the "Console" in Bitcoin-Qt or over RPC (with the bitcoin-cli command line tool). You need to call dumpwallet <filename>

Also consider using a hardware wallet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.