Bitcoin Forum
November 21, 2025, 07:32:53 AM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question: what is currently the best software for generating vanity addresses?  (Read 204 times)
LoyceV (OP)
Legendary
*
Offline Offline

Activity: 3864
Merit: 20439


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 17, 2024, 02:28:43 PM
 #1

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.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
mocacinno
Legendary
*
Offline Offline

Activity: 3906
Merit: 5471


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
December 17, 2024, 02:55:32 PM
Merited by LoyceV (12), ABCbits (3), Pmalek (2), apogio (2), DdmrDdmr (1), DireWolfM14 (1)
 #2

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

LoyceV (OP)
Legendary
*
Offline Offline

Activity: 3864
Merit: 20439


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 17, 2024, 03:00:47 PM
 #3

IIRC, you had docker on your system, right???
Nope, I've never used docker.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2688
Merit: 5136



View Profile WWW
December 17, 2024, 03:33:04 PM
 #4

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.

███████████████████████████████████████
██░░░░░░░░░░░░░████████████████████████████████████
███░░░██░░███████████████████████████████████
███░░░░░░░░░░██████████████████████████████████
██░░░░░█████████████████████████████████
███████████████████████████████
████████████████████████████████
███████████████████████████
███████████████████████████████████
██████████████████████████████████
██████████████████████████████
████░░░░██████████████████████████████████
██░░░░░░░░░███████████████████████████████████
 
   FREE PALESTINE   
███████████████████████████░░░██
█████████████████████████
███████████████████████░░░░░░░░░░██
███████████████████████░░░██░░██
███████████████████████
█████████████████████████████
███████████████████████░░░██████░░██
███████████░░██████████████
███████████████████████████░░████
███████████████████████░░░░░░░░░░░░██
███████████████████████░░████
███████████████████████░░░░░░██
█████████████████████████████░░██
mocacinno
Legendary
*
Offline Offline

Activity: 3906
Merit: 5471


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
December 18, 2024, 06:44:51 AM
Merited by LoyceV (4), ABCbits (1)
 #5

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.

ABCbits
Legendary
*
Offline Offline

Activity: 3430
Merit: 9375



View Profile
December 18, 2024, 08:54:14 AM
Merited by LoyceV (4), Pmalek (2), mocacinno (1)
 #6

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.

LoyceV (OP)
Legendary
*
Offline Offline

Activity: 3864
Merit: 20439


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 18, 2024, 12:19:04 PM
 #7

Usually installing docker is pretty straightforward on most linux environments.
Thanks, following your instructions I got it working.

Quote
If anybody has the original repo for oclvanitygen
It's on github: github.com/samr7/vanitygen.

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.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
psycodad
Legendary
*
Offline Offline

Activity: 1793
Merit: 2593


精神分析的爸


View Profile
December 18, 2024, 01:46:01 PM
Merited by LoyceV (2), ABCbits (2)
 #8

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

ABCbits
Legendary
*
Offline Offline

Activity: 3430
Merit: 9375



View Profile
December 19, 2024, 08:11:34 AM
Merited by LoyceV (2)
 #9

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.

citb0in
Hero Member
*****
Offline Offline

Activity: 1064
Merit: 796


Bitcoin g33k


View Profile
December 19, 2024, 11:40:40 AM
 #10

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

Some signs are invisible, some paths are hidden - but those who see, know what to do. Follow the trail - Follow your intuition - [bc1qqnrjshpjpypepxvuagatsqqemnyetsmvzqnafh]
apogio
Legendary
*
Offline Offline

Activity: 980
Merit: 2261


Trêvoid █ No KYC-AML Crypto Swaps


View Profile WWW
December 19, 2024, 01:38:22 PM
 #11

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!