Vanity Darkcoin Addresses

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
I forked vanitygen to be able to create Darkcoin addresses.

Source is available here. https://github.com/propulsions/DarkVanityGen.git

I've tested it with some change. Seems to work.
Code:
dumpprivkey Xf1rstPvMsQ84tRGukBRVcv2bBDT1HkZiy

7sPt1Fsi5FPLCRpZJxxbe3NpDsA2aWLun4WA2a7qbZApKbjF7fL

dumpprivkey XcoinB7HPLRcc4CbVSsVkjWq6te3t9WxoL

7qsRF4JN7nbY5esnYPbHSY3dKMiyrnvwDgnQ62gnGN3h3mFFdFd
The gpu version seems to not work unless using 12.x AMD Catalyst Drivers. 13 plus fails.

To use the cpu version simply do:
Code:
./vanitygen -D "Xvan1ty"
To try to create an address that has "van1ty" in it.

Note: I's, O's, and l's(Lower case L's) are incompatible.
 

DcoinZ

Member
Apr 27, 2014
88
25
68
That's cool man. I dont know what I am doing with it. Its not child safe, but it a nice development. I' am glad we have one.
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Someone swept the addresses.

Status: 18 confirmations
Date: 5/4/14 22:40
To: XmrYWg41gHJ3KDHsyrAMpxHGDMmTqMDHQ2
Debit: -0.0038 DRK
Transaction fee: -0.001 DRK
Net amount: -0.0048 DRK
Transaction ID: d1af55afdd511d735712fa73c4533607d6a535f24b927f2768f8b65dccf8160d
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
Someone swept the addresses.

Status: 18 confirmations
Date: 5/4/14 22:40
To: XmrYWg41gHJ3KDHsyrAMpxHGDMmTqMDHQ2
Debit: -0.0038 DRK
Transaction fee: -0.001 DRK
Net amount: -0.0048 DRK
Transaction ID: d1af55afdd511d735712fa73c4533607d6a535f24b927f2768f8b65dccf8160d
damn that was my idea! :D
 

Ch0nG

Member
Oct 3, 2014
50
34
58
Has anyone got this to work with a Windows binary?

I couldn't get it to run under Kali Linux. Maybe I just need to try a different distro, instead? I'll test it under Ubuntu tomorrow and update my post after I try it.
 
Last edited by a moderator:

calnaughtonjnr

Well-known Member
Foundation Member
May 25, 2014
221
157
203
Would anyone be able to give me a hand trying to compile this? I've had a look myself and this is the first time I've done anything like it.

I tried using

Code:
gcc vanitygen.c -o vanitygen
Not sure if I'm going down the right route here, but got a few errors saying undefined reference. Should I install something first?
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
I think so. The instruction is on Propulsion's github site the last time he told me. I've been thinking of using visual studio to compile for windows but if you can use gcc that will be great.
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
Would anyone be able to give me a hand trying to compile this? I've had a look myself and this is the first time I've done anything like it.

I tried using

Code:
gcc vanitygen.c -o vanitygen
Not sure if I'm going down the right route here, but got a few errors saying undefined reference. Should I install something first?
Not sure which OS you are on but on ubuntu you can try this
Code:
sudo apt-get install libssl-dev libpcre3-dev
make
 

calnaughtonjnr

Well-known Member
Foundation Member
May 25, 2014
221
157
203
I think so. The instruction is on Propulsion's github site the last time he told me. I've been thinking of using visual studio to compile for windows but if you can use gcc that will be great.
Thanks moli, you're right. I read the README file and saw to use 'make'. I got to stop jumping ahead of myself. :oops:

UdjinM6, cheers mate. Your message popped up when I was writing this reply to moli. It's working through now. How easy is it to get the address that it finds into the wallet on my Windows PC?
 
  • Like
Reactions: moli

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Thanks moli, you're right. I read the README file and saw to use 'make'. I got to stop jumping ahead of myself. :oops:

UdjinM6, cheers mate. Your message popped up when I was writing this reply to moli. It's working through now. How easy is it to get the address that it finds into the wallet on my Windows PC?
Did you get it compiled into an .exe file for us?! I can't wait to download your file !!! :)
I'm not sure if I understand your question correctly. If the .exe file works, it generates a pubkey and privkey for you, all you have to do is import your privkey to your wallet.. (I hope i understood your question right.. )
 

calnaughtonjnr

Well-known Member
Foundation Member
May 25, 2014
221
157
203
Did you get it compiled into an .exe file for us?! I can't wait to download your file !!! :)
I'm not sure if I understand your question correctly. If the .exe file works, it generates a pubkey and privkey for you, all you have to do is import your privkey to your wallet.. (I hope i understood your question right.. )
Ahh, OK. Great. Just need to import private key. Thank you!

And no, no exe. I just ran 'make' to compile it. I've been reading about making an exe however and I'm going to get onto doing that after work. I used the generator on a hosted Ubuntu session and it was pretty slow. If I can get exe working on my windows machine, it has 2 x R9 290X cards in it, that I'm hoping to use to speed things up a bit.

I'll send you link if I get it sorted though.
 
  • Like
Reactions: splawik21

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Ahh, OK. Great. Just need to import private key. Thank you!

And no, no exe. I just ran 'make' to compile it. I've been reading about making an exe however and I'm going to get onto doing that after work. I used the generator on a hosted Ubuntu session and it was pretty slow. If I can get exe working on my windows machine, it has 2 x R9 290X cards in it, that I'm hoping to use to speed things up a bit.

I'll send you link if I get it sorted though.
Thank you! I've been so busy with work and after work I got so tired so I haven't tried to compile this on the VS (which I need to install also on another computer).. I'm glad you're doing this. :)
 
  • Like
Reactions: calnaughtonjnr

splawik21

Grizzled Member
Dash Core Team
Moderator
Foundation Member
Dash Support Group
Apr 8, 2014
1,917
1,274
1,283
Thank you! I've been so busy with work and after work I got so tired so I haven't tried to compile this on the VS (which I need to install also on another computer).. I'm glad you're doing this. :)
me too ;0
 

yidakee

Well-known Member
Foundation Member
Apr 16, 2014
1,812
1,168
283
Woohoo !!

ETA: 21 days using a -D option with 1 core VM Ubuntu with 2GB ram! :D

Have to ring up my GPU mining buddy
 

splawik21

Grizzled Member
Dash Core Team
Moderator
Foundation Member
Dash Support Group
Apr 8, 2014
1,917
1,274
1,283
had the same,,,difficulty was 888457612959 did 5 out of 888 today after 12 hours...so I stopped it......with gpu on windows would be better ;)
 

Rux

Member
Mar 9, 2014
68
32
58
Any chance someone could compile it for windows?

i have a bunch of gpu's 290x and 280x that i can use, i can even do some hashing for new address if someone wants it, but rigs are on windows because of proper fan control i had problems regulating it on linux
 
Last edited by a moderator:

daf

Active Member
Oct 18, 2015
176
133
103
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.
 
Last edited:
  • Like
Reactions: med4u and UdjinM6

med4u

New Member
Feb 9, 2016
7
8
3
France, Paris
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.
I have forked this project and added your instructions and it works on my MacOs Mojave. Few fixes needed (number of processor threads for example) and a GUI would be great .
You can find it here https://github.com/med4u/DashVanityGen !