<p><strong>Addendum:</strong> It looks like the <a href="https://bitcointalk.org/index.php?topic=306389.msg3294069#msg3294069" rel="nofollow noreferrer">coins have been found</a>; just quoting the relevant solution from the external thread so we have a complete answer on record. Long story short, the problem was as we suspected: the paper wallet did not contain all of the change addresses from the 5btc of transactions that had occured since tge import. Simple fix: </p>

<blockquote>
  <p>I started the client with <code>/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -salvagewallet</code>. It's still syncing with the network, but it looks promising as it's now showing a +4.9315 balance!</p>
</blockquote>

<hr>

<p>Ok, I'm beginning to piece together what happened now. </p>

<ol>
<li><p>At least according to your blockchain links, you initially received 10 BTC via 3 transactions, at the 1Fr3p address then spent 5 on 17 april. So that particular address only had 5 remaining at the time of the import to coinbase. </p></li>
<li><p>When you import rather than send, the coins will still show in both wallets;  if you send them from the old one after that this will not update in the new wallet because of <a href="https://en.bitcoin.it/wiki/Change" rel="nofollow noreferrer">change addresses</a>.  Importing != spending. </p></li>
<li><p>You will additionally need to import the change addresses that have been created since using bitcoin-qt to coinbase for everything to sync correctly.  Check out <a href="https://bitcointalk.org/index.php?topic=260621.0" rel="nofollow noreferrer">this thread</a>.  </p></li>
<li><p>As far as fixing the crazy transaction, I'm not sure what to do there.  Hopefully when you finish importing everything it will manage to work itself out in the client?  Don't send anything else from the old wallet again--once you can use  the coins  available in the coinbase wallet, send from there only. </p></li>
<li><p>If you want to use qt client again, create a new wallet for all transactions moving forward. </p></li>
</ol>

<p><strong>update</strong>
What do you know about these transactions from <a href="https://blockchain.info/address/1Fr3pfbm41pDtqSiPeh2UYeX2mvZXq15bi" rel="nofollow noreferrer">your link in the comments</a>?  Your client is only showing the -.01 portion of those tx but the remainder seems to be what's missing...</p>

<p><img src="https://i.sstatic.net/b3ZOd.jpg" width="320" height="346" alt="screenshot from blockchain.info" title="screenshot from blockchain.info"></p>

CC BY-SA 3.0
2013-10-01T09:26:23.863Z
I was able to successfully remove the crazy tx from wallet.dat using pywallet and then rescanned with Bitcoin-Qt, but for some reason Bitcoin-Qt is still showing the balance as zero. This doesn't make sense to me, because after the removal, transactions should add up to a +4.9315 balance (http://i.imgur.com/XMPKwbE.png).
randomguy
CC BY-SA 3.0
2013-10-01T13:34:28.413Z
@randomguy see update
Neil Neyman
CC BY-SA 3.0
2013-10-02T15:13:07.567Z
Ah, that's weird. Indeed, I wonder why Bitcoin-Qt is saying the amount as 0.01. I haven't been able to figure out what those two transactions were. I'll continue investigating further. Here's the further details I got for the transactions from the client http://i.imgur.com/vlVz7BJ.png and http://i.imgur.com/DuVRTdS.png
randomguy
CC BY-SA 3.0
2013-10-02T15:32:06.970Z
I checked my mtgox, bitstamp and btce balances and they are all empty. Those two transactions lead to https://blockchain.info/address/1VtaJTXABVbrZKxFYPXUg3iGMS5mxBXxB and https://blockchain.info/address/1KASMYinhnBUmk64RhZPJEFicfHqfNXBrS, and those addresses still have the balance.
randomguy
CC BY-SA 3.0
2013-10-02T15:35:21.547Z
Could it be that those transactions were made to a new address I created within the client? The -0.01 would make sense in that case, since it would be the net total with the fees after the "internal" transactions.
randomguy
CC BY-SA 3.0
2013-10-03T00:25:34.937Z
Hey, I'm continuing the investigation here https://bitcointalk.org/index.php?topic=306389 (there is a 0.5BTC bounty!). I'd love for you to chime in! Thank you tons for the help so far. You are spot on about those remainders (the -0.01 parts went to two gambling sites I was trying out).
randomguy
CC BY-SA 3.0
2013-09-30T21:15:14.207Z
2013-10-09T04:55:12.837Z
2013-10-09T04:55:12.837Z
Neil Neyman
<p>I had the idea to move all of my existing bitcoins (10 BTC) from Bitcoin-Qt/paper wallet to Coinbase.</p>

<p>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.</p>

<p>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.</p>

<p>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.</p>

<p>Here's the Coinbase address <a href="https://blockchain.info/address/1GeQeHnJEnKfcfWonGCrj52kChyXqib5sC" rel="nofollow noreferrer">https://blockchain.info/address/1GeQeHnJEnKfcfWonGCrj52kChyXqib5sC</a>, and you can see the that the 5 BTC import from the paper wallet went through.</p>

<p>What's the solution here?</p>

<p>Here's how Bitcoin-Qt's transaction history looks like:
<img src="https://i.sstatic.net/fuwrU.png" alt="enter image description here"></p>

