Author

Topic: Modify vanitygen/oclvanitygen for Litecoin (Read 1443 times)

legendary
Activity: 1064
Merit: 1000
June 04, 2013, 09:12:48 PM
#5
Yes, it is already working for vanitygen.  It seems to be not working in oclvanitygen (I found this thread searching about that.)

Example litecoin litecoin addr: vanitygen -L LiTe .  Namecoin: vanitygen -N NC .  Any other coin can be done with the -X flag that lets you specify a version code (though it may be a bit of work figuring out what your coin's version number is.)

Actually it is not that hard.  Wink

Just go to the source files and look at the Base58.h file.

Around line 280 on most coins,  look for the constant PUBKEY_ADDRESS being assigned. That would be the address version you need.


sr. member
Activity: 266
Merit: 250
aka 7Strykes
Yes, it is already working for vanitygen.  It seems to be not working in oclvanitygen (I found this thread searching about that.)

Example litecoin litecoin addr: vanitygen -L LiTe .  Namecoin: vanitygen -N NC .  Any other coin can be done with the -X flag that lets you specify a version code (though it may be a bit of work figuring out what your coin's version number is.)

Thank you for your advice. I actually found the -X code weeks ago and found a site that lists all the prefix codes. Forgot about this thread.
sr. member
Activity: 448
Merit: 254
Yes, it is already working for vanitygen.  It seems to be not working in oclvanitygen (I found this thread searching about that.)

Example litecoin litecoin addr: vanitygen -L LiTe .  Namecoin: vanitygen -N NC .  Any other coin can be done with the -X flag that lets you specify a version code (though it may be a bit of work figuring out what your coin's version number is.)
legendary
Activity: 1652
Merit: 1016
Is there a way to modify vanitygen to generate Litecoin? Does anyone here have the technical expertise to explain how to modify the vanitygen and oclvanitygen code to adapt to Litecoin? Also, if such could be explained, can anyone explain how to make it accept any identifier so any altcoin could be generated?
I thought Litecoin was programmed in anyway. Have you checked the docs?
sr. member
Activity: 266
Merit: 250
aka 7Strykes
Is there a way to modify vanitygen to generate Litecoin? Does anyone here have the technical expertise to explain how to modify the vanitygen and oclvanitygen code to adapt to Litecoin? Also, if such could be explained, can anyone explain how to make it accept any identifier so any altcoin could be generated?
Jump to: