In summary...
- You have an Electrum wallet file that apparently you can't unlock
- You have a CSV file of private keys that appears to recover a tiny fraction of your BTC
- You have a seed which appears to recover some of your addresses, but doesn't show balance and/or transactions
There are several possibilities:
a. Your wallet file got corrupted
b. You typed the wrong password in when setting it (capslock, fast typing etc)
c. Your CSV backup was exported before the keys currently holding the bulk of your BTC were generated
d. You have literally hundreds (thousands) of addresses (mining? fauceting?) and when you restore, the keys holding the bulk of your BTC are out past the gap limit and Electrum is simply not generating them
e. You have the wrong seed
f. You set a BIP39 "passphrase" (ie. added "extra word" in Electrum) when creating the wallet seed
- a. and possibly b. explain why you can't unlock your original wallet file.
- As you claim you ARE seeing previous addresses when restoring from seed, I'd guess that e. & f. are not the cause of your problem.
- c. and d. seem to fit the situation you have where you are now seeing SOME of your BTC and addresses, but not all of them.
You could try getting Electrum to generate thousands of receive and change addresses from the seed that you have and see if any history and/or balance shows up... the critical part is that you
MUST see addresses/keys generated that are also shown in the CSV export for you to have any chance of success.
If the addresses/keys generated from seed DO NOT match addresses/keys in your CSV export file, then
your seed is WRONGTo try and generate a thousand "receive" and "change" addresses:
- Restore from seed
- If it isn't already enabled, enable the console ("View -> Show Console")
- Run this command:
for x in range(0, 1000): print(wallet.create_new_address(False))
- Run this command:
for x in range(0, 1000): print(wallet.create_new_address(True))
NOTE:
- These commands are for Electrum v3+, they may not work on Electrum v2
- These commands will likely take a LONG time to complete. There is also a chance that it will make Electrum run slow. Increase (or decrease) the 1000 value to generate more (or less) addresses as you wish.