Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Vanity Darkcoin Addresses

Discussion in 'Projects' started by Propulsion, May 5, 2014.

  1. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    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.
     
    • Like Like x 7
  2. DcoinZ

    DcoinZ Member

    Joined:
    Apr 27, 2014
    Messages:
    88
    Likes Received:
    25
    Trophy Points:
    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.
     
  3. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    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
     
  4. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    damn that was my idea! :D
     
  5. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Lol too slow!
     
  6. Lzeppelin

    Lzeppelin Member

    Joined:
    Feb 27, 2014
    Messages:
    285
    Likes Received:
    57
    Trophy Points:
    88
    oh man great work!
     
  7. clayop

    clayop Member

    Joined:
    May 13, 2014
    Messages:
    77
    Likes Received:
    29
    Trophy Points:
    58
    Cool! I'm generating my own address now
     
  8. acidburn

    acidburn Active Member

    Joined:
    May 26, 2014
    Messages:
    467
    Likes Received:
    175
    Trophy Points:
    113
    Huh? Someone want to explain what this is please?
     
  9. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    1,183
    There you go https://en.bitcoin.it/wiki/Vanitygen
    That one is for bitcoin but I guess you'll get the idea.
     
  10. canibalbranco

    canibalbranco New Member

    Joined:
    Jul 2, 2014
    Messages:
    35
    Likes Received:
    14
    Trophy Points:
    8
    A vanity address for darkcoin is funny.
    Sounds like a secret agent who uses uniform! :cool:
     
  11. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,306
    Likes Received:
    2,436
    Trophy Points:
    1,183
    Did you ever notice this? :D

    upload_2014-8-9_23-28-27.png
     
    • Like Like x 2
  12. canibalbranco

    canibalbranco New Member

    Joined:
    Jul 2, 2014
    Messages:
    35
    Likes Received:
    14
    Trophy Points:
    8
    Yes. Certainly is Bruce Wayne! :tongue:
     
    #12 canibalbranco, Aug 9, 2014
    Last edited by a moderator: Aug 9, 2014
  13. Ch0nG

    Ch0nG Member

    Joined:
    Oct 3, 2014
    Messages:
    50
    Likes Received:
    34
    Trophy Points:
    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.
     
    #13 Ch0nG, Oct 10, 2014
    Last edited by a moderator: Oct 11, 2014
  14. elgringo

    elgringo Member

    Joined:
    Sep 23, 2014
    Messages:
    90
    Likes Received:
    87
    Trophy Points:
    78
    would be interested in windows version as well
    Looks very 1337 ;)
     
  15. calnaughtonjnr

    calnaughtonjnr Well-known Member
    Foundation Member

    Joined:
    May 25, 2014
    Messages:
    221
    Likes Received:
    157
    Trophy Points:
    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?
     
  16. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,262
    Likes Received:
    1,837
    Trophy Points:
    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.
     
  17. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    1,183
    Not sure which OS you are on but on ubuntu you can try this
    Code:
    sudo apt-get install libssl-dev libpcre3-dev
    make
     
  18. calnaughtonjnr

    calnaughtonjnr Well-known Member
    Foundation Member

    Joined:
    May 25, 2014
    Messages:
    221
    Likes Received:
    157
    Trophy Points:
    203
    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 Like x 1
  19. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,262
    Likes Received:
    1,837
    Trophy Points:
    1,183
    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.. )
     
  20. calnaughtonjnr

    calnaughtonjnr Well-known Member
    Foundation Member

    Joined:
    May 25, 2014
    Messages:
    221
    Likes Received:
    157
    Trophy Points:
    203
    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 Like x 1
  21. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,262
    Likes Received:
    1,837
    Trophy Points:
    1,183
    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 Like x 1
  22. splawik21

    splawik21 Grizzled Member
    Dash Core Team Foundation Member Dash Support Group Moderator

    Joined:
    Apr 8, 2014
    Messages:
    1,919
    Likes Received:
    1,278
    Trophy Points:
    1,283
    me too ;0
     
    • Like Like x 2
  23. yidakee

    yidakee Well-known Member
    Foundation Member

    Joined:
    Apr 16, 2014
    Messages:
    1,812
    Likes Received:
    1,168
    Trophy Points:
    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
     
  24. splawik21

    splawik21 Grizzled Member
    Dash Core Team Foundation Member Dash Support Group Moderator

    Joined:
    Apr 8, 2014
    Messages:
    1,919
    Likes Received:
    1,278
    Trophy Points:
    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 ;)
     
  25. Rux

    Rux Member

    Joined:
    Mar 9, 2014
    Messages:
    68
    Likes Received:
    32
    Trophy Points:
    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
     
    #25 Rux, Aug 16, 2015
    Last edited by a moderator: Aug 16, 2015
  26. daf

    daf Active Member

    Joined:
    Oct 18, 2015
    Messages:
    175
    Likes Received:
    127
    Trophy Points:
    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.
     
    #26 daf, Mar 30, 2019
    Last edited: Mar 31, 2019
    • Like Like x 2
  27. med4u

    med4u New Member

    Joined:
    Feb 9, 2016
    Messages:
    7
    Likes Received:
    8
    Trophy Points:
    3
    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 !