Works under macOS High Sierra (10.13) and Mojave (10.14) adapting
these instructions to DarkVanityGen.
Here are the steps for macOS:
- Open Terminal.
- Install Homebrew if not already done.
- Enter command: brew install pcre pcre++ openssl (or brew update pcre pcre++ openssl if you already have them)
- Enter command: git clone https://github.com/propulsions/DarkVanityGen
- Open pattern.h in some text editor, replace the line #define INLINE inline by #define INLINE — then save and close.
- Open Makefile in some text editor, replace the following lines
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -o3 -Wall
by
LIBS= -lpcre -lcrypto -lm -lpthread
INCPATHS=-I$(shell brew --prefix)/include -I$(shell brew --prefix openssl)/include
LIBPATHS=-L$(shell brew --prefix)/lib -L$(shell brew --prefix openssl)/lib
CFLAGS=-ggdb -O3 -Wall -Qunused-arguments $(INCPATHS) $(LIBPATHS)
then save and close.
- In the Terminal, go inside the DarkVanityGen folder then enter command: make all
DarkVanityGen is now installed on your Mac, even if certain steps above might very well be unnecessary, because I'm no expert
at all, I'm just blindly adapting. (Also: someone, rename DarkVanityGen to DashVanityGen, please!…)
To use D…VanityGen (at your own risk of course), simple type this command in your Terminal:
./vanitygen -D "Xdaf" — assuming you're interested in Dash addresses beginning by
Xdaf, which you're not. Try
./vanitygen -D "XfLuffy" instead, but this might
take longer, i.e. an expected heavy load on your CPU. When you get your private key, you might verify it
here for instance (Wallet details > Enter private key > View details) or by some other smarter and faster way that I don't know.
Remember that these characters:
I,
O and
l cannot be used. That's why we have
"XfLuffy" instead of
"Xfluffy" above.