Bitcoin Forum
May 21, 2019, 01:50:04 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Guide] Ethereum custom-adress ("Vanity Address") [GPU]  (Read 140 times)
Nestade
Sr. Member
****
Online Online

Activity: 546
Merit: 275



View Profile WWW
April 01, 2019, 07:15:44 AM
Last edit: April 22, 2019, 05:54:09 AM by Nestade
Merited by Scheede (3), joniboini (2), hugeblack (1), 1miau (1)
 #1

In his guide "How to create your customized Bitcoin-Address (vanitygen) – step by step" 1miau already explained how to create a "Custom" Bitcoin address using vanitygen.

Examples (BTC):
1fudCz15sHGR8L2YQnaG4JVMjMQpaDo37
1BTCTUnYLskK7N9nXb17wf6oVYMYrX5WHG
1DogemNVw8AZnMf3cB4L1wijGnr9DVKzia
1Fomo7V86nWrjdv6JzU7yavtp5hfzZWsZr
Source: https://bitcointalk.org/index.php?topic=5096373.0  ||  https://bitcointalk.org/index.php?topic=5125703.msg50359232#msg50359232

However generating such a custom address does not only work for Bitcoin, but also for Ethereum.

Bitcoin addresses are Base58 encoded and can contain the following characters:
Code:
1 2 3 4 5 6 7 8 9 a b c d e f g h i j k m n o p q r s t u v w x y z A B C D E F G H J K L M N P Q R S T U V W X Y Z

When creating our Ethereum address, we unfortunately have to limit ourselves to the hexadecimal system with the following characters:
Code:
0 1 2 3 4 5 6 7 8 9 A B C D E F

A few examples of custom ETH-addresses:
0xcafebabeb69f2361cec1106cb26e3f422b65442f
0xdeadbeef36072d66d93b2c9fda370c06964262b2
0xbadc0dedf5b784a70bc9a8c8476b5c88e9f6f49e
0x11111111262b236c9ac9a9a8c8e4276b5cf6b2c9

Example of "Hexspeak":
https://en.wikipedia.org/wiki/Hexspeak


For creating our desired address, we'll need some computing power and the time it takes to score a hit increases with the length of our prefix.

Available Tools:

VanityEth
- only uses CPU (-> slow)
- only available for Linux
- Open Source
- trustworthy source
https://github.com/MyEtherWallet/VanityEth

profanity
- uses GPU (-> much faster)
- Windows/Linux
- Open Source
https://github.com/johguse/profanity

vanity-eth.tk (online, therefore not recommended) [1]
- only uses CPU (-> slow)
- browser-based
- Open Source
https://github.com/bokub/vanity-eth


Due to the much better performance compared to the other tools, I decided to use "profanity" for this guide. Finding the address 0x123456789c7588583381BaB463C81e88A4BfFcEd took me around 15 minutes with a RX480.
_______________________________________________________________________________ _______________________________________________________

First we need the current release of profanity, which can be found at the following link:
https://github.com/johguse/profanity/releases

Currently (12.03.2019) version 1.22 is the most recent one, so we're downloading "profanity-v1.22-x64.zip".
Direct-Link: https://github.com/johguse/profanity/releases/download/v1.22/profanity-v1.22-x64.zip



For the sake of simplicity we then create the folder "profanity" on our C:\ drive and extract the contents of the .ZIP file into the folder we just created.
Now we start a command prompt by entering "CMD" in the Windows search or open the run dialog box by pressing the [WINDOWS] + [R] key at the same time and start the command prompt by entering "CMD".



Now we're switching to our folder containing the contents of the .ZIP file by typing "cd C:\profanity" into the command prompt.



We're ready to start generating our address (I'd recommend disconnecting your internet connection first).
Assuming we'd like to have an address starting with the prefix  "0xDEADBEEF" (e.g. 0xDEADBEEFxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx), we'll have to use the following command:

Code:
profanity.exe --matching DEADBEEF
Note: My GPU was indexed as "GPU1" so I had to skip "GPU0" by using the parameter "-s 0" (=> profanity.exe -s 0 --matching DEADBEEF)



Depending on the lenght of your prefix and the performance of your GPU it may take a while to find an address with the desired prefix.



