ord icon indicating copy to clipboard operation
ord copied to clipboard

`ord wallet sweep <ADDRESSES>`

Open raphjaph opened this issue 2 years ago • 5 comments

Sweeps wallet but preserves the number of outputs. All outputs that contain an inscription are preserved as single outputs so they keep their postage. Cardinal utxos are combined into one output at the new address.

raphjaph avatar Dec 23 '22 12:12 raphjaph

Sweep should take as many addresses as inscriptions, to avoid linking them.

casey avatar Jan 14 '23 07:01 casey

can this be moved into the backlog or prioritized to some extent? It appears more and more users are getting borked inscriptions because of bitcoin-cli commands on the ord wallet or otherwise.

reinamora137 avatar Feb 16 '23 23:02 reinamora137

ive got a bitcoin punk locked up in one 😆. bounty?

skyrover7 avatar Feb 17 '23 05:02 skyrover7

Sweeps wallet but preserves the number of outputs. All outputs that contain an inscription are preserved as single outputs so they keep their postage. Cardinal utxos are combined into one output at the new address.

I don't see how we can preserve the number of outputs while also combining cardinal utxos.

Combining utxos tends to reduce the number of utxos in a wallet.

Is the goal of "wallet sweep" to combine all the cardinals into one utxo while leaving the inscriptions untouched? If so that sounds like a new flag on "ord send" which sends the available (cardinal) balance to a new address.

Sweep should take as many addresses as inscriptions, to avoid linking them.

Linking in the chain-analysis sense? Then they would each need to be sent in a separate transaction. Or is the concern that sending them all to the same address causes them to merge? Because it doesn't.

Perhaps the purpose of "wallet sweep" is to separate inscriptions that have been merged into the same utxo. But then I don't see why preserving the number of outputs is a goal.

In all I don't think this issue is very clear at all...

gmart7t2 avatar Mar 12 '23 17:03 gmart7t2

@raphjaph I believe this was the last issue added to the Wallet category in last weeks coding club. Should it be added to the tracker for prioritization?

cryptoni9n avatar May 14 '24 17:05 cryptoni9n