# How to sweep XCP or BTC from a Blockchain.info wallet?

**URL:** <https://forums.counterparty.io/t/how-to-sweep-xcp-or-btc-from-a-blockchain-info-wallet/1215>\
**Category:** FAQ\
**Created:** [May 23, 2015, 11:11am UTC](https://forums.counterparty.io/t/how-to-sweep-xcp-or-btc-from-a-blockchain-info-wallet/1215 "2015-05-23T11:11:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [May 23, 2015, 11:11am UTC](https://forums.counterparty.io/t/how-to-sweep-xcp-or-btc-from-a-blockchain-info-wallet/1215/1 "2015-05-23T11:11:52Z")

</div>

There are several formats of private keys. For this purpose we’ll focus on two: compressed and non-compressed. Counterwallet uses the compressed WIF (begins with a letter).

## You Have a Non-Compressed Private Key (starts with `5H`, `5J`, or `5K`)

Counterwallet uses compressed private keys, so if your private key from blockchain.info begins with a numeric character, you can’t use it in Counterwallet - you first need to get it in the compressed format. See this article for details (Case 2 on the page).

> [@I burned BTC through blockchain.info, how do I access my XCP?](https://forums.counterparty.io/t/i-burned-btc-through-blockchain-info-how-do-i-access-my-xcp/1158):
>
> This problem has been getting worse - now there are 3 types of possible answers. If your wallet isn’t recovery phrase-based, you probably want the 2nd approach as your old style wallet (the 3rd approach) has been converted by blockchain.info. Case 1: Recovery-Phrase Based Blockchain.info Wallet Note: Blockchain.info’s new wallets make use of a bip39 recovery seed to generate EVERY ADDRESS and PRIVATE KEY in your Blockchain.info account. At this time it is not possible to extract only 1 address’…

Once you get a compressed private key, use the procedure below.

## You Have a Compressed Private Key (starts with `K` or `M`)

**NOTE** : blockchain.info does not provide this type of private key format, so this procedure will work only if you obtained your private key while this type of format was available. You can tell by the first character of it - if it’s a letter you got it right, if it’s a number, then it’s a non-compressed private key and you need to use the first procedure, above.

- Login to your blockchain.info wallet
- Select `Import/Export`
- Select `Export Unencrypted`
- Select `Bitcoin-Qt Format`
- Login to your Counterwallet wallet and sweep funds from your blockchain.info address
  - **Step 1** : Click on `Import Funds` \> `From Another Address`  
 ![](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/b921daec6e9c6c35a9ac918aa5c8307127145c1b.png)

- **Step 2** : Enter the private key (e.g. from Blockchain) and select Destination Address:

 ![](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/1b4b1d65e62772eb980f34253dd4b3b42c48057c.png)

1. In case of a timeout, repeat the action.
2. Your “source” address must have a minimum amount of Bitcoin (such as 0.0001 BTC per sweep) to fund the transaction
3. You can select source address assets you want to import - not everything has to be swept to a Counterwallet address.
