Vanity-Sol is a utility script for generating Solana wallet addresses that contain specific text patterns either at the beginning or the end of the address.
- Generate Solana addresses that start or end with specified text.
- Save keypairs to JSON file.
Python 3.6+
solders
librarybase58
library
Run the script with the following command:
python vanity.py -v [vanity_text] -m [max_matches] -e -i
-v
, --vanity
, --vanity-text
: Text to search for in the wallet address (required).
-m
, --max
, --max-matches
: Maximum number of matches to find before exiting (default: 1, not required).
-e
, --end
, --match-end
: Search for text at the end of the address instead of the beginning. (not required)
-i
, --ignore
, --ignore-case
: Ignore case when matching text. (not required)
python vanity.py -v "Sol" -m 5 -i
This command will generate up to 5 Solana addresses that start with "Sol", ignoring case differences.