Post
Topic
Board Bitcoin Discussion
Merits 1 from 1 user
Re: Rare address hall of fame
by
xhomerx10
on 22/10/2018, 19:06:16 UTC
⭐ Merited by strangeu (1)
You can create any arbitrary address simply by putting the correct checksum at the end. You, of course, will not know the secret key, so anything that is sent there is unlikely to ever be received will be destroyed and can never be spent.


FIFY.

Here is an example I made a long time ago:

Code:
11When1DieBuryMeDeepLayTwoXVEY5jv - (Unspent) 0.00000001 BTC
11SpeakersAtMyFeetAPairofXXTyrHor - (Unspent) 0.00000001 BTC
11HeadphonesonMyHeadAndXXXXYUSvnd - (Unspent) 0.00000001 BTC
11ALwaysPLayTheGratefuLDeadWdq4Xo - (Unspent) 0.00000001 BTC

How do you add a check sum? Might come in handy later.


1) create a template of your desired address ie 1waLLobserverburnaddressxxxxxxxxx (the last few characters will eventually be random due to checksum)

2) Base58 unencode your burn address into hex - 000A52498DB787B09EEC7C428B8B0C853EA1C2702C4E117611

3) remove the last 4 bytes from the result and call what's left N - 000A52498DB787B09EEC7C428B8B0C853EA1C2702C4E117611

4) sha256(sha256(N)) - BD0F89693417148626446F3E1EA43A69453FBCF72A024600FB54A2BC34F23387

5) take the first 4 bytes of step 4 and stick it on the end of N - 000A52498DB787B09EEC7C428B8B0C853EA1C2702CBD0F8969

6) base58 encode step 5 - 1waLLobserverburnaddressxxy1oWwkk

done


 

Is there a step missing between 4 and 5?

And as I understand, sha256(sha256(N)) would simply mean "hashing a hash" - correct?

000A52498DB787B09EEC7C428B8B0C853EA1C2702C (from step 3) sha256'd is:
414852558A27373137680508E28F0C3E35481EF766D72CDDFA27084EECBFFAA3
... and when this ^ is sha256'd I get:
3649A20CD93B0A51FDFFF9831E8DC4EBB9FE0883708D2969E79E70AE78FF51B1

Where does BD0F8969 come from in step 4, in this example?

I used this site to hash: https://passwordsgenerator.net/sha256-hash-generator/


 You have to use the binary data rather than the string value.  Probably the tool you are using doesn't convert the string to a hex number so it will use the ASCII code for each character in the string as input.

Try this site -  https://anyhash.com/sha256 and make sure to select the hex checkbox to the right.