1

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
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.