Rob nearby players’ staked ETH over ultrasound, then run before they catch you. On-chain.
steal-eth is a real-world heist game where your phone is your weapon, your vault and your alibi. Players stake test ETH on Base Sepolia into a shared smart contract, then carry their phones around as normal.
The heist: a thief scans for nearby players using inaudible ultrasound and picks a target by name, without knowing how much they hold. The victim’s phone can be locked in their pocket, yet it still hears the request and automatically signs a one-time ticket. The thief submits that ticket on-chain, which locks a random 5–25% of the victim’s stake (minimum 0.001 ETH) in escrow, along with a bond worth 20% of the loot from the thief.
The chase: the thief gets a 10-second head start, and only then does the victim’s phone buzz. The victim has 60 seconds to physically find the thief, pulsing a radar that only gets a reply when the thief’s phone is within sound range. If they get close enough, the phones exchange signed messages over sound, and the victim cancels the heist on-chain, recovering the loot and winning the thief’s bond. If the thief escapes until the deadline, they claim the loot and get their bond back. Successful robs count on a global leaderboard.
Why it matters: the game turns physical closeness into something a smart contract can act on. Sound doesn’t travel far and needs no pairing, GPS or central game server, so the only way to win is to actually be there. Detections are silent and only vibrate, so nearby players get no audible clue.
Smart contract: HeistVault is written in Solidity and deployed on Base Sepolia. It holds the vaults, escrow, deadlines, immunity and cooldowns. Tickets and catch proofs are EIP-712 typed signatures in EIP-2098 compact form (64 bytes), because every byte adds air time over sound. The contract recovers the victim from the ticket itself, and each ticket names one thief, so anyone overhearing it can’t use it.
Sound layer: we use ggwave, compiled from C++ into the app through JNI, to send data as multi-frequency tones with Reed-Solomon error correction. We defined a compact binary protocol of six messages (PING, PONG, LOOT_REQ, TICKET, CATCH, CAUGHT), from 7 to 81 bytes. A signed ticket takes about 5.7 seconds to play, which shaped the game’s timers. Replies to a scan use random time slots so phones don’t talk over each other.
Mobile app: the app is built with React Native and Expo, with viem for wallets and chain calls. A custom Kotlin module runs an Android foreground service for the microphone, the speaker and alerts, so the game keeps working with the screen locked. It also shows a permanent notification while the mic is on, and audio is only decoded on the phone, never recorded or uploaded.
Accounts with no backend: the phone talks directly to Neon Postgres over its HTTP SQL endpoint. Since anything in an APK can be extracted, the app only gets a locked-down database role that can call a few checked functions and can’t read tables. PBKDF2 turns the password into two keys on the phone: one logs in, and the other encrypts the wallet key with AES-GCM. So the database never sees the password or plain wallet key, and logging in on a new phone restores the same wallet.
Notable hacks: Inaudible band: we patched ggwave’s protocol table at runtime to raise its ultrasound band from 15–19.5 kHz to 16.5–21 kHz, making it harder for people to hear. Locked-phone timers: Android pauses JavaScript timers in the background, which froze viem’s retries on locked phones. We replaced setTimeout globally so timers also fire from the native service’s heartbeat. Mobile networks: to make connections more reliable on mobile data, we replaced the app’s network client with one that tries IPv4 first and falls back to DNS over HTTPS.

