SwapChan
Never holds your keys ยท your wallet signs
blocktools CLI

An xpub/ypub/zpub or a bare address (watch-only)

An extended *public* key or an address can't sign anything. You can still list the addresses and check balances.

An extended public key or an address can't sign anything. You can still list the addresses and check balances.

./blocktools run 'classify /in/xpub.txt'

ypub/zpub are converted (SLIP-132) and pick their script type. Test vector: the BIP84 spec account zpub.

./blocktools run 'xpub-addresses --chain btc --change 0,1 --count 1 < /in/xpub.txt'


recipes/recover.sh /in/xpub.txt - --goal balance --count 2

Asking to sweep refuses (exit 3) and nothing is built or sent:

recipes/recover.sh /in/address.txt bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4