Pages:
Author

Topic: Pywallet 2.2: manage your wallet [Update required] - page 15. (Read 208227 times)

hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
I want to connecting pywallet into wallet.dat, then appear the message

Code:
C:\Users\adi\AppData\Roaming\Bitcoin>pywallet.py --wallet="wallet.dat"

'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
A mandatory option is missing

why  Huh

The first message about 'ecdsa' isn't the big problem, the second one about 'A mandatory option is missing' is a problem. pywallet is expecting another '--some-option' at the command line to tell it what to do.... so the question is what would you like pywallet to do?

(Also, like MZ said just above, --help gives you a list of all things it can do, one of which you need to add after --wallet="wallet.dat")
legendary
Activity: 1778
Merit: 1043
#Free market
I want to connecting pywallet into wallet.dat, then appear the message

Code:
C:\Users\adi\AppData\Roaming\Bitcoin>pywallet.py --wallet="wallet.dat"

'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
A mandatory option is missing

why  Huh

"ecdsa" package is needed to sign/verify messages. If you don't sign/verify messages, it isn't needed. IMHO using localhost is better. Try doing it. I haven't played with Pywallet for sometime now. So I don't remember commands. You can get it by running pywallet.py --help.

It is missing the ecdsa.py 'package' : https://github.com/warner/python-ecdsa  you should download it and put it in the python folder (C:\Python27\Lib).
You can find the package also here : https://pypi.python.org/pypi/ecdsa/0.13
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
I want to connecting pywallet into wallet.dat, then appear the message

Code:
C:\Users\adi\AppData\Roaming\Bitcoin>pywallet.py --wallet="wallet.dat"

'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
A mandatory option is missing

why  Huh

"ecdsa" package is needed to sign/verify messages. If you don't sign/verify messages, it isn't needed. IMHO using localhost is better. Try doing it. I haven't played with Pywallet for sometime now. So I don't remember commands. You can get it by running pywallet.py --help.
sr. member
Activity: 266
Merit: 250
I want to connecting pywallet into wallet.dat, then appear the message

Code:
C:\Users\adi\AppData\Roaming\Bitcoin>pywallet.py --wallet="wallet.dat"

'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
A mandatory option is missing

why  Huh
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
JackJack,

do you have any plans to support AES encrypted JSON wallets in future releases? I've toyed around with PYwallet and its cool!

Are you talking about Blockchain.info wallets? That's the only wallet client I can think of that uses AES encrypted JSON. Or something else?
newbie
Activity: 58
Merit: 0
JackJack,

do you have any plans to support AES encrypted JSON wallets in future releases? I've toyed around with PYwallet and its cool!
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
can this program be used with other coins?
i have a dogecoin corrupted wallet Sad
thanks

edit: yes it can, but the wallet is so corrupted that nothing can be shown  Sad
It should work if dogecoin has the same wallet format than bitcoin. If not then it won't find anything.
Try recovering a working dogecoin wallet: if pywallet doesn't find anything then I'll have to edit pywallet a bit to find dgc wallets
hero member
Activity: 560
Merit: 501
can this program be used with other coins?
i have a dogecoin corrupted wallet Sad
thanks

edit: yes it can, but the wallet is so corrupted that nothing can be shown  Sad
You might be able to recover the private keys using this tool: https://bitcointalksearch.org/topic/bitcoin-private-keywalletdat-data-recovery-tool-25091

Pass it the corrupted wallet directly:
Code:
./wallet-recover corruptedWallet.dat recoveredWallet.dat
newbie
Activity: 10
Merit: 0
Thanks i think i will look into this Smiley
hero member
Activity: 812
Merit: 1000
can this program be used with other coins?
i have a dogecoin corrupted wallet Sad
thanks

edit: yes it can, but the wallet is so corrupted that nothing can be shown  Sad
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
I managed to dump my wallet.dat to a file.
But in this file, how can I list my receiving addresses only?
This mean I don not want the pool addresses, the transaction addresses, the addresses I sent BTC to.....

Example, if I do :
grep "addr" mywalletdump.txt I get more than 100 records... and most of them DO have private keys... but I don't know what these addresses are.
What should I "grep" to find only my own bitcoin addresses ?

Try this to get the same list of addresses that's displayed in the GUI (they all have a reserved:0 in the wallet dumpfile):

Code:
python -c "import sys,json;s=open(sys.argv[1]).read();print '\n'.join(k['addr'] for k in json.loads('{'+s[s.index('keys')-1:])['keys'] if not k['reserve'])" THE_WALLET_DUMPFILE.TXT

