Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ran vanitygen and oclvanitygen on the same machine, and realized after my run that both exe's share the same output file.

I've had experience in the past where many programs append to the same TXT file that corruption might happen.

Regardless of the source of the corruption, what is the most complete way to validate a key created by vanitygen?


I added the developer tag since I'm looking to do validation in bulk. Command line scripts also work.

share|improve this question

If you don't want to do it online, you can try to import the private key into Bitcoin-Qt then see if the matching public key is the one you expected.

share|improve this answer

My best recommendation is to try and import the private key into service. This can be found under the advanced tab of the wallet. The corresponding public key will be added into your wallet for deposits.

A second option which does not require and account is to go via and parse it with the vanity address tab.

share|improve this answer

The pycoin Python library could be a good starting point. It has a utility that will give you the public key for a given private key. Unfortunately it doesn't seem to have a command line interface suitable for easy programmatic use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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