Maybe you have some online-service for make hex-code and bitcoin address?
Here you go.
To convert a string to hex, use
this website. Make sure the string you're converting to hex is 20 characters (spaces count as characters), so they can be 40 characters (20 bytes) when you convert to hex, which is equivalent to the Hash160 of the public key.
For example if we use
as our text we want to insert in the blockchain, we'll use the website above and we get
7465737420706f737420706c732069676e6f7265
as the hexadecimal.
Next we need to convert the Hash160 above to a bitcoin address. For that we'll use
this website When we paste the code above to the Hash160 field, we get the following bitcoin address:
1BcSvC4eTCXHFDXWrqi9TrZBg4WxDSok78
To get our message
into The blockchain, we simply send some bitcoins to the address generated.
Send a minute amount of bitcoins because you can't recover them at all.
So to test this, I sent 600 sats to the address, you can see the
Transaction hereIf you want to see your message, you have to select "show scripts and Coinbase"
Then look at the output script for the transaction, you'll see
DUP HASH160 PUSHDATA(20)[7465737420706f737420706c732069676e6f7265] EQUALVERIFY CHECKSIG
Something looks familiar, it's our message in hex:
7465737420706f737420706c732069676e6f7265
To convert it to string to read what it says, use
this website And paste it there.
It gives us back our message