PS : also I wonder... about all these unknown addresses with a private key... are these those "already prepared" if some day I create a new BTC receiving address in my client?

The other addresses with keys are a result of change and the key pool.
sr. member
Activity: 413
Merit: 250
Hi
Thanks for this Pywallet tool, and keeping it up to date !
I managed to dump my wallet.dat to a file.
But in this file, how can I list my receiving addresses only?
This mean I don not want the pool addresses, the transaction addresses, the addresses I sent BTC to.....

Example, if I do :
grep "addr" mywalletdump.txt I get more than 100 records... and most of them DO have private keys... but I don't know what these addresses are.
What should I "grep" to find only my own bitcoin addresses ?

Thanks !

PS : also I wonder... about all these unknown addresses with a private key... are these those "already prepared" if some day I create a new BTC receiving address in my client?
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
Thanks! that fixed it, now i can try to get my coins back.

Thanks again


Greating

Thank you very much, it worked,   (first time 0 balance, but with -rescan parameter now it is  Ok, passphare works again)

Great to hear, but don't thank me, thank jackjack! Smiley
hero member
Activity: 569
Merit: 500
i could load it into bitcoin core but i cant send any bitcoin , passphrase is incorrect ,   available balance shows that probably i did not make any new transaction ( i use the passphrase that i set at pywallet dump recovery , i cant imagine that i modifed passphrase or reencrypted my wallet with bitcoin qt after it loaded)

Earlier versions of pywallet prior to September 8th had a bug which would, under some circumstances, cause it create a recovered wallet with a password that didn't work in Bitcoin Core. It might be possible that you were affected by this bug.

I'd try this:
  1. Close Bitcoin Core, and then make a backup of all of your current wallet files (preferably onto a different drive or USB stick).
  2. Download the current version of pywallet from here (the download zip button is on the right): https://github.com/jackjack-jj/pywallet
  3. Choose a wallet.dat file that was showing the correct balance in Bitcoin Core, but whose password wasn't working, and run a pywallet recovery on it.
  4. Check if you can send a transaction, or simply sign a message, in Bitcoin Core with the recovered wallet.

Let us know if this works with one of your wallet files, or if it fails with all of them. Good luck.

