Script Playground
Experiment with a simplified version of Bitcoin Script! Choose an example or write your own. This playground supports basic operations and is for educational purposes only. It doesn't execute actual Bitcoin transactions or interact with the blockchain. Some complex operations and real-world scenarios are simplified or omitted.
Limitations: This playground supports a subset of Bitcoin Script opcodes including OP_DUP, OP_HASH160, OP_EQUALVERIFY, OP_CHECKSIG, OP_RETURN, and OP_ADD. Cryptographic operations are simulated. For comprehensive testing, please use specialized Bitcoin testing frameworks.
Example Scripts:
Write or Edit Script:
Stack
Visual Stack
Stack is empty
Quick Reference:
OP_DUP: Duplicates the top stack itemOP_HASH160: Hashes the top stack itemOP_EQUALVERIFY: Checks if the top two stack items are equalOP_CHECKSIG: Verifies a signature against a public keyOP_RETURN: Marks a transaction as invalidOP_ADD: Adds the top two stack items