Using the Sweep Function

The Sweep Function is used to “sweep” all BTC and XCP assets from one address to a new one. The process will require BTC for the transaction fee as well as some XCP to complete this function.

In the past his XCP fee was a flat rate fee of 0.5, but in recent upgrades the XCP fee is more dynamic to how many Assets and Token Ownerships you are sweeping. To learn more about how to XCP fee is calculated, reference this post in the Counterparty Github.

The best advice for users is to have at least 1 XCP on the address you are looking to sweep. The XCP will be deducted and any remaining XCP will be swept to the new address.

This feature was originally implemented with this CIP by John Villar who stated:

"there's one specific case where a whole address needs to move all its assets and ownerships to another address, be it due to migration of technology, wallet compromise or [Over The Counter] selling of its contents."

You will need access to this address to do this function. You will also need access to the address you are sweeping to if you are simply trying to recover assets or move your assets to a new address you control.

It is more common for users to sweep to a new address they have ownership of due to safety concerns.

It is much less common (unless using some sort of third-party trusted escrow) to use this function to "quickly send everything you own to another address you don't have access to".

This action is entirely irreversible, make sure you verify everything a few times over before initiating this function.

To access the Sweep feature, navigate to the “Actions” tab in the upper right. The click the “Sweep Address” function.

This feature shows these options within a new pop-up window:

  • Source is the Address you will be Sweeping from.

  • Destination is the Address you will be Sweeping to. This is address that will receive all tokens and/or asset ownerships on that address.

  • Balances gives you the option to Transfer all token balances.

  • Ownerships gives you the option to Transfer all token ownerships.

  • You have the option to include a public Memo with this Sweep that can include text or data that will be publicly viewable on the Bitcoin blockchain.

  • The Fee input is the last choice you have here and it is best to review the section titles What BTC Fee should I use?

Freewallet allows both Balances and Ownerships to be sweeped or just one or the other. Just remember to have at least 1 XCP in your Source address The Destination address does not require anything to be owned on it (BTC, XCP or any other tokens included).

Freewallet will then pop up a confirmation window to confirm your address and settings you have chosen for your destination address.

Please review all of this information with extreme care and verify it is exactly correct.

Take note if you are doing this in a situation you feel your private keys or passphrase may have been comprimised, use a fee number even higher than the "High" setting that Freewallet recommends. It would not be unwise to use three to five times (or more!) the recommended High fee in this scenario.

This insures the Sweep function happens as fast as possible and is confirmed as fast as possible.

With this in mind, it may also always be a good reason to keep some XCP on addresses you hold many tokens or token ownerships to ensure you can do this process quickly if need be.

Last updated