How would I generate a valid vanity address for destroying coins?

1

2

I want to generate very long vanity addresses, with the relaxed constraint that I don't need the corresponding private key, they only need to be valid Bitcoin addresses. How would I do this?

Example:

Input Prefix: 1XXXXXXXXXXXXXXXXXXXX
Output: 1XXXXXXXXXXXXXXXXXXXXUW9j3f3

Brian

Posted 2014-01-11T04:07:32.410

Reputation: 19

2Here's one: 1AnyCoinsSentHereAreDestroyedKPAHmDiego Basch 2014-02-22T06:02:14.217

3n00b question, why would you want to do this?Phill Pafford 2014-02-24T14:06:10.297

Answers

6

You can do this manually using the hex/base58check converter (such as the converter on brainwallet.org)

  1. Remove the starting 1 and convert from base58 XXXXXXXXXXXXXXXXXXXXXXXXXXX to hex: 25c7415deb828c49ccb799c452ae17589bca1af2 (make sure result is 24 bytes)

  2. Remove last 4 bytes to get a 20-byte hash: 25c7415deb828c49ccb799c452ae17589bca1af2 -> 25c7415deb828c49ccb799c452ae1758

  3. Convert from hex 25c7415deb828c49ccb799c452ae1758 to base58check: 1XXXXXXXXXXXXXXXXXXXXXYDgWVE

Final result is valid 1XXXXXXXXXXXXXXXXXXXXXYDgWVE

uminatsu

Posted 2014-01-11T04:07:32.410

Reputation: 1 061