P2PK
Pay-to-Public-Key — an early Bitcoin output type that locks coins directly to a public key.
P2PK (Pay-to-Public-Key) is a transaction output type that requires a valid signature for a given public key to spend. Unlike P2PKH, it does not use a hash of the public key, so the public key is revealed when the output is created.
- Used in early Bitcoin blocks and coinbase rewards
- P2PKH became preferred for privacy and compact addresses
- Modern wallets rarely produce P2PK outputs
Related Terms
P2PKH
→A common script type where the output can be spent by proving knowledge of the private key corresponding to a hashed public key.
Signature
→A cryptographic proof that a message was authorized by the holder of a private key.
Sighash
→Flags that specify which parts of a transaction are covered by a signature.
Output
→A spendable unit of cryptocurrency created by transactions; referenced as an input when later spent.
All terms and definitions may update as the Cryptionary improves.