Bitcoin Forum
December 10, 2016, 03:13:13 AM *
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 137408 times)
allcrypt
Sr. Member
****
Offline Offline

Activity: 350


View Profile WWW
September 12, 2014, 02:04:32 AM
 #461

Found this thread looking for some pywallet help and figure since it's still active I may as well ask.

I'm a developer with AllCrypt.com, a crypto exchange. We've been using the internal accounting on most wallets as a secondary/backup failsafe (user hacks site, starts withdrawing coins the hacked/corrupted/overwritten database says is there, but the wallet stops the send as it knows, internally, that the user does not have enough coins). We're moving away from that as MANY altcoins have horrendous internal accounting, and larger coins like BTC and DOGE are now taking a performance hit because of the bloat. We're implementing a new system that handles the accounting in a second layer, to free that load off the wallets themselves. (Plus as a dandy little bonus, we implemented a frontend to the wallet's RPC calls, thus extending the calls, or creating new ones as need be. Pre-caching the address keypool so no waiting for an address? Hallelujah! Who else hates walletpassphrase throwing an exception just because the wallet is already unlocked? Can I get an A-men?!)

Anyway (Sorry, it's late, I'm exhausted) We were going to just export and reimport all private keys into a new wallet, but, then we lose all transaction info (we can no longer do a gettransaction to get details of an older deposit, for instance).

Is there a way, with pywallet, to export all transactions, let us clean up the list (remove all "moves" to/from internal accounts) and re-import them into a clean wallet without any accounting?

I see on the import page the ability to import a single transaction, but it wants a "Txk" and "Txv"? Key and... value? That seems like it's missing info it would need. I assume to mass import them I'd need to script it?

Just wondering if there is a simple answer before starting to mess directly with the software. Thanks all.

AllCrypt.com - Your new CryptoCurrency Exchange Now Open! www.AllCrypt.com
1481339593
Hero Member
*
Offline Offline

Posts: 1481339593

View Profile Personal Message (Offline)

Ignore
1481339593
Reply with quote  #2

1481339593
Report to moderator
1481339593
Hero Member
*
Offline Offline

Posts: 1481339593

View Profile Personal Message (Offline)

Ignore
1481339593
Reply with quote  #2

1481339593
Report to moderator
1481339593
Hero Member
*
Offline Offline

Posts: 1481339593

View Profile Personal Message (Offline)

Ignore
1481339593
Reply with quote  #2

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

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 12, 2014, 07:43:34 AM
 #462

Yes I implemented the transactions export. As you noticed the import is one tx each time.

For the time being you'll have to do it one by one. IIRC txk is \x02 + the tx id "endian-reversed". txv is indeed the value: it's the tx itself plus something I never really investigated.

I think I can easily add multi-tx import from a file. I can't give you an ETA though, 1 or 2 weeks maybe.

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.
allcrypt
Sr. Member
****
Offline Offline

Activity: 350


View Profile WWW
September 12, 2014, 01:28:08 PM
 #463

Is the import accessable through the command line? I took a closer look last night and it doesn't appear to be. Thats all I need, I can script the rest.

Anyone have any reference online on the format for all that? I'd prefer to read up and learn as opposed to spending hours breaking a wallet and learning. One is much more efficient Wink

Thanks for all your hard work by the way jack. PM me a donation address I'll throw some BTC your way. Before I started allcrypt I used pywallet to recover keys lost on a personal wallet when I had a hard drive crash, and it's an invaluable tool with our site. So many times we need to remove a 0 confirmation transaction to recover a withdrawal from a wallet that was too stupid to set it's own fee correctly. Would be nigh impossible without pywallet.

AllCrypt.com - Your new CryptoCurrency Exchange Now Open! www.AllCrypt.com
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 12, 2014, 02:02:42 PM
 #464

Is the import accessable through the command line? I took a closer look last night and it doesn't appear to be. Thats all I need, I can script the rest.
Nope
Can't you make a script sending HTTP requests? With curl or python?
I will put this in the new pywallet though (that uses command line), I'll keep you updated (less than 2 weeks I hope)

Anyone have any reference online on the format for all that? I'd prefer to read up and learn as opposed to spending hours breaking a wallet and learning. One is much more efficient Wink
Maybe there is but I don't know any

Thanks for all your hard work by the way jack. PM me a donation address I'll throw some BTC your way. Before I started allcrypt I used pywallet to recover keys lost on a personal wallet when I had a hard drive crash, and it's an invaluable tool with our site. So many times we need to remove a 0 confirmation transaction to recover a withdrawal from a wallet that was too stupid to set it's own fee correctly. Would be nigh impossible without pywallet.
I'm glad it helped you!

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.
tevayo
Hero Member
*****
Offline Offline

Activity: 548



View Profile
September 12, 2014, 04:08:10 PM
 #465

Hi jack, I finally get my coins, I did recover and the passphrase "I do not want to put a password on the recovered wallet and I know what can be the Consequences.".

That will return a wallet with several formats that SI PrivateKey me accept the client-QT.

Post some BTC, along with my thanks and admiration for his work.

Txid: 7aeb5d18f9c81d7b0bd659dd4dfd976d2f8c5af5ba2b9fb1060db8d64ef8db13

CloakCoin |  Trustless Anonymous Cryptocurrency |  PoSA3
Forum | Bitcointalk |  Twitter |  Facebook |  VK |  Reddit |  CloakTV |  Instagram |  IRC-Chat |  Faucet
as4406
Jr. Member
*
Offline Offline

Activity: 32


View Profile
September 13, 2014, 04:01:56 AM
 #466

well, i can recommend a name for your project, but if you don't like it, just ignore it.
brilliant  ideas for managine your wallet in this new age
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 15, 2014, 03:11:18 PM
 #467

Hi jack, I finally get my coins, I did recover and the passphrase "I do not want to put a password on the recovered wallet and I know what can be the Consequences.".

That will return a wallet with several formats that SI PrivateKey me accept the client-QT.

Post some BTC, along with my thanks and admiration for his work.

Txid: 7aeb5d18f9c81d7b0bd659dd4dfd976d2f8c5af5ba2b9fb1060db8d64ef8db13
Thanks a lot Smiley
The new pywallet will be much more user-friendly hopefully

well, i can recommend a name for your project, but if you don't like it, just ignore it.
brilliant  ideas for managine your wallet in this new age
Please give me all the ideas you may have, I think the first beta is coming soon so I'd need a name soon Smiley

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.
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


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


View Profile WWW
September 15, 2014, 03:36:33 PM
 #468

Can you provide GUI for pywallet? I think it will help newbies.

  ~~MZ~~

jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 15, 2014, 04:13:30 PM
 #469

Can you provide GUI for pywallet? I think it will help newbies.

  ~~MZ~~

That's the point of this project: https://bitcointalk.org/index.php?topic=294439.new#new

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.
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


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


View Profile WWW
September 15, 2014, 05:39:22 PM
 #470

Can you provide GUI for pywallet? I think it will help newbies.

  ~~MZ~~

That's the point of this project: https://bitcointalk.org/index.php?topic=294439.new#new

I am sorry. I didn't see it. So will it be standalone? Using PyQt?

  ~~MZ~~

jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 15, 2014, 06:02:38 PM
 #471

Can you provide GUI for pywallet? I think it will help newbies.

  ~~MZ~~

That's the point of this project: https://bitcointalk.org/index.php?topic=294439.new#new

I am sorry. I didn't see it. So will it be standalone? Using PyQt?

  ~~MZ~~

No problem it's not really announced yet.
It's standalone, with 3 interfaces: GUI with PyQt, command line and local web server. Features and interfaces are separated so all the features are available from all the interfaces.

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.
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 16, 2014, 06:04:17 PM
 #472

Is the import accessable through the command line? I took a closer look last night and it doesn't appear to be. Thats all I need, I can script the rest.
My bad
Actually pywallet can multi-import !
Put "file" in "key" and the file name in "value"
The file can be the output of the "Dump transactions" 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.
unamis76
Legendary
*
Offline Offline

Activity: 1050



View Profile WWW
September 28, 2014, 01:38:46 PM
 #473

Finally managed to install everything in order to run pywallet. Still can't access it through web interface, neither I can dump a wallet through command line... Any clues on what I'm doing wrong?

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 28, 2014, 02:46:51 PM
 #474

Finally managed to install everything in order to run pywallet. Still can't access it through web interface, neither I can dump a wallet through command line... Any clues on what I'm doing wrong?
What happens exactly?
What do you want to do?

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.
unamis76
Legendary
*
Offline Offline

Activity: 1050



View Profile WWW
September 28, 2014, 05:03:43 PM
 #475

Finally managed to install everything in order to run pywallet. Still can't access it through web interface, neither I can dump a wallet through command line... Any clues on what I'm doing wrong?
What happens exactly?
What do you want to do?

If I run it through the command line, it simply says it's not recognized. If I run it through python with the --web, it just says things like invalid synthax.

I think I installed everything correctly. Had to download setuptools and zope.interface from 3rd party websites because they weren't avaliable on the Python website... Not sure if that's what causing the problem.

As for what I want to do... I want to open a wallet that's giving me quite a big headache (unlocked it multiple times with my passphrase, which suddenly stopped working. And yes, I am 100% sure I'm using the correct passphrase)

