Author Topic: Using pywallet to dump your Litecoin wallet  (Read 2957 times)

Offline weex

  • Administrator
  • Full Member
  • *****
  • Donator
  • ***
  • Posts: 276
    • LitecoinMiningCalculator.com
Using pywallet to dump your Litecoin wallet
« on: March 08, 2013, 08:20:54 AM »
Hello all,

I just wanted to let you know using pywallet to dump your Litecoin wallet is very simple. First you can get pywallet from

https://github.com/jackjack-jj/pywallet

Then make sure litecoind and litecoin-qt are not running.

You can then run

Code: [Select]
pywallet.py --dump --otherversion=48 --datadir=.litecoin/ > dump.txt
and it will dump the contents of the wallet into the dump.txt file. That way you'll be able to see the private keys and addresses that were in your wallet. The --otherversion=48 tells pywallet that you're using the version 48 addresses that Litecoin uses (that start with L).

I only tested this for dumping, not any other kind of operation so use at your own risk for the other functions. Also always make a backup of your wallet.dat file with

Code: [Select]
litecoind backupwallet /backup/destination/filename.dat
if litecoind/litecoin-qt are running or just by copying the wallet.dat file if they're not.

Pretty much all the information here is applicable to securing your Litecoin wallet.

-weex

Offline buddyltc

  • Jr. Member
  • **
  • Posts: 49
Re: Using pywallet to dump your Litecoin wallet
« Reply #1 on: November 07, 2013, 04:29:21 AM »
i did dump on console with qt it gave me the priv key.

Now trying to import the priv key again it says
20:26:26

Error adding key to wallet (code -4)


please help