Author

Topic: How to add large number of private keys to Bitcoin-qt (Read 2914 times)

sr. member
Activity: 448
Merit: 254
Ok at this point im going to try the Armory option.

Wish me luck.

If Armory doesnt freeze up that is.

Ok thanks jackjack for trying to assist at the end of the day it looks like Armory will do what i needed.

call this one solved
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Sorry I didn't see your edit
Those may be pool addresses, thus not shown
sr. member
Activity: 448
Merit: 254
I chose to dump the wallet and it listed a lot of addresses in the wallet but bitcoin-qt does not......

Im tempted to look at bitcoin-qt being at fault here not pywallet.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Wow that's odd
Are you sure you put the right wallet file?
Is the wallet encrypted?
sr. member
Activity: 448
Merit: 254
File imported

It just doesnt import anything.  Im tempted to try something drastic and boot into Windows and see if it works there.

Yeah tried Windows and im stuffed if i can get python to work never mind pywallet.  My Windows skills are now non-existant it seems.....  Been a long time


Strange trying to see if anything worked with pywallet i chose the dump wallet option and it shows a heap of addresses in the wallet yet bitcoin-qt doesnt.  Not sure what to make of this.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
What does pywallet say when you try to import the file?
sr. member
Activity: 448
Merit: 254
Im still having no luck with this..... tempted to delete the wallet.dat and try again

Ok deleted wallet.dat.  Let it create a new one on bitcoin-qt start.  Exited bitcoin-qt.  Use pywallet and nothing.

Changed permissions on file so anyone could write to wallet.dat and tried again.  Still nothing.

Opened wallet.dat with Kate to see if i could hand edit.  Short answer is no.

checking to see if there is another version of pywallet i could try

Ok officially out of ideas again.....
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
That may be my problem the csv has the public key first.  Will try that thank you
You don't really need the public key, just the private key afaik. The public key CAN be and IS derived from the private key.
sr. member
Activity: 448
Merit: 254
That may be my problem the csv has the public key first.  Will try that thank you
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
If you ask me, the best way to import would be to write to the wallet file itself, after you BACK IT UP of course.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Yup pywallet will do the trick
Download and install the last version
Create a file like this :
Code:
7207abc64b79d4f46;label1
520f54a6bc89e40e5;label2
With 7207... and 520f... being hexadecimal private keys
Open pywallet and use "import priv keys from file (csv)"

Instructions at http://pywallet.tk
sr. member
Activity: 448
Merit: 254
Ok guys im trying to set up a donation system for a torrent tracker.  The site end has been setup so that users who wish to make a donation get issues with a public key to donate to and the site confirms the transaction went through.

I went to bitaddress.org and created 100 keys and saved them in a csv file.

I then attempted to import the private keys to my wallet.

After much Google and wiki searching the first thing i tried was pywallet.  That appears to have done whats needed but in fact nothing happens to my wallet.

So next step i tried was modifying a command i found online to do it like this

tr -d '"' < /location/of/csv/file | tr , ' ' | while read number address privkey; do echo importing $address; bitcoin-qt importprivkey $privkey $address false; done

The addresses appear in the address book tab but not in the receive coins tab.  Test donations have been made and not received until the keys got added manually using the debug window.

Also tried the above command without the false and it seems to bog down after one or two imports and never finished.

Now i know there has to be a working way to import bulk keys but im at a dead end. 

Im running bitcoin-qt v0.8.1.0-g34d62a8-beta on a Kubuntu 12.04 system.

Any help or ideas greatly appreciated.  We really need to get this system working.  Adding Private keys one at a time would be a nightmare.

Thanks
Clownius

Jump to: