Bitcoin Forum
December 10, 2016, 06:53:00 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 137432 times)
d8ncer
Member
**
Offline Offline

Activity: 69


View Profile
April 03, 2014, 10:19:44 PM
 #401

Does anybody have astep by step guide. Ones i have tried doesnt seem to work.

Install software, etc and try and run cmnd lines but just syntax errors and other problems.

Is there a bulletproof idiot guide at all.

Thanks.
1481395980
Hero Member
*
Offline Offline

Posts: 1481395980

View Profile Personal Message (Offline)

Ignore
1481395980
Reply with quote  #2

1481395980
Report to moderator
1481395980
Hero Member
*
Offline Offline

Posts: 1481395980

View Profile Personal Message (Offline)

Ignore
1481395980
Reply with quote  #2

1481395980
Report to moderator
1481395980
Hero Member
*
Offline Offline

Posts: 1481395980

View Profile Personal Message (Offline)

Ignore
1481395980
Reply with quote  #2

1481395980
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
tugvarish
Jr. Member
*
Offline Offline

Activity: 30


View Profile
April 03, 2014, 11:35:48 PM
 #402

Does anybody have astep by step guide. Ones i have tried doesnt seem to work.

Install software, etc and try and run cmnd lines but just syntax errors and other problems.

Is there a bulletproof idiot guide at all.

Thanks.
If you want generics on useage there is this:
http://www.devtome.com/doku.php?id=pywallet

also at the bottom of the first post of this very thread:
https://bitcointalk.org/index.php?topic=34028.msg424586#msg424586

for specific case needs there is the amazing Google search.

and if you have a specific problem you may able to get better help, if you actually post specifics of your problem, like:

  • What syntax error?
  • Doing what?
  • Trying to do what?
  • Steps?

Moreover, I am sure that you are more then welcome, by the author and the community at large, to ultimately write or paste a guide of your liking and satisfaction.

And anyway even about that I do not understand what you are looking for... again... step by step guide for what?... bulletproof guide for what?... usage, installation, integration... your post is so vague that this is probably the only reply you will receive until you explain yourself more clearly and detailed.
Dedox89
Newbie
*
Offline Offline

Activity: 7


View Profile
April 17, 2014, 12:50:28 AM
 #403

hello.. im stuck in recovering a dogecoin wallet!

i write /home/myname/Desktop/pywallet.py --datadir=/home/myname/Desktop/ --wallet=wallet.dat --dumpwallet

(both files are in desktop folder)

but i get a error message ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

i havent any bitcoin or derivates running. someone can help in telling me if im or the file is too much damaged?

i damaged my windows partition and this is a file recovered by a file recovery software. the wallet says is corrupted
bumblebee33
Full Member
***
Offline Offline

Activity: 168


View Profile
May 01, 2014, 06:28:10 PM
 #404

You should do a --recover of your damaged partition. I also accidentally formatted my only backup with wallets. Once the wallets are recovered with recover software like Recuva,... they seem to get damaged in some way. I am still not finished recovering them completely, but --recover is the first step.

What I used is:

pywallet.py --recover --recov_size 931Gio --recov_device f: --recov_outputdir d:\recovered


It will ask you then to put in a new password (for the finished encrypted wallet.dat). That is where I found a bug. Whatever password I chose, at the end I am able to get my coins to show up, but I cannot send them because the password I chose when starting the --recover does not get accepted. First I thought I misspelled something and started the whole process again. Each time it takes about 6 hours... But even when I was absolutely correct with my password, it still would not accept the password at the specific wallet for decryption.

Is there another step I can do?

I also tried the --dumpwallet command with the recovered wallet, but I am not able to find the correct address that was used on the wallet I am trying to recover.

pywallet.py --dumpwallet --datadir d:\recovered --wallet wallet.dat --otherversion=34 > dump.txt

(I have tried otherversions 34 - 37)


