2

I was wondering if there are ways to automate / mass private key import into the bitcoin client. Anyone knows of a command or has a script or an idea to share?

thanks.

2
  • Export the keys from your current client (which should be just a few) and then replace your wallet.dat with the same file from the wallet that hold the 1 million private keys, then import your original keys and you're all set.
    – user11221
    Commented May 2, 2014 at 19:23
  • Use the importwallet command. Try dumpwallet to see thr file format. Commented Jun 2, 2014 at 7:40

1 Answer 1

3

Well...
You could automate it using the JSON RPC and slowly work through the keys, however this will be kinda slow. If you actually need to work with 1 million keys, you may need to consider an alternative option.

What is it you need to do with the keys?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.