Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
/ stellar-keypair-tool Public archive

A tool to generate vanity Stellar public address

Notifications You must be signed in to change notification settings

jorbs/stellar-keypair-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stellar Keypair Tool

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.

Installation

  1. Install libsodium (http://libsodium.org)
  2. make

Usage

./keypair [-p|-m|-s] <term> [-j <jobs>]

It searches term for prefix, middle or suffix positions. term can have down case chars.

Concurrency

By default, this tool creates a number of threads based on the available CPUs. This number can be overrided using the -j parameter.

Address validation

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());

About

A tool to generate vanity Stellar public address

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published