Post
Topic
Board Bitcoin Technical Support
Merits 5 from 5 users
Re: Import a wallet to bitcoin-qt
by
nc50lc
on 05/11/2019, 03:10:02 UTC
⭐ Merited by Coolcryptovator (1) ,BitCryptex (1) ,LFC_Bitcoin (1) ,ETFbitcoin (1) ,Husna QA (1)
    What I really want to do is to "import" the Canaria wallet into the Stockholm wallet and forget about the Canaria wallet
    So you mean, put all the addresses of "Canaria" to "Stockholm" wallet?

    To get the keys, you can use either use dumpwallet "filename" or dumpprivkey "address" (example/syntax) depending on the number of addresses you want to keep.

    To "import", you have a choice to just import the funds or import the addresses.
    • To import the funds (discard the addresses), you can just send all the funds to your Stockholm wallet (you don't even need to export anything but it involves a transaction).
    • If you prefer to keep all of the addresses, use importwallet "filename" (example/syntax).
    • If you prefer to keep some of the addresses, just use importprivkey "private_key";
      refer to the documentation (menu on the right side in the link above) for the syntax, but I suggest to add "false" except for the last prv key.
    .
    T;N: You won't be able to restore these imported addresses using the master private key (if you've exported it) or any old wallet.dat backups;
    so make sure to make another backup after doing these steps.