EDIT: when I try to run it through the command line with --web added

Code:
 File "C:\Documents and Settings\(...)\pywallet.py"
, line 5
    <!DOCTYPE html>
    ^
SyntaxError: invalid syntax



EDIT2: somehow the pywallet file did not download correctly... just replaced it with the correct file and it just booted the web interface. Sorry for this noobish mistake, I'm guess I'm just mad at my wallet file, lol. Thanks anyway Smiley

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 28, 2014, 06:11:58 PM
 #476

I'm glad it works Smiley
Tell me how it goes, I may help more than pywallet itself

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.
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 28, 2014, 06:27:46 PM
 #477

I've been asked the meaning of the JSON keys for the addresses, here it is
Tell me if I forgot anything

Quote
addr: bitcoin address
compressed: whether the key is compressed or not
encrypted_privkey: encrypted private key (only present if the wallet is encrypted)
hexsec: private key in hexadecimal format (32 bytes)
secret: hexsec with 0x01 appended if the key is compressed (32 or 33 bytes)
sec: bitcoin private key (base58check'd)
pubkey: public key in DER format, ie 0x04+X+Y or 0x02+X or 0x03+X (33 or 65 bytes)
reserve: whether the key is in the pool or not

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.
unamis76
Legendary
*
Offline Offline

Activity: 1050



View Profile WWW
September 29, 2014, 07:53:18 PM
 #478

I'm glad it works Smiley
Tell me how it goes, I may help more than pywallet itself

Thank you. Managed to get my coins back.

I've been asked the meaning of the JSON keys for the addresses, here it is
Tell me if I forgot anything

Quote
addr: bitcoin address
compressed: whether the key is compressed or not
encrypted_privkey: encrypted private key (only present if the wallet is encrypted)
hexsec: private key in hexadecimal format (32 bytes)
secret: hexsec with 0x01 appended if the key is compressed (32 or 33 bytes)
sec: bitcoin private key (base58check'd)
pubkey: public key in DER format, ie 0x04+X+Y or 0x02+X or 0x03+X (33 or 65 bytes)
reserve: whether the key is in the pool or not

Thanks, this will be handy. Out of curiosity: how can I calculate the version of a coin? As far as I've read, it has to do with the public address... but can't seem to find a way to see the version of a specific crypto.

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


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


View Profile WWW
September 30, 2014, 06:54:17 AM
 #479


 =snip=

Thanks, this will be handy. Out of curiosity: how can I calculate the version of a coin? As far as I've read, it has to do with the public address... but can't seem to find a way to see the version of a specific crypto.

I think, if you go to coin's repo, you may get it(most of the coin uses github). Try to search there and you may want to search in discussion too. If there is any other possible ways, it would be very helpful. Smiley

  ~~MZ~~

jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
September 30, 2014, 08:27:45 AM
 #480

Out of curiosity: how can I calculate the version of a coin? As far as I've read, it has to do with the public address... but can't seem to find a way to see the version of a specific crypto.
http://btpp.jampa.eu/get_coin_version/?address=Xg7DzZQt3Fax69ozwJreFAmiBHxVoWWroc


It's just the first byte of DecodeBase58Check(address)

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!