Hey there,
A while back, I downloaded Bitcoin Core, did a few transactions, saved my wallet.dat, and then just forgot about it. Just found the file again, but now the blockchain download is sooooo slow. Can't keep my computer on all day and night for weeks. Plus, my computer is dragging, and I can't work as I usually do. Any ideas?
You can totally avoid that hassle.
Electrum is an SPV wallet and it won’t need the entire blockchain. It's a well-known open-source option and quite secure. Just grab it from the official site and verify your download. If you’re super cautious, create your Electrum wallet on a non-internet device to sign transactions safely.
Quick question... how can I find my master public key with only my wallet.dat file and my password? I know it's touchy, but I didn't save it back when I first started.
So, the master public key is mainly for watch-only wallets. You need to extract the private key from wallet.dat to transfer it to Electrum. Best to just sweep it into a fresh Electrum wallet for safety.
If you want the private key without full sync, make sure Bitcoin Core is installed and prune mode is off. You can change that in the settings.
Thanks again! One more thing:
My wallet has like 5-10 transactions. If I use the commands from BitMaxz, will I only get one private key? How do I manage the keys? Like, if I have all the addresses, do I create one wallet in Electrum then import each private key? Can I move all my coins in one go after that?
Yeah, the dumpprivkey command is for getting the private key for a single address. If you want all your keys, there’s another command to dump them all into a text file. Just remember to replace X with where you want to save it.
If you mess with dumpwallet at that path, you may hit an error. Try changing the path to another drive like D: or E:. C: might throw errors unless you open Bitcoin Core as admin.
I’m stuck on this too. Getting this error:
C:\Users\xxx\AppData\Roaming\Bitcoin>"C:\Program Files\Bitcoin\daemon\bitcoin-cli" dumpwallet mpscan
Error: type of wallet does not support this command.
I just set up a new wallet with Bitcoin Core yesterday and might’ve messed up the parameters. All I know is there’s a public address in this wallet with a load of bitcoin, but I can’t access it.
Yep, descriptor wallets can’t handle dumpwallet commands. Try using listdescriptors false instead. If you adjust the arg to true, you can get the master private key to derive the address's private key, but it won’t show the addresses directly.
Thanks for the tip! I run a crypto company and we tried migrating our Bitcoin Core node and made a new wallet. Shouldn’t have set it up as a descriptor wallet. We need access to the funds moved into two addresses now and I’m kinda lost tech-wise.
Yo, we should try this. In Bitcoin Core, use the command list descriptors true. This gives you the descriptor and master private key. Copy that key, then grab Electrum from their site, create a wallet, and choose to use your master key. You should see your address there.
I have my own code for wallet.dat files, but I’m not sharing it publicly. I can test it with another empty wallet created the same way. If it works, I’ll share some results here for you to check out. I don’t need passwords or anything!