As soon as we've found an address, which we are satisfied with, we can stop the execution of profanity by simultaneously pressing [STRG]+[C] - now all we have to do is writing down our private key (or copy + paste) [2],[3] and we're done.

Profanity also supports other modes - for more information check the usage-instructions below:
Code:
usage: ./profanity [OPTIONS]

  Basic modes:
    --benchmark             Run without any scoring, a benchmark.
    --zeros                 Score on zeros anywhere in hash.
    --letters               Score on letters anywhere in hash.
    --numbers               Score on numbers anywhere in hash.
    --mirror                Score on mirroring from center.

  Modes with arguments:
    --leading <single hex>  Score on hashes leading with given hex character.
    --matching <hex string> Score on hashes matching given hex string.

  Advanced modes:
    --contract              Instead of account address, score the contract
                            address created by the account's zeroth transaction.
    --leading-range         Scores on hashes leading with characters within
                            given range.
    --range                 Scores on hashes having characters within given
                            range anywhere.

  Range:
    -m, --min <0-15>        Set range minimum (inclusive), 0 is '0' 15 is 'f'.
    -M, --max <0-15>        Set range maximum (inclusive), 0 is '0' 15 is 'f'.

  Device control:
    -s, --skip <index>      Skip device given by index.
    -n, --no-cache           Don't load cached pre-compiled version of kernel.

  Tweaking:
    -w, --work <size>       Set OpenCL local work size. [default = 64]
    -W, --work-max <size>   Set OpenCL maximum work size. [default = 1048576]
    -i, --inverse-size      Set size of modular inverses to calculate in one
                            work item. [default = 256]
    -I, --inverse-multiple  Set how many above work items will run in
                            parallell. [default = 65536]

  Examples:
    ./profanity --leading f
    ./profanity --matching dead
    ./profanity --matching badXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXbad
    ./profanity --leading-range -m 0 -M 1
    ./profanity --leading-range -m 10 -M 12
    ./profanity --range -m 0 -M 1
    ./profanity --contract --leading 0

  About:
    profanity is a vanity address generator for Ethereum that utilizes
    computing power from GPUs using OpenCL.

    Author: Johan Gustafsson <profanity@johgu.se>
    Beer donations: 0x000dead000ae1c8e8ac27103e4ff65f42a4e9203
Source: https://github.com/johguse/profanity



If you have any questions please feel free to ask anytime.




_______________________________________________________________________________ _______________________________________________________
[1] I didn't go into vanity-eth.tk in detail, but according to its Github it can also be used offline:
Quote
Once the web page is loaded, you can turn off the internet and continue playing, it will work seamlessly
You can also download the latest build of Vanity-ETH here and use it on a completely offline computer
The code is 100% open source and available on Github. You can review it as much as you want before using it
Source: https://github.com/bokub/vanity-eth

[2] [MyEtherWallet] Creating a (new) keystore-file using your private-key
[3] [Guide] MyEtherWallet Offline Transactions [SECURITY]


© Nestade [=xuNsh1ne] 30.03.2019

█▀▀█
██▄█
BESTMIXER.IO // BEST BITCOIN MIXER
█▀▀█
██▄█
1558446604
Hero Member
*
Offline Offline

Posts: 1558446604

View Profile Personal Message (Offline)

Ignore
1558446604
Reply with quote  #2

1558446604
Report to moderator
NEW GAME FORMAT
JACKPOT UP TO $8000+
Guess The Symbols Of a Real Ethereum Hash
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1558446604
Hero Member
*
Offline Offline

Posts: 1558446604

View Profile Personal Message (Offline)

Ignore
1558446604
Reply with quote  #2

1558446604
Report to moderator
1558446604
Hero Member
*
Offline Offline

Posts: 1558446604

View Profile Personal Message (Offline)

Ignore
1558446604
Reply with quote  #2

1558446604
Report to moderator
1558446604
Hero Member
*
Offline Offline

Posts: 1558446604

View Profile Personal Message (Offline)

Ignore
1558446604
Reply with quote  #2

1558446604
Report to moderator
joniboini
Hero Member
*****
Offline Offline

Activity: 560
Merit: 1029



