Term of the Moment

array


Look Up Another Term


Definition: Bitcoin Script


The stack-based scripting language embedded in Bitcoin transactions. When bitcoins are sent to a recipient, Script commands in an unlocking script (scriptSig) validate the available bitcoins (UTXOs), while Script commands in a locking script (scriptPubKey) set the conditions for spending them. See stack and Bitcoin smart contract.




Inputs Are Unlocked and Outputs Are Locked
The unlocking script validates the Bitcoin inputs, and the locking script sets the conditions for spending the transferred coins. For more details, see Bitcoin transaction.