BitcoinMachine

Free · No signup · Open source ethos

The code that locks
every Bitcoin — run it yourself.

Bitcoin Script is a stack-based language with no loops and no variables — just a stack. BitcoinMachine teaches you to read, write, and reason about it by letting you run a real interpreter, live.

8
Guided modules
40+
Opcodes
50
Runnable examples
Free
Forever, no signup
Live · OP_2 OP_3 OP_ADD OP_5 OP_EQUAL
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

Press Space to step — this is the same engine that runs the course.

See it in 90 seconds

We cracked open the black box.

Watch how a transaction is validated — push two, push three, add, and ask: does it equal five? Then step through it yourself.

Three ways in. One machine underneath.

Eight modules. One machine.

Start with last-in-first-out and build toward the scripts that secure real coins.

CA

Built by Chatzis Athanasios — with Bitcoin since 2012, on one belief: this should be open to everyone.

From your first push, to your first signature.

The stack is the computer. Start where it begins.