Post
Topic
Board Development & Technical Discussion
Merits 2 from 1 user
Re: 1111111111111111111114oLvT2
by
pooya87
on 27/10/2022, 15:08:35 UTC
⭐ Merited by NotATether (2)
How the fuck do you create an address like this?
You take any 160-bit number you can think of (from 0x00, to 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF), add a version byte in front of it (0x00 for mainnet), double hash the result with SHA256, take the first 4 bytes of this hash (which is called the checksum), extend your version byte plus 160-bit number with the checksum, and pass this final result through Base58Check encoding.
If you do that, you'll get an address with arbitrary characters not what you wanted to have like all ones similar to the one OP shared. In order to get that type of address with a large number of predefined characters you need to start backwards meaning from the address itself (the details were posted before).