FlashDuel

1v1 crypto trading battles with instant, gasless trades powered by Yellow Network.

HackMoney 2026Shipped January 30, 2026 Dormant#ai#payments#gaming#infra#security
Visit Repo
FlashDuel banner

About

FlashDuel is a real-time 1v1 crypto trading game where two players stake the same amount of USDC and compete to grow their portfolio over a short time window. Both players trade the same assets at identical live market prices, so the outcome is purely skill-based. FlashDuel uses Yellow Network’s Nitrolite SDK to run all trading actions off-chain through state channels, enabling instant, gasless execution with no wallet popups during gameplay. Funds are locked safely in smart contracts, and when the match ends, the final state is settled on-chain and the winner automatically receives 95% of the prize pool. The result is a fast, competitive, and intuitive trading experience that feels like a game, but retains full on-chain security and trustless settlement.

How it's made

FlashDuel is built as a real-time web application using Next.js and React on the frontend, with wagmi and viem for wallet connections and message signing. The core trading logic is powered by Yellow Network’s Nitrolite SDK. When a match is created, a Yellow application session is opened and session keys are issued so players can trade freely without repeated wallet popups. All buy and sell actions are sent as signed off-chain state updates through Yellow’s ClearNode WebSocket, which keeps both players’ portfolios synchronized instantly and without gas fees. Both players trade against the same real-time price feed to ensure fairness. Only two on-chain transactions are required: one to lock funds at the start of the match and one to settle the final state when the match ends. On the frontend, several UI components such as the trading panel, portfolio display, and match screens were rapidly prototyped and refined with the help of Claude, which sped up iteration and allowed more focus on gameplay flow and Yellow Network integration. This combination made it possible to deliver a fast, polished, and highly interactive experience within the hackathon timeframe.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 300 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.