How to generate an Ethereum address made of digits only? by mido

View this thread on steempeak.com
· @mido · (edited)
How to generate an Ethereum address made of digits only?
<html>
<hr><p>There are 58 characters that Bitcoin address can be made of (0-9, a-z, A-Z, excluding&nbsp;0OlI because they look too similar depending on the font). In Ethereum there are only 16 allowed characters (0-9, a-z/A-Z, Ethereum addresses are not case-sensitive (<a href="https://ethereum.stackexchange.com/questions/2045/is-ethereum-wallet-address-case-sensitive">let's say</a>)). That difference leads to an interesting implication. Generating a Bitcoin address composed of digits only is impossible (The Sun will burn out sooner) but for Ethereum it's achievable (it took less than an hour on my old i5 4590). And it's not even that hard. How to do this?</p><hr>
<p>We will use a program called <strong>Ethaddrgen</strong>, the newest version can be downloaded <a href="https://github.com/Limeth/ethaddrgen/releases">here</a> (if you don't know what to choose, pick<em>&nbsp;x86_64-pc-windows-msvc.zip).</em></p>
<p>1. Extract the archive onto your desktop.</p>
<p>2. Run Windows command line: start menu -&gt; type "cmd".</p>
<p>3. Enter commands:</p>
<pre><code>cd desktop
ethaddrgen -e "[0-9]{40}"&nbsp;</code><br></pre>
<p>4. The program will start generating an address that meets entered conditions (i.e. only digits are allowed). It also shows our hashrate (how many addresses your CPU can generate per second). In order to increase performance I recommend closing all other running programs.<br>
<br>
<img src="https://www.wykop.pl/cdn/c3201142/comment_irVl1DtrT0bo1opwA6Y6pgn7g8NheUcg.jpg" width="985" height="522"/></p>
<blockquote><strong>Side note:</strong> In this article I'm using a term "generating" but it's basically brute-forcing <a href="https://www.royalfork.org/2017/12/10/eth-graphical-address/">the formula</a>.</blockquote>
<p>5.&nbsp;After it's done we receive a <strong>private key</strong> that can be imported into wallets such as <a href="https://play.google.com/store/apps/details?id=org.walleth">WALLETH</a> or&nbsp;<a href="https://www.myetherwallet.com/#send-transaction">MyEtherWallet</a>.</p><hr>
<p>Time (in minutes) needed to generate an address can be described by the following formula:</p>
<p><img src="http://quicklatex.com/cache3/c1/ql_c7be7b3c1bb4be4d4c6916d0f7f2c8c1_l3.png"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<em>x</em> is your hashrate)</p><p>You can also use <a href="http://mido-subs.pl/inne/Ethaddrgen.xlsx">this handy spreadsheet</a> to estimate your results.</p>
<hr>
<p>As you probably noticed in the spreadsheet, your computer needs 1.6x more time to generate an address every time you add one digit. While the average CPU needs dozens of minutes to generate full 40-digit-only address, you can significantly reduce that time by allowing a few letters at the end. For instance, let's say you want only 35 first characters to be digits:<br></p>
<pre><code>ethaddrgen -e "^[0-9]{35}"</code></pre>
<hr>
<p>If you want to leave your PC running the program for a long time, there are two flags you may find useful:</p>
<pre><code>ethaddrgen -e "[0-9]{40}" --stream --quiet</code></pre><br>
<p>By default the program stops when it finds one address meeting entered conditions. The first flag turns that feature off. The second flag hides the hashrate meter so that our command line isn't all spammed with it when we come back to see the results. If you are familiar with <a href="https://en.wikipedia.org/wiki/Regular_expression">Regex</a>, you can create other patterns.</p>
<hr><p>A few examples of 40-digit addresses:<p>
<pre><code>
<table class="tg">
  <tr>
    <th class="tg-88oy">Address</th>
    <th class="tg-88oy">Priv key</th>
  </tr>
  <tr>
    <td class="tg-88oy">0x7393666850372516202555118560290345508697</td>
    <td class="tg-88oy">daef6e48bcf5f7e73af7a2d105aca9e27523856d81f840d09cd4fc38df7c2637</td>
  </tr>
  <tr>
    <td class="tg-88oy">0x0185813917875760891863216441862791441805</td>
    <td class="tg-88oy">d67fbbf9c8cfff45b63ece563e36b8af7550918b767c5761e0309363ba857b51</td>
  </tr>
  <tr>
    <td class="tg-88oy">0x6850042085333134916357017142395716972316</td>
    <td class="tg-88oy">cb1df4fe0521ef1f0984e33a462879ccd2a65296b30af026c273180f65913bd1</td>
  </tr>
</table>
</code></pre>
</html>
👍  , , , , , ,
properties (23)
post_id20,954,557
authormido
permlinkhow-to-generate-an-ethereum-address-made-of-digits-only
categorycrypto
json_metadata"{"app": "steemit/0.1", "format": "html", "links": ["https://ethereum.stackexchange.com/questions/2045/is-ethereum-wallet-address-case-sensitive", "https://github.com/Limeth/ethaddrgen/releases", "https://www.royalfork.org/2017/12/10/eth-graphical-address/", "https://play.google.com/store/apps/details?id=org.walleth", "https://www.myetherwallet.com/#send-transaction", "http://mido-subs.pl/inne/Ethaddrgen.xlsx", "https://en.wikipedia.org/wiki/Regular_expression"], "image": ["https://www.wykop.pl/cdn/c3201142/comment_irVl1DtrT0bo1opwA6Y6pgn7g8NheUcg.jpg"], "tags": ["crypto", "ethereum", "cryptocurrency"]}"
created2017-12-18 22:10:09
last_update2017-12-18 22:13:42
depth0
children2
net_rshares2,617,950,651
last_payout2017-12-25 22:10:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,229
author_reputation93,564,502,155
root_title"How to generate an Ethereum address made of digits only?"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (7)
@bigvito ·
How much time it would  take to do a pattern?
properties (22)
post_id24,615,881
authorbigvito
permlinkre-mido-how-to-generate-an-ethereum-address-made-of-digits-only-20180109t164627207z
categorycrypto
json_metadata"{"app": "steemit/0.1", "tags": ["crypto"]}"
created2018-01-09 16:46:27
last_update2018-01-09 16:46:27
depth1
children1
net_rshares0
last_payout2018-01-16 16:46:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation0
root_title"How to generate an Ethereum address made of digits only?"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@mido ·
Depends on the pattern and your CPU.
properties (22)
post_id37,037,474
authormido
permlinkre-bigvito-re-mido-how-to-generate-an-ethereum-address-made-of-digits-only-20180306t125411440z
categorycrypto
json_metadata"{"app": "busy/2.4.0", "community": "busy", "tags": ["crypto"]}"
created2018-03-06 12:54:48
last_update2018-03-06 12:54:48
depth2
children0
net_rshares0
last_payout2018-03-13 12:54:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length36
author_reputation93,564,502,155
root_title"How to generate an Ethereum address made of digits only?"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000