Enter a script to debug in the following textarea. The script is automatically parsed and executed. The step-by-step execution status (incl. stack status) will be shown.
Notice that there are some restriction (some of them are inherited from the backend library, Bitcore):
Hex data should be prefixed by "0x".
Hex data to be pushed onto the stack should be prefixed by the number of bytes to be pushed (e.g. "4 0x01020304") or OP_PUSHDATA? should be used (e.g. "OP_PUSHDATA1 4 0x01020304").
Signature checks such as OP_CHECKSIG and OP_CHECKMULTISIG are not supported (yet).
Users not being familiar with Bitcoin's script language should refer to this article at Bitcoin Wiki.
Tha sample code shown by default is "transaction puzzle" described at Bitcoin Wiki. The first 80byte pushdata is the hex-encoded block header of the genesis block and the second to last push data is the doulbe-SHA256 hash of it, namely the block hash (reversed block ID) of the genesis block.
The input code can be specified by URL query. Use "input" as a key.
Link to This Script
Failed to parse input script. Please check the syntax.