I have a wallet with several addresses. I would like to isolate one of the addresses in its own wallet, but I don't know how to do it. I've been trying with pywallet.py, but I've been unable to do it.
Can you help me, please?
EDIT: I've made some progress:
- I dumped my wallet with
pywallet.py --dumpwallet >wallet.json
, and searched for the key I wanted to isolate, and wrote down the field namedsec
. - Then moved
wallet.dat
to another folder, and started bitcoin-qt, so it generated a new wallet. - Opened
Help -> Debug window -> console
and runimportprivkey XXXXXXXX mykeylabel
. It took about 4 minutes to import the key.
Now I still need to:
- remove this address from the old wallet.
- remove the default address in the new wallet, so it contains just the imported address.