1
1
I had the idea to move all of my existing bitcoins (10 BTC) from Bitcoin-Qt/paper wallet to Coinbase.
I had imported the paper wallet to Bitcoin-Qt and the balance there was 10 BTC total. For some reason, I then went and imported the paper wallet to Coinbase, and ~5 BTC was added.
At this point, Bitcoin-Qt still showed the balance as 10 BTC. I went ahead and made a transaction of 10 BTC from Bitcoin-Qt to my Coinbase address.
The result is that the transaction keeps having 0 confirmations, Bitcoin-Qt shows balance to be 0 BTC and the transaction never showed up in Blockchain. I have no idea where the "missing" 5 BTC are and what to do. I realize that a double spend might have occurred as 5 BTC was already imported to Coinbase from the paper wallet and I tried to send 10 BTC from the Bitcoin-QT.
Here's the Coinbase address https://blockchain.info/address/1GeQeHnJEnKfcfWonGCrj52kChyXqib5sC, and you can see the that the 5 BTC import from the paper wallet went through.
What's the solution here?
Here's how Bitcoin-Qt's transaction history looks like:


Have you done transactions using Bitcoin-Qt, after the paper wallet was created? In that case, change is sent to newly created addresses which are likely not in the paper version. – Pieter Wuille – 2013-09-29T15:38:00.330
@PieterWuille: Correct, I have done transactions after the import. I've added the complete transaction history to the question. I'm still confused. – randomguy – 2013-09-29T15:46:26.467
In that case you have lost your change, as it is sent to addresses you don't have on your paper version. You need the actual wallet.dat file. Without that, I hate to tell you that you've likely lost those 5 BTC. Paper wallets aren't actually supported by the reference client yrt for that reason. When the software adds support for deterministic wallets, this will likely change. – Pieter Wuille – 2013-09-29T22:06:37.607
@PieterWuille: Thanks for the info. I didn't quite get what you are saying, but can't I access the walled.dat via the Bitcoin-Qt? For the paper wallet, I still posess the private key. Where has the missing 5 BTC gone to? – randomguy – 2013-09-29T22:37:20.990
In the first step when you said you imported 10btc to bitcoin-qt, where were you importing from? Was this another actual import from paper or an actual transaction? – Neil Neyman – 2013-09-29T23:40:49.737
Also is your qt client completely synced? – Neil Neyman – 2013-09-29T23:45:13.003
@NeilNeyman: Hi! https://blockchain.info/address/1Fr3pfbm41pDtqSiPeh2UYeX2mvZXq15bi is the paper wallet address I initially used to buy ~10 BTC (you can see the first three transaction add up to 10 BTC). If I recall correctly, at some point I needed to access those bitcoins, installed Bitcoin-Qt and imported the paper wallet. Unfortunately, I don't remember how I made the import, whether it was a transaction or not. Yes, the client is fully synced.
– randomguy – 2013-09-30T00:13:13.880A bitcoin wallet does not consist of a single key. Addresses are how you send coins to them, but internally they are moved around to different keys, which I assume you haven't put on your paper wallet. – Pieter Wuille – 2013-09-30T11:58:50.870
@PieterWuille: Ah, right. I do have the wallet.dat saved by Bitcoin-Qt on my computer. Do you think deleting the last transaction (the 10 BTC one) using something like pywallet would solve the problem? – randomguy – 2013-09-30T15:15:51.893