Bitcoin UTXOs aren’t assigned to accounts; they are protected by Locking Scripts (scriptPubKey).
To spend a UTXO, the spender must provide an Unlocking Script (scriptSig) that satisfies the locking conditions when evaluated on a stack.
📜 Example: P2PKH (Pay to Public Key Hash)
- Locking script specifies: “Must provide a signature matching Public Key Hash X.”
- Unlocking script provides:
<Signature> <Public Key>.- Nodes execute the combined script; if it returns
TRUE, the transaction is valid!
🧠 Today's Key Takeaway
- UTXOs are locked with Bitcoin Script rules.
- Digital signatures in unlocking scripts prove ownership without exposing private keys.





