Bitcoin Forum
May 01, 2024, 10:20:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Recovering Litecoin wallet  (Read 53 times)
guessHITA (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 10, 2024, 01:45:31 PM
 #1

I have my public key for a very old litecoin wallet. I also have the original wallet.dat file which i succesfully loded in electrum-ltc but its set to be view only. I dumped pywallet and also have the following information:

    "minversion": 60000,
    "mkey": {
        "encrypted_key": "***** 96 characters **** ",
        "nDerivationIterations": 97061,
        "nDerivationMethod": 0,
        "nID": 1,
        "otherParams": "",
        "salt": "*** 16 characters ****"    
},

Is there a way I can extract the private key with this information ? I believe I have the wallet password but im not sure I have a litecoin passphrase

Any help would be greatly appreciated guys. Thanks a ton  Smiley
 
1714558828
Hero Member
*
Offline Offline

Posts: 1714558828

View Profile Personal Message (Offline)

Ignore
1714558828
Reply with quote  #2

1714558828
Report to moderator
1714558828
Hero Member
*
Offline Offline

Posts: 1714558828

View Profile Personal Message (Offline)

Ignore
1714558828
Reply with quote  #2

1714558828
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714558828
Hero Member
*
Offline Offline

Posts: 1714558828

View Profile Personal Message (Offline)

Ignore
1714558828
Reply with quote  #2

1714558828
Report to moderator
Zaguru12
Hero Member
*****
Offline Offline

Activity: 672
Merit: 866



View Profile
April 10, 2024, 02:10:32 PM
 #2

What i see here is default_wallet file (electrum doesn’t have a wallet.dat file only bitcoin core does) for a watch only wallet and also a public key that which is why you are seeing view only wallet when you import them. There is no way to actually get a private key from a watch only wallet file. And also the remembering of the password wouldn’t solve issue, you need to basically find where you kept the seed phrase or brute force it if you have a clue on the words on it.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Ruttoshi
Sr. Member
****
Offline Offline

Activity: 308
Merit: 271


Baba God Noni


View Profile
April 10, 2024, 02:22:35 PM
 #3

What i see here is default_wallet file (electrum doesn’t have a wallet.dat file only bitcoin core does) for a watch only wallet and also a public key that which is why you are seeing view only wallet when you import them. There is no way to actually get a private key from a watch only wallet file. And also the remembering of the password wouldn’t solve issue, you need to basically find where you kept the seed phrase or brute force it if you have a clue on the words on it.
I don't think that OP even knows 6 words from his seed phrase, and that is why brute force will be hard for OP. He should take his time and look for where he kept the wallet seed phrase, to enable him access his wallet.

OP, since you said that you did not add passphrase to your seed phrase, knowing where your seed phrase is, is the best option.

.
Duelbits
▄▄█▄▄░░▄▄█▄▄░░▄▄█▄▄
███░░░░███░░░░███
░░░░░░░░░░░░░
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░░░░███▄█░░░
░░██▌░░███░▀░░██▌
█░██░░███░░░██
█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀
.
REGIONAL
SPONSOR
███▀██▀███▀█▀▀▀▀██▀▀▀██
██░▀░██░█░███░▀██░███▄█
█▄███▄██▄████▄████▄▄▄██
██▀ ▀███▀▀░▀██▀▀▀██████
███▄███░▄▀██████▀█▀█▀▀█
████▀▀██▄▀█████▄█▀███▄█
███▄▄▄████████▄█▄▀█████
███▀▀▀████████████▄▀███
███▄░▄█▀▀▀██████▀▀▀▄███
███████▄██▄▌████▀▀█████
▀██▄█████▄█▄▄▄██▄████▀
▀▀██████████▄▄███▀▀
▀▀▀▀█▀▀▀▀
.
EUROPEAN
BETTING
PARTNER
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2955


Block halving is coming.


View Profile WWW
April 10, 2024, 03:42:42 PM
 #4

Is there a way I can extract the private key with this information ? I believe I have the wallet password but im not sure I have a litecoin passphrase
 

If you have the wallet password then it should be your passphrase.

What command did you use in pywallet when trying to dump your private keys? If you use a command without adding a passphrase then the results are encrypted just like you posted above.

To be able to extract the private key from wallet.dat file you need to use this command below

Code:
python pywallet.py --wallet=path/to/wallet.dat --passphrase "MustBeYourPassphrase"

Change the path where your wallet.dat is saved and add the password that you know.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Husires
Legendary
*
Offline Offline

Activity: 1582
Merit: 1284



View Profile WWW
April 10, 2024, 04:15:07 PM
 #5

Your wallet is encrypted and the easiest way to get the private key in plain text is to use the --dumpwallet command with the correct password.
The output will be a text file with address, public and private keys

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
guessHITA (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 11, 2024, 12:45:59 PM
 #6

Thanks guys for your quick responses. Its not a BTC wallet its a litecoin core wallet im pretty sure. You're right I dont have the passphrase but I was hoping that with the encrypted key dumped by pywallet that I posted I would be able to brute fore the private key. So really the only question is if this:

    "minversion": 60000,
    "mkey": {
        "encrypted_key": "***** 96 characters **** ",
        "nDerivationIterations": 97061,
        "nDerivationMethod": 0,
        "nID": 1,
        "otherParams": "",
        "salt": "*** 16 characters ****"    
},

would be enough information to brute force the private key somehow. If not I would assume im sh1t out of luck. Its a small wallet with less than 20 LTC but id still rather not lose them:

python pywallet.py --wallet=path/to/wallet.dat --passphrase "MustBeYourPassphrase"  <-- dont know the passphrase so i imagine the dump will be encrypted regardless.

Thanks for any additional info guys.




Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!