vanitygen icon indicating copy to clipboard operation
vanitygen copied to clipboard

keyconv support for different address versions

Open BitJunkie opened this issue 11 years ago • 2 comments

keyconv works fine for bitcoin addresses:

D:\vanitygen>vanitygen64 1Ate Difficulty: 77178 Pattern: 1Ate Address: 1AtevZD4rHgY8Ft76Kg1huHBNmBdQMsSP2 Privkey: 5JLdTDjaHWQnnJgvQmqpi4QpRmtTGxsSuNAGDGxzPCz3QZmNGNb

D:\vanitygen>keyconv 5JLdTDjaHWQnnJgvQmqpi4QpRmtTGxsSuNAGDGxzPCz3QZmNGNb Address: 1AtevZD4rHgY8Ft76Kg1huHBNmBdQMsSP2 Privkey: 5JLdTDjaHWQnnJgvQmqpi4QpRmtTGxsSuNAGDGxzPCz3QZmNGNb

However keyconv incorrectly returns a bitcoin address when an address is generated for a different address version than bitcoin:

D:\vanitygen>vanitygen64 -X 56 Pts Difficulty: 1353 Pattern: Pts Address: PtspWgjPH1qX6NLcCYs8xpUtXrqy2R6KDF Privkey: 7Bqpv6dMiFX6m6CiXzk33CVNRVTJTziuFHf5NG2ZWvgq1mxF1dA

D:\vanitygen>keyconv 7Bqpv6dMiFX6m6CiXzk33CVNRVTJTziuFHf5NG2ZWvgq1mxF1dA Address: 1Mx3Nc3FWutTJ6Xkq4DHooEqHcR9GvHwBm Privkey: 7Bqpv6dMiFX6m6CiXzk33CVNRVTJTziuFHf5NG2ZWvgq1mxF1dA

There seems to be no way to tell keyconv which version to use. None of the alt-coin generated addresses can use private key encryption because keyconv will not be able to properly decrypt them.

BitJunkie avatar Dec 03 '13 16:12 BitJunkie

Samr7 hasn't been active with this repo. You might want to check out my fork at https://github.com/WyseNynja/vanitygen. It's easy to install with my brew tap at https://github.com/WyseNynja/homebrew-bitcoin and has various fixes that might help you

BlinkyStitt avatar Jan 26 '14 22:01 BlinkyStitt

#63 https://github.com/exploitagency/vanitygen-plus ./keyconv -d encryptedkey -X coinversion# -Y privkeyversion# Prompt for password

Seems to be working for my test cases so far. Hopefully this isn't too late to be helpful.

I also have a huge list of altcoin X Y values I managed to gather up 50+

exploitagency avatar Feb 02 '17 03:02 exploitagency