Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: gigawatt on September 13, 2013, 05:48:19 PM



Title: [ANN][SRC] Vanitygen for SecureCoin
Post by: gigawatt on September 13, 2013, 05:48:19 PM
Some of you may have tried to use vanitygen to make a Securecoin vanity address and ran into some problems.
Turns out that Securecoin uses nonstandard constants* to generate addresses.

So, without much further ado: https://github.com/llamasoft/securecoin-vanitygen
I will not be distributing compiled binaries, but if you know how to run "make", you can make them yourself.

To generate a securecoin address, just use the -S flag:
Code:
$ ./vanitygen -S secure
Difficulty: 264104224
Pattern: secure
Address: secure1qeuUrEmr2LVucyDBymM7kaiHTE2
Privkey: === REDACTED ===

Enjoy!




*: When it comes to cryptocoin addresses, you have two parts that determine some key info about the key.  There's the address type (PUBKEY_ADDRESS (https://github.com/securecoin/Securecoin/blob/master/src/base58.h#L275)) and the address version.
Normally (https://github.com/mikaelh2/primecoin/blob/master/src/base58.h#L404), the address version is 128 + address_type, but in this case it was hard coded to 128 (https://github.com/securecoin/Securecoin/blob/master/src/base58.h#L404).