View Profile WWW
April 01, 2019, 07:37:02 AM
 #2

Nice guide. I personally would use ENS instead of vanity on Ethereum. Characters are too limited but it's hard to be that useful. Would be great if you also add ENS tutorial for beginners (even though there are dozens tutorials existed already).

███████████
██
██
██
██
██
██
██
██
██
██
██
███████████
#1
███████████
██
██
██
██
██
██
██
██
██
██
██
███████████
BTC 
  ●
   BTC
  BTC  
.
    ▄▄▄▀▀▀▀
 ▄██▀
███        ▄▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄▄▄
▀███▄▄▄▄▀▀▀                 ▀▀▄▄
  ▀▀▀██████████████████████████▀
   ▄█▄     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀██▄▄█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀
      ▄  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
      ▀██▄  ▄▀▀▀▀▀▀▀▀▀▀▀▀▄
        ▀█▀██████████████▀▀
         ▀█▄▄ ▄▄▄▄▄▄▄▄▄▄
            █▀▄▄▄▄▄▄▄▄▄▄▀
             ▀▀▄▄▄▄▄▄▄
.
     BTC
  BTC   
  ●
  BTC  
███████████
██
██
██
██
██
██
██
██
██
██
██
███████████
███████████
██
██
██
██
██
██
██
██
██
██
██
███████████
Nestade
Sr. Member
****
Online Online

Activity: 546
Merit: 275



View Profile WWW
April 04, 2019, 02:42:05 AM
 #3

Nice guide. I personally would use ENS instead of vanity on Ethereum. Characters are too limited but it's hard to be that useful. Would be great if you also add ENS tutorial for beginners (even though there are dozens tutorials existed already).

Hi,

Thank you very much for your feedback. Smiley

I guess creating another english guide about ENS wouldn't really make sense as there are already very detailed guides like:
https://www.coinbureau.com/education/eth-domain-name/

There's only one thing to mention and that's the fact that you'll have to use the old MEW (or MyCrypto) UI.

MyEtherWallet:

Direct link: https://vintage.myetherwallet.com/

Or just visit the MEW website, scroll down and click on "Vintage" as shown in the screenshot below.



MyCrypto:

Direct link: https://legacy.mycrypto.com/

You'll be redirected to the old UI by selecting the "ENS Domains"-Tab anyway.

█▀▀█
██▄█
BESTMIXER.IO // BEST BITCOIN MIXER
█▀▀█
██▄█
fosco333
Full Member
***
Offline Offline

Activity: 896
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
April 04, 2019, 09:44:41 AM
 #4

I know we can creating custom address for ethereum wallet using CPU with vanityETH, but i didn't about Profanity.
If we can use to create custom address with GPU, it will be much faster than using CPU.
How much GPU did you try to get 1 custom address ? Will it be faster if we using multiple GPUs ?

Nestade
Sr. Member
****
Online Online

Activity: 546
Merit: 275



View Profile WWW
April 05, 2019, 08:06:31 AM
 #5

I know we can creating custom address for ethereum wallet using CPU with vanityETH, but i didn't about Profanity.
If we can use to create custom address with GPU, it will be much faster than using CPU.
How much GPU did you try to get 1 custom address ? Will it be faster if we using multiple GPUs ?

Hi,

Well, with my RX480 a 8 character prefix took me 151 seconds and 9 characters (0x123456789) took around 15 minutes.

According to the developer of profanity
Quote
[...]matching eight hexadecimal characters can be done in less than a minute on a high-end AMD graphics card.

Each additional hexadecimal character to be matched increases the time taken by a factor 16. In other words, nine characters takes 16 minutes, 10 characters takes 4h 16m, 11 characters 2.8 days.

My 5x470 + 1x480 rig does ~440MH/s and thus can get 11 characters in only 11 hours.
Source: https://www.reddit.com/r/EtherMining/comments/83o6xd/profanity_fastest_vanity_address_generator_now/

It also depends on your luck but using your GPU makes it possible to find much longer prefixes which your CPU most likely would take an eternity.
Using multiple GPUs should be possible without any problems but I could test it.

█▀▀█
██▄█
BESTMIXER.IO // BEST BITCOIN MIXER
█▀▀█
██▄█
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!