Many of us know that a couple of months ago Poly Network got hacked, where they communicate with the hacker through Blockchain messages. So, today I gonna show you, how to send any type of message through blockchain. We can send them through metamask. Before sending messages from the metamask, you need to change some settings in the metamask.
Go to wallet settings→ advanced→ scroll down and turn on ''Hex Data''
Blockchain only supports Hexa Decimal code for sending the message, so we need to change our messages into hexadecimal coding. Many sites convert to hexadecimal, I prefer
https://codebeautify.org/string-hex-converter.
Write whatever text you want, it'll convert your text into code.
Now come to metamask, select any address that you wanna send a message to, put the amount that you wanna send in the hex data, give the coded message, and click send.
After confirmation, view the transaction on the explorer,
click to see more,
you can see that your sent coded message, now click on the
view input as UTF-8, then you can see the message that you have sent.