That lists all key pairs, but none of them is the correct one I am looking for. What am I doing wrong? Obviously the right keys must be in the recovered wallet, as I am able to see the correct balance once I am doing the -rescan command. But when I am specifically looking for the address and it's private key, I am unsuccessful.


Can somebody point me to the right path?
madmartyk
Legendary
*
Offline Offline

Activity: 1050


Yes I am a pirate, 300 years too late!


View Profile
May 01, 2014, 06:29:41 PM
 #405

Have you tried importing the private keys back into a blank wallet?  That has worked 95% of the time I have done it.
Okilo
Jr. Member
*
Offline Offline

Activity: 37


View Profile
May 02, 2014, 05:20:04 PM
 #406

Hey, I dropped my laptop which caused the hard drive to be unpartitioned. It spent a week scanning and I was able to recover several wallet.dat files, but when I load them into the correct folder, it tells me "wallet.dat corrupt, salvage failed." Running with -rescan or -salvagewallet returns the same error.

It's very important to note that I also recovered some files called wallet.h, wallet_tests.cpp, walletdb.cpp, walletmodel.cpp, walletview.cpp, walletframe.h, and walletstack.h. It's almost as if the recovery split some C functions off of wither the qt program or wallet.dat itself. I'm not sure.

I'm getting an "Error in dump page" error when I try to dump the contents of my wallet. Bitcoin is not open. Here is the log. Can anyone help? I will tip. Thanks:

C:\>cd Python27

C:\Python27>pywallet.py --web
WARNING:root:pycrypto or libssl not found, decryption may be slow
'ecdsa' package is not installed, pywallet won't be able to sign/verify messages

2014-05-02 13:09:52-0400 [-] Log opened.
2014-05-02 13:09:52-0400 [-] Starting server: 2014-05-02 13:09:52.214000
2014-05-02 13:09:52-0400 [-] Site starting on 8989
2014-05-02 13:09:52-0400 [-] Starting factory <twisted.web.server.Site instance
at 0x026C83C8>
2014-05-02 13:09:55-0400 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [02/May/2014:17
:09:54 +0000] "GET / HTTP/1.1" 200 231720 "-" "Mozilla/5.0 (Windows NT 6.1; WOW6
4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
2014-05-02 13:09:55-0400 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [02/May/2014:17
:09:55 +0000] "GET /favicon.ico HTTP/1.1" 200 14 "-" "Mozilla/5.0 (Windows NT 6.
1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537
.36"
2014-05-02 13:10:00-0400 [HTTPChannel,0,127.0.0.1] Wallet Dir: C:\Users\BlahBlah\AppData\Roaming\Bitcoin
2014-05-02 13:10:00-0400 [HTTPChannel,0,127.0.0.1] Wallet Name: wallet.dat
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this
again.
2014-05-02 13:10:00-0400 [HTTPChannel,0,127.0.0.1] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python27\lib\site-packages\twisted\web\http.py", line 826, in
 requestReceived
            self.process()
          File "C:\Python27\lib\site-packages\twisted\web\server.py", line 189,
in process
            self.render(resrc)
          File "C:\Python27\lib\site-packages\twisted\web\server.py", line 238,
in render
            body = resrc.render(self)
          File "C:\Python27\lib\site-packages\twisted\web\resource.py", line 250
, in render
            return m(request)
        --- <exception caught here> ---
          File "C:\Python27\pywallet.py", line 3664, in render_GET
            read_wallet(json_db, create_env(wdir), wname, True, True, "", bal, v
ersion)
          File "C:\Python27\pywallet.py", line 2442, in read_wallet
            db = open_wallet(db_env, walletfile, writable=FillPool)
          File "C:\Python27\pywallet.py", line 2006, in open_wallet
            sys.exit(1)
        exceptions.SystemExit: 1

