Author

Topic: How do I import private keys using PyWallet? (Read 838 times)

cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 02:19:48 PM
#13
Are your private keys all in a text file?  Give a sample line
sr. member
Activity: 362
Merit: 262
February 28, 2014, 07:21:03 AM
#12
See the importpivkey command here:
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

You can execute it in the command/debug window.  This can be accessed from the top right menu of bitcoin-qt. 

Or even better: https://en.bitcoin.it/wiki/How_to_import_private_keys_v7%2B
newbie
Activity: 15
Merit: 0
February 28, 2014, 01:55:38 AM
#11
Same error. Can I import keys using something else? Does Bitcoin-Qt offer the ability to import keys using CMD? Or, is there a way I can paste them all into the console? I tried to add the importprivkey in front of each key, but I can't just drop them all into the console since it doesn't understand a line break.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 01:18:13 AM
#10
Does it work if you just use --importprivkey without any other options, assuming you have a wallet.dat in the default location?
newbie
Activity: 15
Merit: 0
February 28, 2014, 12:49:18 AM
#9
Oh yeah, I do have to type Py before PyWallet to call it. I should have added that. Sorry for missing that in the original post. PyWallet is being called, since I can see the help text that automatically shows when you fail to type what it wants.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 12:41:25 AM
#8
Is pywallet the correct way to run it from windows?  On linux I have to do python pywallet.py
newbie
Activity: 15
Merit: 0
February 28, 2014, 12:40:40 AM
#7
Nope, is it in its stock, unencrypted glory! Smiley
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 12:37:35 AM
#6
Is your wallet encrypted?
newbie
Activity: 15
Merit: 0
February 28, 2014, 12:33:19 AM
#5
Good eye on the missing dash, but it's still spitting the same error message. Sad
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 12:31:25 AM
#4
Try two dashes on importprivkey
newbie
Activity: 15
Merit: 0
February 28, 2014, 12:22:39 AM
#3
I replaced the equal sign with a space, but it threw the same error message as before, mandatory option missing. Sad

Also, it's jackjack's fork, if that means anything at all.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
February 28, 2014, 12:12:27 AM
#2
I've never used it, but the examples on the website don't use =, what error do you get without it?
newbie
Activity: 15
Merit: 0
February 28, 2014, 12:08:13 AM
#1
I am using Windows XP and PyWallet, though I don't remember which fork I am using. I am able to successfully dump the key I want to use, I am not sure how to import the key into the new wallet. PyWallet keeps telling me I am missing a critical command line option, but it refuses to tell me what I am missing. I tried to mirror some of the example command lines from the website, but they are either not exactly what I need (and being they are Linux doesn't help) or seems to be missing something.

PyWallet -importprivkey=LawlThisIsAnExampleWalletKeyUsedAsPadding --label=Main --datadir="C:\Documents and Settings\Owner\Application Data\Bitcoin"  --wallet=DonorWallet.dat

And before it gets suggested, yes I know how to import into the client, but I have about 700+ keys I need to work on, and I don't feel like doing each one manually. I hope you understand. Smiley If I can get the importprivkey command to work with PyWallet, I can handle the rest from there. Thanks in advance!
Jump to: