Author

Topic: Question: what is currently the best software for generating vanity addresses? (Read 129 times)

hero member
Activity: 560
Merit: 1060
My +1 for VanitySearch for its speed, ease of usage and efficiency.

Fun fact: I 've developed my own generator in Java here. But I removed the code because it was very slow and therefore inefficient. But I must have it somewhere in case you need it.
hero member
Activity: 630
Merit: 731
Bitcoin g33k
I'm reposting my question in a new topic, hoping to get a bit more attention:
Question: what is currently the best software for generating vanity addresses? It's been years since I did it, and oclvanitygen stopped working for me years ago. Both vanitygen and VanitySearch projects seem to be abandoned, and I can't combile either one of them on a standard Linux installation.
What's the current go-to place to create new vanity addresses?
I could probably install a very old Linux distribution to get all the right dependencies again, but I'd prefer to run it on a normal system.

Hi Loyce,

I replied to your initial question and hope you'll get it sorted out.

citb0in
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Just run VanitySearch.exe from https://github.com/JeanLucPons/VanitySearch/releases/tag/1.19 using Wine.
This works too.

It's only using CPU, I'm not sure if my Radeon Graphics could handle this. If it can, it lacks drivers at the moment.

Thanks guys, it's working. Wine seems like the easiest solution.

Software i mentioned only support GPU by using CUDA, which means it only support Nvidia GPU. You may want to try different software which mention supporting AMD GPU or use OpenCL in order to support GPU.
legendary
Activity: 1612
Merit: 1608
精神分析的爸
Loyce, I ran into some problems too with VanitySearch recently but I was - after some loss of hair - able to compile a working binary for my Nvidia Quadro M2000 with

Code:
make -j 4 gpu=1 CCAP=5.2 CUDA=/usr/local/cuda-12.6/ CXXCUDA=/usr/bin/g++ CXXFLAGS="-std=c90 -DWITHGPU -m64  -mssse3 -Wno-write-strings -g -I. -I$(CUDA)/include"

The key was the -std=c90 that made it compile and produce a working binary under Devuan Daedalus (systemd-free Debian alternative but otherwise equal to Debian 12 Bookworm).

HTH
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Usually installing docker is pretty straightforward on most linux environments.
Thanks, following your instructions I got it working.

Just run VanitySearch.exe from https://github.com/JeanLucPons/VanitySearch/releases/tag/1.19 using Wine.
This works too.

It's only using CPU, I'm not sure if my Radeon Graphics could handle this. If it can, it lacks drivers at the moment.

Thanks guys, it's working. Wine seems like the easiest solution.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Just run VanitySearch.exe from https://github.com/JeanLucPons/VanitySearch/releases/tag/1.19 using Wine. I just tried it on my device and it works, where it can use both CPU and GPU. Although i don't install Wine directly using apt, but rather using this application https://usebottles.com.
legendary
Activity: 3612
Merit: 5297
https://merel.mobi => buy facemasks with BTC/LTC
IIRC, you had docker on your system, right???
Nope, I've never used docker.

whoops... I must have remembered wrong. Usually installing docker is pretty straightforward on most linux environments. The official repo's of most distributions usually contain the package.
This being said, podman is an excellent in-place replacement for docker, but it has less dependencies and it can be run as a non privileged user. If you want to try this out, and you don't have docker anyways, maybe you can try the walktrough i posted with podman? At the moment, the Dockerfile probably contains to much packages, i basically copied part of the Dockerfile i created for building older bitcoin core versions, but a lot of those packages are probably not necessary for building VanitySearch. On the other hand, they won't hurt you either, they're just packages inside the container image, as soon as you delete the container image everything is gone...

Also, with minor adaptations, it's possible to just pass the VanitySearch parameters to the 'docker run' command, so you don't actually have to enter the container's shell... But the way i posted works just as well but has a slightly higher learning curve for new users.

The only really important thing to remember is to save any private key you generate... The docker image you built is used to start up a container. When the container is removed, so is everything that was saved inside the container... So copy any private key and make sure it's stored on your actual filesystem (not the container's filesystem).

If anybody has the original repo for oclvanitygen, i'm certainly willing to see if i can get that one running inside the same container aswell... Probably shouldn't be that hard.
copper member
Activity: 2338
Merit: 4543
Join the world-leading crypto sportsbook NOW!
IIRC, you had docker on your system, right???
Nope, I've never used docker.

I try to avoid docker for most things I want to run on a regular basis and integrate into my system, but it can be convenient in situations like this one:

Both vanitygen and VanitySearch projects seem to be abandoned, and I can't combile either one of them on a standard Linux installation.

A docker container is essentially a virtual environment just for the package you want to run.  mocacinno's code just builds such an environment with the dependencies needed by VanitySearch, without affecting your system OS.  Once you're learn how to execute commands inside the container, it's like working with any other Linux OS and programs.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
IIRC, you had docker on your system, right???
Nope, I've never used docker.
legendary
Activity: 3612
Merit: 5297
https://merel.mobi => buy facemasks with BTC/LTC
I'm reposting my question in a new topic, hoping to get a bit more attention:
Question: what is currently the best software for generating vanity addresses? It's been years since I did it, and oclvanitygen stopped working for me years ago. Both vanitygen and VanitySearch projects seem to be abandoned, and I can't combile either one of them on a standard Linux installation.
What's the current go-to place to create new vanity addresses?
I could probably install a very old Linux distribution to get all the right dependencies again, but I'd prefer to run it on a normal system.

This is very quick, and very (very) dirty... IIRC, you had docker on your system, right???

Code:
mkdir vanity
cd vanity
vi Dockerfile

paste the following content:

Code:
FROM registry.suse.com/bci/bci-base:15.6
RUN zypper ref -s && zypper --non-interactive install git gcc13-c++ wget libevent-devel awk gcc-c++ libdb-4_8-devel sqlite3-devel unzip && zypper --non-interactive install -t pattern devel_basis
WORKDIR /
RUN git clone https://github.com/JeanLucPons/VanitySearch
WORKDIR VanitySearch
RUN make

then execute

Code:
docker build -t vanity .
docker run -it vanity

and once inside the container:

Code:
./VanitySearch -h

I'm late for a meeting, that's why it's a very quick and very dirty hack... If i have more time tomorrow, i'll clean this up a little bit Smiley
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I'm reposting my question in a new topic, hoping to get a bit more attention:
Question: what is currently the best software for generating vanity addresses? It's been years since I did it, and oclvanitygen stopped working for me years ago. Both vanitygen and VanitySearch projects seem to be abandoned, and I can't combile either one of them on a standard Linux installation.
What's the current go-to place to create new vanity addresses?
I could probably install a very old Linux distribution to get all the right dependencies again, but I'd prefer to run it on a normal system.
Jump to: