A tool to generate vanity Stellar public address. It was implemented in C++ in order to use the NaCl EdDSA25519
implementation (https://nacl.cr.yp.to/sign.html), available throught libsodium
.
- Install
libsodium
(http://libsodium.org) make
./keypair [-p|-m|-s] <term> [-j <jobs>]
It searches term
for prefix
, middle
or suffix
positions. term
can have down case chars.
By default, this tool creates a number of threads based on the available CPUs. This number can be overrided using the -j
parameter.
In order to validate the generated public and secret keys, use the Stellar Javascript SDK (https://www.stellar.org/developers/js-stellar-sdk/reference/):
var keypair = StellarBase.Keypair.fromSecret('<your secret>');
console.log(keypair.publicKey());
console.log(keypair.secret());