<ol>
<li>Unlock your wallet</li>
<li>Run Import Command in Debug Window</li>
<li>Sweep to another key</li>
</ol>

<p><a href="https://en.bitcoin.it/wiki/Help:How_to_import_private_keys_in_Bitcoin_Core_0.7%2B" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Help:How_to_import_private_keys_in_Bitcoin_Core_0.7%2B</a></p>

<p>Tools needed: camera in your PC + qr code reader.
But of course you can find the private key value with classical mathematics ;)</p>

CC BY-SA 3.0
2017-01-16T20:58:34.490Z
2017-01-16T20:58:34.490Z
Sebastian Xawery Wiśniowiecki
<p>This isn't a feature that's supported or encouraged with Bitcoin Core.</p>

CC BY-SA 3.0
2014-05-19T16:09:47.573Z
The functionality certainly exists.
Nate Eldredge
CC BY-SA 3.0
2014-05-19T23:33:28.900Z
There is no sweep function in Bitcoin Core.
user13413
CC BY-SA 3.0
2014-05-19T23:48:34.820Z
You can certainly send your entire balance to a new address. It can't watch for future incoming transactions on that address and automatically resend them somewhere else, but that doesn't seem to be the sense of "sweep" that the OP is asking for.
Nate Eldredge
CC BY-SA 3.0
2014-05-20T01:07:39.993Z
Doing it manually is not a function of the client. I can *say* that raw transactions let me make a transaction only spendable with a hash collision, but it is not a function of the client. You can approximate a private key sweep with a transaction.. but it's not a function of the client. See what I'm saying here? Bitcoin core does not have private key sweeping capability, it's not a function of the client.
user13413
CC BY-SA 3.0
2014-05-20T01:51:32.770Z
I understood the question to be asking for the specific instructions on how to, in your words, "approximate" this feature. If I get a chance I will try to add an answer along those lines.
Nate Eldredge
CC BY-SA 3.0
2014-05-20T16:01:05.290Z
@NateEldredge yes that's what I'm looking for.  Instructions on [importing a private into Bitcoin Core already exist](https://bitcoin.stackexchange.com/questions/5941/how-do-i-import-a-private-key-into-bitcoin-qt), I'd like an augmented version with the commands that would send the private key's balance to a new address.
Brother Bitcoin
CC BY-SA 3.0
2014-05-18T13:24:42.540Z
2014-05-18T13:24:42.540Z
user13413
<p>Sweeping involves importing a private key, then sending it's entire balance to a new address in your wallet via a new transaction.  This would protect your paper wallet's bitcoins from being stolen if someone else ever had access to your paper wallet, or obtains access to your paper wallet in the future.</p>

<p>I'd love to know all the nitty-gritty steps involved with Bitcoin-Qt.</p>

<bitcoin-core><paper-wallet><import>
How do you sweep a paper wallet with Bitcoin-Qt?
Brother Bitcoin
# How do you sweep a paper wallet with Bitcoin-Qt?

(Asked by: username_0 on 2014-05-17)

Sweeping involves importing a private key, then sending it's entire balance to a new address in your wallet via a new transaction. This would protect your paper wallet's bitcoins from being stolen if someone else ever had access to your paper wallet, or obtains access to your paper wallet in the future.

I'd love to know all the nitty-gritty steps involved with username_0-Qt.

**Tags:** bitcoin-core, paper-wallet, import


---

## 2 answers

### Answer by username_1 on 2017-01-16. Score: 2

1. Unlock your wallet
2. Run Import Command in Debug Window
3. Sweep to another key

<https://en.username_0.it/wiki/Help:How_to_import_private_keys_in_Bitcoin_Core_0.7%2B>

Tools needed: camera in your PC + qr code reader.
But of course you can find the private key value with classical mathematics ;)


---

### Answer by username_2 on 2014-05-18. Score: -1

This isn't a feature that's supported or encouraged with username_0 Core.

> **Comments:**
> **username_3**: The functionality certainly exists.  
> **username_2**: There is no sweep function in username_0 Core.  
> **username_3**: You can certainly send your entire balance to a new address. It can't watch for future incoming transactions on that address and automatically resend them somewhere else, but that doesn't seem to be the sense of "sweep" that the OP is asking for.  
> **username_2**: Doing it manually is not a function of the client. I can *say* that raw transactions let me make a transaction only spendable with a hash collision, but it is not a function of the client. You can approximate a private key sweep with a transaction.. but it's not a function of the client. See what I'm saying here? username_0 core does not have private key sweeping capability, it's not a function of the client.  
> **username_3**: I understood the question to be asking for the specific instructions on how to, in your words, "approximate" this feature. If I get a chance I will try to add an answer along those lines.  
> **username_0**: @username_3 yes that's what I'm looking for.  Instructions on [importing a private into username_0 Core already exist](https://username_0.stackexchange.com/questions/5941/how-do-i-import-a-private-key-into-username_0-qt), I'd like an augmented version with the commands that would send the private key's balance to a new address.  

---

