Accessing.dat Wallet Without Syncing Blockchain

18 replies 279 views
Posts: 14 · Reputation: 69
#1Jan 5, 2019, 12:34 AM
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?
6 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#2Jan 5, 2019, 11:40 AM
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.
4 Reply Quote Share
Posts: 14 · Reputation: 69
#3Jan 5, 2019, 01:34 PM
Thanks a ton! Gonna try this tomorrow!
1 Reply Quote Share
Posts: 14 · Reputation: 69
#4Jan 5, 2019, 07:31 PM
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.
4 Reply Quote Share
whale420Senior Member
Posts: 727 · Reputation: 853
#5Jan 5, 2019, 11:04 PM
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.
4 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#6Jan 6, 2019, 02:07 AM
I don’t get why you’d have to disable prune mode to export private keys. Doesn't seem related. Shouldn’t you get access to keys regardless.
2 Reply Quote Share
Posts: 14 · Reputation: 69
#7Jan 6, 2019, 06:15 AM
So, I can’t just copy the private key from the.dat file and dump it into Electrum? After that, I’d just use Bitcoin Core like normal?
5 Reply Quote Share
Posts: 14 · Reputation: 69
#8Jan 6, 2019, 11:03 AM
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?
4 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#9Jan 6, 2019, 01:45 PM
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.
2 Reply Quote Share
whale420Senior Member
Posts: 727 · Reputation: 853
#10Jan 6, 2019, 06:17 PM
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.
4 Reply Quote Share
Posts: 14 · Reputation: 69
#11Jan 6, 2019, 11:26 PM
I’m so relieved, guys! Thanks a lot! After struggling with this for days, I finally got it!
3 Reply Quote Share
maxapeFull Member
Posts: 2 · Reputation: 672
#12Jan 7, 2019, 05:24 AM
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.
0 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#13Jan 7, 2019, 09:48 AM
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.
0 Reply Quote Share
maxapeFull Member
Posts: 2 · Reputation: 672
#14Jan 7, 2019, 03:18 PM
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.
2 Reply Quote Share
LuckyV3ctorFull Member
Posts: 1 · Reputation: 763
#15Jan 7, 2019, 09:20 PM
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.
2 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#16Jan 8, 2019, 03:38 AM
You can also check out iancoleman's BIP39 tool; just be careful and validate it. It’s open-source, so have someone from your team audit it first.
5 Reply Quote Share
gmfrensMember
Posts: 213 · Reputation: 42
#17Jan 8, 2019, 03:45 AM
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!
0 Reply Quote Share
mike.altMember
Posts: 1 · Reputation: 70
#18Jan 8, 2019, 05:51 AM
Hey, can I try your wallet.dat reader software?
2 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#19Jan 8, 2019, 11:40 AM
Why risk it with some random guy’s software? Just stick to Bitcoin Core.
1 Reply Quote Share

Related topics