Java app to generate XRP Ledger vanity addresses. Inspired by Wietse Wind's xrp-vanity-generator written in Javascript. The Java version has the advantage of being roughly 75x faster and therefore capable of finding a desired vanity address 75x faster.
-
In this mode, only addresses starting with the provided words will be considered.
./vanity-generator.sh crypto hodl xrp
-
In this mode, vanity addresses are generated against a list of the top 20,000 search terms according to Google.
./vanity-generator.sh
By default, the word list only uses words that are 4 letters or longer. This can be adjusted by passing a numeric value. For example, to only consider words with 5 or more letters use:
./vanity-generator.sh 5
If you do not have Java and Maven installed, you can alternately the download a native binary executable which can be run offline once downloaded.
curl -Lo xrp-vanity-generator https://github.com/nhartner/xrp-vanity-address/raw/main/dist/linux-amd64/xrp-vanity-generator
chmod 755 xrp-vanity-generator
./xrp-vanity-generator
Note: currently does not work with musl-based Linux distros like Alpine.
curl -Lo xrp-vanity-generator https://github.com/nhartner/xrp-vanity-address/raw/main/dist/darwin/xrp-vanity-generator
chmod 755 xrp-vanity-generator
./xrp-vanity-generator
Note: Newer versions of OSX will not execute the binary since it will consider it an untrusted download. The following command will allow you to override that restriction:
sudo spctl --master-disable
Download https://github.com/nhartner/xrp-vanity-address/raw/main/dist/windows/xrp-vanity-generator.exe
Execute xrp-vanity-generator.exe
from a Windows command shell.
You can generate an executable jar that can be copied and executed on an offline device. The offline device only needs Java to be installed.
To build the executable jar, run:
./mvnw package
The executable jar will be created under target/vanity-generator.jar
The jar can be executed using java -jar path/to/vanity-generator.jar
. For example:
java -jar target/vanity-generator.jar crypto hodl xrpd