Edited to add: I agree with those responding to you in the Armory thread that you probably never created an Armory wallet, and that Armory is probably unrelated to any of your Bitcoin funds (because you're able to see your balance in Bitcoin Core).

Thank you very much, it worked,   (first time 0 balance, but with -rescan parameter now it is  Ok, passphare works again)
newbie
Activity: 11
Merit: 0
Hello i have a question,
...
Now in the original wallet i used for the test i had, 0.8 coins (not BTC)
But when QT has started i don't see the 0.8coins back ?

You'll need to run bitcoin-qt with the -rescan option, e.g. close Bitcoin Core, then go to Start -> Run, and type "C:\Program Files\Bitcoin\bitcoin-qt.exe -rescan".



Thanks! that fixed it, now i can try to get my coins back.

Thanks again


Greating
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
Hello i have a question,
...
Now in the original wallet i used for the test i had, 0.8 coins (not BTC)
But when QT has started i don't see the 0.8coins back ?

You'll need to run bitcoin-qt with the -rescan option, e.g. close Bitcoin Core, then go to Start -> Run, and type "C:\Program Files\Bitcoin\bitcoin-qt.exe -rescan".
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
i could load it into bitcoin core but i cant send any bitcoin , passphrase is incorrect ,   available balance shows that probably i did not make any new transaction ( i use the passphrase that i set at pywallet dump recovery , i cant imagine that i modifed passphrase or reencrypted my wallet with bitcoin qt after it loaded)

Earlier versions of pywallet prior to September 8th had a bug which would, under some circumstances, cause it to create a recovered wallet with a password that didn't work in Bitcoin Core. It might be possible that you were affected by this bug.

I'd try this:
  1. Close Bitcoin Core, and then make a backup of all of your current wallet files (preferably onto a different drive or USB stick).
  2. Download the current version of pywallet from here (the download zip button is on the right): https://github.com/jackjack-jj/pywallet
  3. Choose a wallet.dat file that was showing the correct balance in Bitcoin Core, but whose password wasn't working, and run a pywallet recovery on it.
  4. Check if you can send a transaction, or simply sign a message, in Bitcoin Core with the recovered wallet.

Let us know if this works with one of your wallet files, or if it fails with all of them. Good luck.

Edited to add: I agree with those responding to you in the Armory thread that you probably never created an Armory wallet, and that Armory is probably unrelated to any of your Bitcoin funds (because you're able to see your balance in Bitcoin Core).
newbie
Activity: 11
Merit: 0
Hello i have a question,


i have a corrupt wallet.dat file with coins in it. and i like to get them back.
now i also have a wallet that's working very good, now for  a test i copied the wallet.dat from appdata to my C:
now i have done this:

Install Python 2.7 and download pywallet to your c:\ drive.
Copy wallet.dat file to c:\
Open a Command Prompt and type:
C:\>pywallet.py --dumpwallet --datadir c:\  --wallet=wallet.dat --recover --recov_device=c:\wallet.dat --recov_size=416Gio --recov_outputdir=F:\
It should extract all the keys to a new wallet on F:\ Copy the new wallet.dat to the c:\users\USERNAME\Appdata\Roaming\Bitcoin folder


when i have done that i have those files on my F: drive:
pywallet_partial_recovery_1413857812.dat
recovered_wallet_1413857869.dat
log.0000000001
__db.006
__db.005
__db.004
__db.003
__db.002
__db.001


then i copied all the files to my \appdata
i renamed: recovered_wallet_1413857869.dat to: wallet.dat
then restarted the QT.
Now in the original wallet i used for the test i had, 0.8 coins (not BTC)
But when QT has started i don't see the 0.8coins back ?
i did not delete the:
chainstate
blocks

from the \appdata.
do i need to delete those folders before i copyed the files to \appdata ?
or am i doing something also wrong ?
Cot the info to do this from google.


any help i appreciated


Greatings





hero member
Activity: 569
Merit: 500
I recovered my bitcoin qt (0.85,32bit) wallet.dat (999 424 bytes) with pywallet in June. (salvage error)
I used the same password/passphrase at recovery.
i installed Armory but probably not created any wallet with it (no entry in armory log and no .wallet on my computer)
I installed Bitcon Core (64 bit), probably that caused the salvage error that i copied my wallet.dat file  :  https://bitcointalk.org/index.php?topic=667168.msg7534327#msg7534327
The bitcoin core/armory/0.85 datadir changed many times , because i have no enough space on C.
Last week i opened Bitcoin (probably bitcoin Core, not the 0.85) but got an "error salvage" again, i replaced the wallet.dat (999 424 bytes, corrupt file) with another wallet.dat i have found (712 704 bytes) and the Bitcoin Core opened, but i was not able to send btc because my passphare is wrong Huh

I recovered the corrupted wallet.dat (999 424 bytes) again the same way earlier but this new wallet.dat is only 278 528 bytes  (more less than 712 704 bytes, i have found earlier, i do not understand why is 500 000 bytes difference between these 2 wallat.dat , should be about the same )  i could load it into bitcoin core but i cant send any bitcoin , passphrase is incorrect ,   available balance shows that probably i did not make any new transaction ( i use the passphrase that i set at pywallet dump recovery , i cant imagine that i modifed passphrase or reencrypted my wallet with bitcoin qt after it loaded)

I tried to recover wallet.dat (712 704 bytes) with pywallet, but the passphrase is wrong.

What is happening here?      

I am sure (99%) that i gave the same passphrase at my first recovery, and after i recoverd my wallet.dat 99% that i did not make any transaction , so probably i would not have been able to make any transaction in June too with this recovered wallet too.

1% is that i gave another passphrase than earlier, i tried at least 50 passwords, but none of them was good,  earlier i used 12 characters , which is only 6 but repeated twice
(What is the shortest lenght for passphrase?   if 12 then my (new) password is only 6 but  repeated  twice )

please give me some hint , thx

https://bitcointalksearch.org/topic/m.9263763    
here i have another 3 posts , first time i thought it was Armory but now i am not sure about it.

i found this topic to https://bitcointalksearch.org/topic/bitcoin-core-wont-take-my-passphrase-790407  Bitcoin Core won't take my passphrase
https://bitcointalksearch.org/topic/bitcoin-qt-passphrase-stopped-working-after-cloneghost-of-hard-drive-646449   Bitcoin-qt Passphrase stopped working after clone/ghost of hard drive



legendary
Activity: 1512
Merit: 1012

Just to be sure.

Pywallet need Bitcoin Core right ?


It does not, it can be used standalone.
Pages:
Jump to: