This is a Node.js console application for generating "vanity" addresses for the SmartHoldem (STH) cryptocurrency. A vanity address is an address that starts with a specific, user-defined sequence of letters and numbers.
- Node.js (version 12.x or higher)
- Clone the repository or download the files.
- Open a terminal in the project directory.
- Install the dependencies by running the command:
npm install
This generator is built with security as a top priority, using industry-standard cryptographic libraries.
-
Cryptographically Secure Randomness: The generation of your wallet's core secret (the mnemonic phrase) relies on the
bip39library, which in turn uses Node.js's built-incrypto.randomBytesmodule. This is a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG), ensuring that the initial entropy for your key is high-quality and unpredictable. -
Battle-Tested Cryptography: The address and key pair are derived from the mnemonic phrase using the official
@smartholdem/cryptolibrary. This library implements the same robust and widely-trustedsecp256k1elliptic curve cryptography that secures major cryptocurrencies like Bitcoin and Ethereum. -
No Data Storage: This tool does not save or transmit any data. The generated address and its corresponding secret mnemonic phrase are only displayed in your console. You are in full control, and it is your responsibility to store the secret phrase in a secure, offline location.
To start the generator, use the following command:
node index.js [SEARCH_STRING] [--mode=MODE] [--threads=N]-
--help— display help information about the script and its parameters. -
[SEARCH_STRING](required) — the desired sequence of characters to search for. The search is case-insensitive. -
--mode=MODE(optional) — the search mode. Can be one of the following:prefix(default): searches forSEARCH_STRINGat the beginning of the address (immediately afterS).suffix: searches forSEARCH_STRINGat the end of the address.contains: searches forSEARCH_STRINGanywhere in the address.
-
--threads=N(optional) — the number of threads (CPU cores) to use. If not specified, all available cores are used.
-
Search by prefix (default)
Find an address starting with
S+MYWALLET:node index.js MYWALLET # or explicitly node index.js MYWALLET --mode=prefix -
Search by suffix
Find an address ending in
2025:node index.js 2025 --mode=suffix
-
Search by substring
Find an address that contains the word
KING:node index.js KING --mode=contains
-
Combination of parameters
Find an address that contains
VIP, using only 2 threads:node index.js VIP --mode=contains --threads=2
- The search is case-insensitive.
mycoolwalletandMYCOOLWALLETwill produce the same result. - SmartHoldem addresses always start with the letter
S. The script searches for your prefix immediately after this letter. - The longer the prefix, the significantly more time it will take to search.
During operation, the script will show the number of checked addresses. When a suitable address is found, the program will display the result in the console and exit.
Starting search for address with prefix: SMYCOOLWALLET...
Found in 34.12 seconds!
Attempts: 845123
--------------------------------------------------
Address : SMyCoolWalletGf7kvp8vj6yPzCqRj9nBwX
Secret phrase: word1 word2 word3 ... word12
--------------------------------------------------
IMPORTANT: Save your secret phrase in a safe place!
ATTENTION: The secret mnemonic phrase is the only way to access your wallet. Keep it safe and never share it with anyone.