What the addres with prefix s- and prefix m- ?
They are not addresses, they are output scripts that don't have any corresponding address and blockchair.com explorer uses an undocumented method to convert them into these strange looking strings.
I understand that these are scripts. But where to look at the principle of formation. And what is the difference, s, m, d?