2014-05-02 13:10:00-0400 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [02/May/2014:17
:09:59 +0000] "GET /DumpWallet?dir=C:\\Users\\Blah%Blah\\AppData\\Roami
ng\\Bitcoin&name=wallet.dat&bal=false&version=0 HTTP/1.1" 200 18 "http://localho
st:8989/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like G
ecko) Chrome/34.0.1847.131 Safari/537.36"

madmartyk
Legendary
*
Offline Offline

Activity: 1050


Yes I am a pirate, 300 years too late!


View Profile
May 02, 2014, 05:24:10 PM
 #407

The easist way I have found is to extract everything to a .txt file and then reimport the keys.  I can go into more detail on what to do if you like.  I have helped recover a few wallets for myself and other people.  Haven't had any issues yet.
Okilo
Jr. Member
*
Offline Offline

Activity: 37


View Profile
May 02, 2014, 05:41:19 PM
 #408

PM'd you.

fturco
Newbie
*
Offline Offline

Activity: 6


View Profile
May 15, 2014, 09:42:21 PM
 #409

In Bitcoin Qt > File > Receiving addresses I have an extra address that I never used and that I don't want to use, and since I can't remove it with the GUI I'm trying to do that with Pywallet.

This is what I tried:

  • Copied the Bitcoin address in question
  • Closed Bitcoin Qt
  • Went to Pywallet > Delete, put the address in the field Keys and selected the "Bitcoin address" option
  • Clicked "Delete"

I obtained the following message from Pywallet:

Quote
key:CENSORED has been successfully deleted from /home/fturco/.bitcoin/wallet.dat, resulting in 0 deleted item

Please notice "0 deleted item". In fact when I restart Bitcoin-Qt the address in question is still there. What can I do?
prof7bit
Hero Member
*****
Offline Offline

Activity: 672



View Profile WWW
May 17, 2014, 06:18:43 PM
 #410

question about "hexsec" and "secret"

