☕ You Just Got Scammed

Experience the double-spending problem firsthand

Difficulty: Beginner Mode

Your Story

You own a small coffee shop. A friendly customer named Alice walks in and orders a $5 latte. She pays with "DigiDollars" - a new digital currency everyone's using. The payment shows up in your account instantly! You hand over the coffee with a smile. But then... something strange happens.

You're running a coffee shop accepting DigiDollars - a digital currency without a shared ledger. In early digital payment systems, every merchant had their own copy of the ledger. Messages could arrive out of order or at the same time. If two payments using the same coin ID reached different servers before they could talk to each other, both might appear valid — at least for a few moments.

You're operating a merchant node in a distributed payment network without Byzantine Fault Tolerance. Each node maintains a local ledger copy with eventual consistency. Alice will exploit network latency and lack of atomic global state to broadcast conflicting transactions that temporarily appear valid to different nodes. This demonstrates why trustless digital currency requires consensus mechanisms like proof-of-work to establish canonical transaction ordering.

☕ Your Coffee Shop

Watch your day unfold...

YOUR BALANCE
$100.00
Business is good!