WARNING. Before reading this page, users should note that messing with ECDSA private keys is very dangerous and can result in losing bitcoins, even long after the import. It is recommended that outside of self-generated vanity addresses, users should never import (or export) private keys.
How to remove private keys from wallet.dat and create “receive only” wallet? 1. How to get private key from litecoin-qt wallet? 1. Import private key on multiple computers.
Backup Wallet Your backup of your wallet will not have this key in obviously. So before you do anything else backup the wallet.dat file as normal.
Caution: Be careful while transferring private keys. Wrongful handling can cause the loss of your Litecoins. Always make a backup of your wallet.dat before importing and exporting private keys. Click on Help, open the Debug Window and switch to the Console tab.
I've tried to import the private keys to a different wallet.dat, but in all altcoins, it results in 0 balances.
Does Electrum support cold wallets? Can I import private keys from other Bitcoin clients?
They will also be vital in making Bitcoin attractive to people too afraid to store wallet.dat's on their computers or use the client. If private keys can easily be exported and imported from human-readable characters, people can have paper wallets.
...dumpwallet dump wallet in json format --importprivkey=KEY import private key from vanitygen --importhex KEY is in hexadecimal format --datadir=DATADIR wallet directory (defaults to bitcoin default) --wallet=WALLETFILE wallet filename (defaults to wallet.dat)...
# --importprivkey=KEY import private key from vanitygen.
In fact, this just happened to me after dusting off my old wallet.dat file from 2 years ago.