consider this dump of an unencrypted wallet: (don't worry, I won't store bitcoins at these keys, I'm just experimenting)

Code:
   {
        "addr": "1EJP1Q1JEQdWtR5PEopCRZdE1F8dgk9Wwp",
        "compressed": false,
        "hexsec": "c703063648fd19d64de086064692dd17",
        "private": "308201130201010420c703063648fd19d64de086064692dd17bd31ef4ebc8b8caa043d1fc7347d6a23a081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a1440342000400481a16f118b4efe54b4783f857a9d45c8b5aec6cf03f7bc177ecc1d2faea443d4e94475ac9312cdfde1a30b4e953356c7e93312eabd92ddb070cdcfb981ee5",
        "pubkey": "0400481a16f118b4efe54b4783f857a9d45c8b5aec6cf03f7bc177ecc1d2faea443d4e94475ac9312cdfde1a30b4e953356c7e93312eabd92ddb070cdcfb981ee5",
        "reserve": 1,
        "sec": "5KKw55iWFRmy614626Fo6ckzS7vxNcfhZJHvvo84W3cAzwfRjVo",
        "secret": "c703063648fd19d64de086064692dd17"
    }

Why are "secret" and "hexsec" only 16 bytes?


This is the same key after loading the wallet with bitcoin 0.9 and encrypting it (and decrypting again with pywallet)

Code:
   {
        "addr": "1EJP1Q1JEQdWtR5PEopCRZdE1F8dgk9Wwp",
        "compressed": false,
        "encrypted_privkey": "cb9f081748ed5d42d010b10baa84748535e5588908e6cc70a28c44c550277ecdcaaf0d5e36cc9f919a0cf3471d2832d8",
        "hexsec": "c703063648fd19d64de086064692dd17bd31ef4ebc8b8caa043d1fc7347d6a23",
        "pubkey": "0400481a16f118b4efe54b4783f857a9d45c8b5aec6cf03f7bc177ecc1d2faea443d4e94475ac9312cdfde1a30b4e953356c7e93312eabd92ddb070cdcfb981ee5",
        "reserve": 1,
        "sec": "5KKw55iWFRmy614626Fo6ckzS7vxNcfhZJHvvo84W3cAzwfRjVo",
        "secret": "c703063648fd19d64de086064692dd17bd31ef4ebc8b8caa043d1fc7347d6a23"
    }

It almost looks like the first version was just cut off in the middle.

Another question: Is there any documentation about the various elements of the json that is produced with pywallet?

* For example what is the meaning of the "pool" array, its repeating all the addresses but without their keys but seems to contain additional info, what is the rationale behind structuring it that way and not just put all info about a key into one object?
* what is the empty ckey array at the beginning of the dump?

Old Bitcoins recycling and disposal: 1N7ZcHoe77JncRYAg27RVqJZbrjqUQ77WE
Blockchain.info -> Multibit converter (and much more) https://github.com/prof7bit/wallet-key-tool
x8008
Full Member
***
Offline Offline

Activity: 154


View Profile
May 19, 2014, 03:11:51 PM
 #411

Can someone please help me out, I got Ubuntu on a virtual machine installed and I got pywallet setup and it's working. I got my wallet.dat file and pywallet.py wallet on the desktop of the virtual machine and nothing else, what command do I need to run in order for it to display the priv key? This wallet is from shibecoin
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
June 06, 2014, 02:20:59 PM
 #412

Hello Jack Jack! This Pywallet is great. I really like it. Thanks for making it.
Kindly,
       Muhammed Zakhir

jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
June 19, 2014, 07:32:54 AM
 #413

Hi everybody
Even though I think most posts are now moot I'll answer them ASAP. It may help other people later.

For people noticing bugs: I still have a new version about to be released (2 weeks? 2 months? I don't know)
Also you'll be able to fill out bug reports soon.

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.
riclas
Full Member
***
Offline Offline

Activity: 130


View Profile
July 02, 2014, 05:14:44 PM
 #414

Hi, i'm having trouble importing my backup keys to my main wallet. I get the following output: http://pastebin.com/ii6SfsWr

Can someone help me please?

Buy and sell bitcoins through Portuguese or SEPA bank transfer and MBWAY: https://localbitcoins.com/accounts/profile/riclas/?ch=4mm6
frank123m
Hero Member
*****
Offline Offline

Activity: 644

*** NULL ***


View Profile WWW
July 16, 2014, 05:50:56 AM
 #415

Hello.

I got a wallet that cannot dump by pywallet.

test wallet(a SHACoin wallet):

https://mega.co.nz/#!tQQiARBA!fvXQ2J0p97LRu1KpVZd9UKTMQYsWSXTq96PA_Z_TCX0

error message:

Code:
Traceback (most recent call last):
  File "./pywallet.py", line 2061, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "./pywallet.py", line 2028, in parse_TxIn
    d['prevout_n'] = vds.read_uint32()
  File "./pywallet.py", line 1944, in read_uint32
    def read_uint32(self): return self._read_num('<I')
  File "./pywallet.py", line 1983, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes
test@ubuntu:~/pywallet$

please help, thx.

Endless Crypto
Donate(BTC):19EXYYVkgkL35XfN3BkB1qMPd2dctBE9ok
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
July 16, 2014, 10:53:11 AM
 #416

Hi, i'm having trouble importing my backup keys to my main wallet. I get the following output: http://pastebin.com/ii6SfsWr

Can someone help me please?

Why don't you import using below command which is used commonly instead of using pywallet? Smiley
Code:
importprivkey bitcoinaddressprivatekey
You can only import 1 key at a time. Smiley

kindly,
        MZ

madmartyk
Legendary
*
Offline Offline

Activity: 1050


Yes I am a pirate, 300 years too late!


View Profile
July 16, 2014, 10:59:26 AM
 #417

Hello.

I got a wallet that cannot dump by pywallet.

test wallet(a SHACoin wallet):

https://mega.co.nz/#!tQQiARBA!fvXQ2J0p97LRu1KpVZd9UKTMQYsWSXTq96PA_Z_TCX0

error message:

Code:
Traceback (most recent call last):
  File "./pywallet.py", line 2061, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "./pywallet.py", line 2028, in parse_TxIn
    d['prevout_n'] = vds.read_uint32()
  File "./pywallet.py", line 1944, in read_uint32
    def read_uint32(self): return self._read_num('<I')
  File "./pywallet.py", line 1983, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes
test@ubuntu:~/pywallet$

please help, thx.

Found 141 possible unencrypted keys
Keys are extracting now.
riclas
Full Member
***
Offline Offline

Activity: 130


View Profile
July 16, 2014, 11:03:29 AM
 #418

Hi, i'm having trouble importing my backup keys to my main wallet. I get the following output: http://pastebin.com/ii6SfsWr

Can someone help me please?

Why don't you import using below command which is used commonly instead of using pywallet? Smiley
Code:
importprivkey bitcoinaddressprivatekey
You can only import 1 key at a time. Smiley

kindly,
        MZ

Because I did the backup with pywallet, so I assumed it would be easy to import it back with pywallet :\

I want to get my labels back too, all the info that is on the backup.

Buy and sell bitcoins through Portuguese or SEPA bank transfer and MBWAY: https://localbitcoins.com/accounts/profile/riclas/?ch=4mm6
frank123m
Hero Member
*****
Offline Offline

Activity: 644

*** NULL ***


View Profile WWW
July 16, 2014, 11:52:41 AM
 #419

Hello.

I got a wallet that cannot dump by pywallet.

test wallet(a SHACoin wallet):

https://mega.co.nz/#!tQQiARBA!fvXQ2J0p97LRu1KpVZd9UKTMQYsWSXTq96PA_Z_TCX0

error message:

Code:
Traceback (most recent call last):
  File "./pywallet.py", line 2061, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "./pywallet.py", line 2028, in parse_TxIn
    d['prevout_n'] = vds.read_uint32()
  File "./pywallet.py", line 1944, in read_uint32
    def read_uint32(self): return self._read_num('<I')
  File "./pywallet.py", line 1983, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes
test@ubuntu:~/pywallet$

please help, thx.

Found 141 possible unencrypted keys
Keys are extracting now.

sounds good. so your pywallet works? or you use other method?
i can use it dump btc wallet and find keys, but shacoin cannot. it stopped with those errors.
can you show me how to find those keys with a shacoin wallet? thx.

Endless Crypto
Donate(BTC):19EXYYVkgkL35XfN3BkB1qMPd2dctBE9ok
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
August 28, 2014, 07:56:28 AM
 #420

Hi, i'm having trouble importing my backup keys to my main wallet. I get the following output: http://pastebin.com/ii6SfsWr

Can someone help me please?

Why don't you import using below command which is used commonly instead of using pywallet? Smiley
Code:
importprivkey bitcoinaddressprivatekey
You can only import 1 key at a time. Smiley

kindly,
        MZ

Because I did the backup with pywallet, so I assumed it would be easy to import it back with pywallet :\

I want to get my labels back too, all the info that is on the backup.
Pastebin seems down so I can't see your error messages but I know what you want is possible
I'll look at that as soon as pastebin is up again


Ok Pastebin works again.
It looks like your put the data in the "import transaction" form. Either you made a mistake or there's a big bug in pywallet.

I see that your file is "keys.json" but the key export format of Pywallet is not json so maybe you didn't use the correct method.
You must export your keys with the "Dump your keys" form. That will make a file full of "1privkey;label".
Then you just have to import this file with the "Import keys" form.

If I'm right and that your keys are in json format (probably from a wallet dump), just send me a small part of it with all the private keys modified (deleted/emptied/whatever). I'll make you a script to transform keys.json into a usable 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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!