cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 10:30:57 PM |
|
should work and print help. Then python pywallet.py --dumpwallet --datadir=/home/jj --wallet=walletzz.dat to dump /home/jj/walletzz.dat sorry. how do i actually install pywallet? not used to navigating github.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 10:34:13 PM |
|
Oh yeah sorry wget https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py in the directory you want to put pywallet in In Github you can retrieve the raw file by clicking the 'Raw' button, top left of screen when you click on the file.
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:07:28 PM |
|
Oh yeah sorry wget https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py in the directory you want to put pywallet in In Github you can retrieve the raw file by clicking the 'Raw' button, top left of screen when you click on the file. getting this: ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this problem is i did do a bitcoind stop command.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:09:49 PM |
|
Are you sure the directory and filename are correct? Do you have the correct permissions? (maybe try sudo?) Are you sure all the bitcoind/bitcoin-qt are closed? (run fuser on it)
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:16:06 PM |
|
Are you sure the directory and filename are correct? Do you have the correct permissions? (maybe try sudo?) Are you sure all the bitcoind/bitcoin-qt are closed? (run fuser on it)
i need to clarify something before going forward. i moved a copy of the wallet.dat in question to the desktop of this pc which is the wallet that i hope to dump the keys from. will running pywallet effect any other wallet.dat on this computer?
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:27:21 PM |
|
Nope, pywallet will only deal with files you provide to it Also, dumping won't modify them
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:54:16 PM |
|
ok, i think i got it.
how do i identify the privkey?
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2013, 11:58:18 PM |
|
The private key is the "hexsec" entry If the wallet is encrypted you need to put the passphrase by adding ' --passphrase=PASSPHRASE' in the command line
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 12:03:57 AM |
|
The private key is the "hexsec" entry If the wallet is encrypted you need to put the passphrase by adding ' --passphrase=PASSPHRASE' in the command line
you mean like?: python pywallet.py --dumpwallet --datadir=/home/jj --wallet=walletzz.dat --passphrase=PASSPHRASE
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 12:05:47 AM |
|
Absolutely
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 12:06:26 AM |
|
Absolutely
how would i integrate a |less command?
|
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 12:28:40 AM |
|
unfortunately doesn't seem to have worked. i got a huge dump and i see the address in the "names" list but not anywhere else with a hexsec ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 06:41:59 PM |
|
You see it in the "name" list but not in the "key" list?? I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:06:23 PM |
|
You see it in the "name" list but not in the "key" list?? I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.
i ran pywallet just like you said in linux on the wallet in question and it only produced my vanitygen address in the "name" list w/o a hexsec but nowhere else in the key list above it.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:15:39 PM |
|
You see it in the "name" list but not in the "key" list?? I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.
i ran pywallet just like you said in linux on the wallet in question and it only produced my vanitygen address in the "name" list w/o a hexsec but nowhere else in the key list above it. Do other addresses have hexsecs? Do you see this address in the first list (even without hexsec)?
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:28:15 PM |
|
You see it in the "name" list but not in the "key" list?? I don't even know how that can happen. Except using the pywallet feature but you don't seem to used it.
i ran pywallet just like you said in linux on the wallet in question and it only produced my vanitygen address in the "name" list w/o a hexsec but nowhere else in the key list above it. Do other addresses have hexsecs? Do you see this address in the first list (even without hexsec)? yes, all the other addresses have hexsecs and no the vanitygen address is not listed there. only in the "names" list.
|
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:29:46 PM |
|
Make a wallet backup and then run Bitcoin-Qt with -salvagewallet command. If nothing happens try -rescan to check if wallet recognizes transactions associated with address in question.
can you be a little more specific about the command lines involved and from what folder? You need to run Bitcoin-Qt with commands added, e.g. bitcoin-qt.exe -salvagewallet and then eventualy bitcoin-qt.exe -rescanand on a mac and from which directory? Locate directory where bitcoin-qt.exe is, create shortcut for it and add commands listed above to it then start wallet using created shortcut. Do not forget to remove commands from shortcut after you are done. didn't work. on a mac, it's not a *.exe, it's an *.app file. and the term is alias, not shortcut.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:30:56 PM |
|
Then I'm sorry, I can't help you AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway I really don't see what happened here
If you definitely can't find it again, you should consider using pywallet's recovery feature
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:32:36 PM |
|
this is what i keep getting using -salvagewallet and -rescan on Mac itself: 13:27:42  walletpassphrase <passphrase> <timeout> Stores the wallet decryption key in memory for <timeout> seconds. (code -1)
13:27:48  dumpprivkey 1cypherEucdwyZ8Xn84M8qUscjBXnWGZA
13:27:48  Private key for address 1cypherEucdwyZ8Xn84M8qUscjBXnWGZA is not known (code -4)
|
|
|
|
cypherdoc (OP)
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 19, 2013, 08:52:04 PM |
|
Then I'm sorry, I can't help you AFAIK pywallet is the only tool that allows you to delete an address but it would have deleted the entry in "names" too anyway I really don't see what happened here
If you definitely can't find it again, you should consider using pywallet's recovery feature
remember that i used Armory's import key function which extracts the key out of Qt. it appears that it does what it says it does and this is irreversible.
|
|
|
|
|