<p>I've got a wallet.dat file from Bitcoin Core and I'd like to move that into electrum because I can't open Bitcoin Core as the syncing process takes forever and eventually fails. I also read that electrum won't read wallet.dat files. Is there any other way to do this?</p>
<p>I tried to run ...</p>
<pre><code>$ bitcoin-cli dumpwallet &quot;test&quot;
</code></pre>
<p>but if I understand this correctly, I need to run bitcoind, and this fails on startup because of an error in debug.log like</p>
<pre><code>LevelDB read failure: Corruption: block checksum mismatch
Fatal LevelDB error: Corruption: block checksum mismatch
You can use -debug=leveldb to get more complete diagnostic messages
Error: Error reading from database, shutting down.
</code></pre>
<p>In sum, I can't get the private keys using bitcoin core because upon startup, I get errors like the above.</p>
<p>Thoughts?</p>

CC BY-SA 4.0
2021-03-16T00:47:55.460Z
I looked at that post which uses bitcoin-cli to dump, but I can't run bitcoind in order to run the cli and issue a dump. Am I understanding this correctly that bitcoind needs to run so that bitcoin-cli can connect to it?
Ender
<bitcoin-core><electrum><wallet.dat>
How to move wallet.dat from Bitcoin Core into Electrum?
Ender
# How to move wallet.dat from Bitcoin Core into Electrum?

(Asked by: username_0 on 2021-03-15)

I've got a wallet.dat file from Bitcoin Core and I'd like to move that into electrum because I can't open Bitcoin Core as the syncing process takes forever and eventually fails. I also read that electrum won't read wallet.dat files. Is there any other way to do this?
I tried to run ...
$ bitcoin-cli dumpwallet "test"

but if I understand this correctly, I need to run bitcoind, and this fails on startup because of an error in debug.log like
LevelDB read failure: Corruption: block checksum mismatch
Fatal LevelDB error: Corruption: block checksum mismatch
You can use -debug=leveldb to get more complete diagnostic messages
Error: Error reading from database, shutting down.

In sum, I can't get the private keys using bitcoin core because upon startup, I get errors like the above.
Thoughts?

**Tags:** bitcoin-core, electrum, wallet.dat

> **Comments:**
> **username_0**: I looked at that post which uses bitcoin-cli to dump, but I can't run bitcoind in order to run the cli and issue a dump. Am I understanding this correctly that bitcoind needs to run so that bitcoin-cli can connect to it?  

---

## 0 answers

