What Is the Difference between a P2PKH and a P2SH Address?

P2PKH (Pay-to-Public-Key-Hash) is the original, standard Bitcoin address format, starting with '1'. It locks funds to a single public key hash, requiring a single signature for spending.

P2SH (Pay-to-Script-Hash) addresses start with '3' and lock funds to the hash of a script. This allows for more complex spending conditions, such as multisignature requirements, without the sender needing to know the complex script itself.

What Are the Key Differences between Bitcoin’S Script and Ethereum’s Solidity?
What Is the Relationship between a Private Key and a Public Key?
What Is a “Stack-Based” Language and How Does It Contribute to the Security Model of Bitcoin’s Script?
What Is the Difference between a Public Key and a Wallet Address?
How Does a Multisig Wallet Differ from a Standard Single-Key Crypto Wallet?
What Is the Purpose of a “Locking Script” (scriptPubKey) in a UTXO?
How Do Hash Functions Play a Role in the Security of Private Keys and Public Addresses?
What Is the Relationship between a Public Key and a Private Key in ECDSA?

Glossar