jagnani73P.03
[the record]STATUS: NTU SINGAPORE — AUG 2026

Dewls

SIGN PROTOCOL PRIZE · ETHONLINE 2024
on-chain arcade wagering — real stakes on 1v1 games, every win sealed as a Proof-of-Victory
fig. 1 — one wager, settled: stake → play → attestconnect 4 · 1v1 · winner takes the pot
0x4f2…a91· 25 USDC  ⇄   0x7c2…d04 · 25 USDC — pot locked

STAKE

2 × 25 USDC locked on-chain

PLAY

server-enforced, move by move

SETTLE

the pot pays out on-chain

ATTEST

Proof-of-Victory · Sign Protocol

awaiting result…
01THE PROBLEMtrust, removed from the referee

Online wagers run on trust: a server decides who won, and the money moves — or doesn't. Dewls makes the outcome itself the receipt.

Dewls is an arcade wagering platform: 1v1 games — Rock-Paper-Scissors, Connect 4 — with real stakes. Every match settles on-chain, and the winner earns a Proof-of-Victory: a cryptographic attestation signed via Sign Protocol that immutably records the result on a global leaderboard. Weekly seasons share a prize pool across the weekend's top three.

02THE ARCHITECTUREthree chains · one server-enforced engine

Settlement is deliberately multi-chain — contracts on Morph L2, Hedera (HSCS + HTS), and Rootstock — while a single real-time engine enforces every rule server-side, so the client can never cheat.

01

AUTH

one door for web2 and web3 players

Web3Auth

02

PLAY

real-time 1v1, logic enforced server-side

Socket.IO · Redis

03

SETTLE

the wager pays out on-chain

Morph L2 · Hedera · Rootstock

04

ATTEST

Proof-of-Victory to the global leaderboard

Sign Protocol · XMTP notify

STACK — TypeScript · Next.js · Express · Socket.IO · Redis · Supabase · Web3Auth · XMTP · Sign Protocol
03THE HARD PARTwebsocket state ⇄ on-chain finality

Real-time play, gated by chain finality — the game loop could only advance once the previous move was cryptographically committed:

01

commit-gated turns

sequenced contract calls before the next move unlocks

02

atomic game state

Redis locking keeps concurrent moves consistent

03

server-side rules

no game logic trusted to the client

04

HSCS deploys

undocumented bytecode upload errors, debugged low-level

04IN THE WILDplates 01–06 · ETHOnline 2024