CC BY-SA 3.0
2013-09-29T15:38:00.330Z
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
CC BY-SA 3.0
2013-09-29T15:46:26.467Z
@PieterWuille: Correct, I have done transactions after the import. I've added the complete transaction history to the question. I'm still confused.
randomguy
CC BY-SA 3.0
2013-09-29T22:06:37.607Z
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
CC BY-SA 3.0
2013-09-29T22:37:20.990Z
@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
CC BY-SA 3.0
2013-09-29T23:40:49.737Z
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
CC BY-SA 3.0
2013-09-29T23:45:13.003Z
Also is your qt client completely synced?
Neil Neyman
CC BY-SA 3.0
2013-09-30T00:13:13.880Z
@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
CC BY-SA 3.0
2013-09-30T11:58:50.870Z
A 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
CC BY-SA 3.0
2013-09-30T15:15:51.893Z
@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
<transactions><bitcoin-core><doublespend><coinbase.com><paper-wallet>
Sending from Bitcoin-Qt to Coinbase
randomguy
# Sending from Bitcoin-Qt to Coinbase

(Asked by: username_0 on 2013-09-29)

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:
![enter image description here](https://i.sstatic.net/fuwrU.png)

**Tags:** transactions, bitcoin-core, doublespend, coinbase.com, paper-wallet

> **Comments:**
> **username_1**: 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.  
> **username_0**: @username_1: Correct, I have done transactions after the import. I've added the complete transaction history to the question. I'm still confused.  
> **username_1**: 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.  
> **username_0**: @username_1: 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?  
> **username_2**: 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?  
> **username_2**: Also is your qt client completely synced?  
> **username_0**: @username_2: 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.  
> **username_1**: A 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.  
> **username_0**: @username_1: 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?  

---

## 1 answers

### Answer by username_2 on 2013-09-30. Score: 1 | Accepted answer

**Addendum:** It looks like the [coins have been found](https://bitcointalk.org/index.php?topic=306389.msg3294069#msg3294069); just quoting the relevant solution from the external thread so we have a complete answer on record. Long story short, the problem was as we suspected: the paper wallet did not contain all of the change addresses from the 5btc of transactions that had occured since tge import. Simple fix:

> I started the client with `/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -salvagewallet`. It's still syncing with the network, but it looks promising as it's now showing a +4.9315 balance!

---

Ok, I'm beginning to piece together what happened now.

1. At least according to your blockchain links, you initially received 10 BTC via 3 transactions, at the 1Fr3p address then spent 5 on 17 april. So that particular address only had 5 remaining at the time of the import to coinbase.
2. When you import rather than send, the coins will still show in both wallets; if you send them from the old one after that this will not update in the new wallet because of [change addresses](https://en.bitcoin.it/wiki/Change). Importing != spending.
3. You will additionally need to import the change addresses that have been created since using bitcoin-qt to coinbase for everything to sync correctly. Check out [this thread](https://bitcointalk.org/index.php?topic=260621.0).
4. As far as fixing the crazy transaction, I'm not sure what to do there. Hopefully when you finish importing everything it will manage to work itself out in the client? Don't send anything else from the old wallet again--once you can use the coins available in the coinbase wallet, send from there only.
5. If you want to use qt client again, create a new wallet for all transactions moving forward.

**update**
What do you know about these transactions from [your link in the comments](https://blockchain.info/address/1Fr3pfbm41pDtqSiPeh2UYeX2mvZXq15bi)? Your client is only showing the -.01 portion of those tx but the remainder seems to be what's missing...

![screenshot from blockchain.info](https://i.sstatic.net/b3ZOd.jpg "screenshot from blockchain.info")

> **Comments:**
> **username_0**: I was able to successfully remove the crazy tx from wallet.dat using pywallet and then rescanned with Bitcoin-Qt, but for some reason Bitcoin-Qt is still showing the balance as zero. This doesn't make sense to me, because after the removal, transactions should add up to a +4.9315 balance (http://i.imgur.com/XMPKwbE.png).  
> **username_2**: @username_0 see update  
> **username_0**: Ah, that's weird. Indeed, I wonder why Bitcoin-Qt is saying the amount as 0.01. I haven't been able to figure out what those two transactions were. I'll continue investigating further. Here's the further details I got for the transactions from the client http://i.imgur.com/vlVz7BJ.png and http://i.imgur.com/DuVRTdS.png  
> **username_0**: I checked my mtgox, bitstamp and btce balances and they are all empty. Those two transactions lead to https://blockchain.info/address/1VtaJTXABVbrZKxFYPXUg3iGMS5mxBXxB and https://blockchain.info/address/1KASMYinhnBUmk64RhZPJEFicfHqfNXBrS, and those addresses still have the balance.  
> **username_0**: Could it be that those transactions were made to a new address I created within the client? The -0.01 would make sense in that case, since it would be the net total with the fees after the "internal" transactions.  
> **username_0**: Hey, I'm continuing the investigation here https://bitcointalk.org/index.php?topic=306389 (there is a 0.5BTC bounty!). I'd love for you to chime in! Thank you tons for the help so far. You are spot on about those remainders (the -0.01 parts went to two gambling sites I was trying out).  

---

