Flash

Social trading pool: friends trade off-chain via state channels, settle on-chain once.

HackMoney 2026Shipped January 30, 2026 Dormant#defi#payments#social#infra
Visit Repo
Flash banner

About

Flash is a state-channel trading platform that enables high-frequency, zero-gas trading sessions on Base Sepolia, settled with a single on-chain transaction.

Traditional decentralized trading suffers from high gas costs per transaction and MEV (front-running). Flash solves this by moving execution off-chain into ERC-7824 state channels while keeping rigorous settlement guarantees on-chain. Traders deposit USDC into a shared session pool, execute unlimited trades instantly via off-chain signed messages, and settle only the final net P&L.

Unlike Perp DEXes that require complex oracle engines and liquidation bots, Flash uses a synthetic P&L model similar to CFDs—positions are calculated against live price feeds, and the deposit pool is chemically redistributed at the end of the session. This architecture makes it perfect for social trading groups, competitions, and high-frequency strategies that would be prohibitively expensive on L1 or even standard L2s.

How it's made

Flash is built as a hybrid off-chain/on-chain architecture designed for speed and gas efficiency.

On-Chain (Base Sepolia): The core is the FlashTradeSessionV3 smart contract written in Solidity. It handles:

Pooled Deposits: Users deposit USDC into a shared session vault. Session Keys: We use EIP-712 signatures to register ephemeral session keys with strict on-chain spend limits and expiry times, allowing users to trade securely without signing every transaction with their cold wallet. Synthetic Settlement: Instead of swapping tokens on a DEX, the contract acts as a settlement engine. It verifies the final state and redistributes the pooled funds based on the calculated P&L of each participant. Off-Chain (Yellow Network & Relay): For the trading engine, we integrated the Yellow Network / Nitrolite SDK (ERC-7824). This provides the state channel infrastructure where trades happen.

The Relay: A lightweight Node.js/WebSocket server acts as the communication hub, synchronizing state updates between players and the Solver. The Solver: A background service that acts as the counterparty and referee. It listens to price feeds, calculates real-time P&L, and cryptographically signs state updates. The "Hacky" Part: The most innovative element is our "Zero-DEX" settlement. We realized that for a trading competition or social session, we don't actually need to swap tokens on Uniswap for every trade. We only need to track the value of the positions. We built a custom P&L calculator that mimics a perpetual futures engine but runs entirely as pure logic in the state channel. This allows us to offer an experience that feels like a high-leverage Perp DEX but consumes 99% less gas.,

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?

DormantRepo not reachable

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.

ChainFlash Pro ⚡

ChainFlash Pro is a revolutionary cross-chain high-frequency trading platform

ZaZaRWA

ZaZa-RWA enables instant multi-party RWA swaps using Yellow’s zero-gas state channels.

Social Trade w/Flash

Flash limit and market orders straight from askRoger’s X-powered token leaderboard.