BitcoinMachine
Progress0%
12345678

The stack is the computer.

Bitcoin Script is a stack-based language. Every transaction you've ever sent was validated by a tiny program running on a machine with no loops, no variables — just a stack. This course teaches you to read, write, and reason about it.

Try it now

Space to step

This is a real Bitcoin Script interpreter. Step through the opcodes and watch the stack evolve.

Script
OP_2
OP_3
OP_ADD
OP_5
OP_EQUAL
Stack0 items

↑ top of stack

nothing here yet

press Step or Run to push an item

bottom
OP_2Pushes the number 2 onto the stack.
0 stepsReady

Free exploration

Open Playground

All 40+ opcodes, drag-and-drop script builder, live stack machine.

Eight modules. One machine.