I know there are P2PKH, Hash160, P2SH, and some others. I can't really understand the difference between them and why they were created. Why can't we just use one format? Please, help me understand the difference.
Maybe you can just point me to some relevant article.
Thanks!