Bitcoin
Script – Is there really such a thing as a “Bitcoin address”? Since the only thing that requires spending UTXOs is providing the scriptSig,
If you want to use UTXOs, here’s what you need to provide: scriptSig
(or input script or unlock script). in other words, scriptPubKey
The UTXO’s (or output script or locking script) simply defines how to unlock this UTXO. And it doesn’t have to consist of someone’s public key hash (RIPEMD160 hash). I even scriptPubkey
Anyone looking for original content that can be hashed to 0123456789abcdef can use this UTXO. In this case there is actually no recipient address.
So, does there really exist such a thing as a “Bitcoin address”? Or is the “Bitcoin address” only inferred from the following? scriptPubKey
? Most P2PKH, P2SH, P2WPKH, P2WSH, and P2TR transactions use a fairly standard format, so scriptPubKey
.