clownius (OP)
|
 |
April 07, 2013, 11:59:38 AM |
|
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
|
|
|
|
|
|
|
|
|
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1233
May Bitcoin be touched by his Noodly Appendage
|
 |
April 07, 2013, 12:28:43 PM Last edit: April 07, 2013, 12:51:47 PM by jackjack |
|
Yup pywallet will do the trick Download and install the last version Create a file like this : 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
|
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.
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1008
Reverse engineer from time to time
|
 |
April 07, 2013, 12:56:22 PM |
|
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.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
clownius (OP)
|
 |
April 07, 2013, 01:22:57 PM |
|
That may be my problem the csv has the public key first. Will try that thank you
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1008
Reverse engineer from time to time
|
 |
April 07, 2013, 01:36:30 PM |
|
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.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
clownius (OP)
|
 |
April 07, 2013, 02:06:51 PM Last edit: April 07, 2013, 03:14:28 PM by clownius |
|
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.....
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1233
May Bitcoin be touched by his Noodly Appendage
|
 |
April 07, 2013, 05:43:25 PM |
|
What does pywallet say when you try to import 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.
|
|
|
clownius (OP)
|
 |
April 08, 2013, 12:24:03 PM Last edit: April 08, 2013, 01:55:02 PM by clownius |
|
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.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1233
May Bitcoin be touched by his Noodly Appendage
|
 |
April 08, 2013, 01:49:55 PM |
|
Wow that's odd Are you sure you put the right wallet file? Is the wallet encrypted?
|
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.
|
|
|
clownius (OP)
|
 |
April 08, 2013, 01:56:13 PM |
|
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.
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1233
May Bitcoin be touched by his Noodly Appendage
|
 |
April 08, 2013, 01:59:13 PM |
|
Sorry I didn't see your edit Those may be pool addresses, thus not shown
|
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.
|
|
|
clownius (OP)
|
 |
April 08, 2013, 02:14:05 PM Last edit: April 08, 2013, 03:00:08 PM by clownius |
|
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
|
|
|
|
|