Bitcoin Script Debugger
Step through Bitcoin Script execution and see how the stack changes with each operation.
Create a transaction to use in the script, eg. for OP_CHECKSIG
Script Templates
Simple arithmetic: 1 + 2 = 3
Unlocking Script
Locking Script
Program
Execute script to see program
Stack State
Stack is empty
How to Use the Debugger
- • Choose a template or write your own scripts
- • Use both readable ASM format (OP_DUP OP_ADD) or raw hex
- • Click "Execute Script" to run the interpreter
- • Use "Next" and "Prev" buttons to step through execution
- • Click "Play" to auto-advance through all steps
- • Watch how the stack changes with each operation
Hybrid Interpreter
This debugger attempts to use the real BSV library, with a custom fallback:
- • Tries BSV library first for authentic execution
- • Falls back to custom interpreter if BSV unavailable
- • Supports standard Bitcoin opcodes and operations
- • Real cryptographic functions (SHA256, HASH160)
- • Step-by-step execution visualization
- • Both ASM format and raw hex scripts supported