Pay to public key hash (aka P2PKH), is the most popular type of script, it’s the evolution of pay to public key (aka P2PK), this evolution was necessary to increase the security of transactions, by masking the public key of the receiver with a hash. We explained here the basics about input and output, in this article we’ll go deeper in the subject with P2PKH as an example Ok to make it clear let’s suppose I’m Alice, and I want to send Bitcoins to bob, how do I do it? Do I have to use P2PKH? No! you don’t HAVE TO, you CAN, and maybe you SHOULD, but you don’t HAVE TO Then why SHOULD I? Let’s go a little[…]