Namma global trader

Trade crypto with 0 gas fees using state channels. Swap unlimited times, settle once, Lightning fast

Namma global trader

Created At

HackMoney 2026

Project Description

Nitrolite (Namma) Trader is a gasless, cross-chain DeFi trading app that lets users deposit once into a Yellow Network ERC-7824 state channel, execute many swaps instantly with near-zero marginal cost, and then settle on-chain only when they’re done. Instead of paying gas for every trade, the app keeps fast off-chain state updates inside the channel (so rebalancing and frequent trading feel “web2-fast”), then posts a final settlement transaction to finalize the net result. For cross-chain execution and best-price routing, it integrates LI.FI to aggregate bridges/swaps and surface optimal routes, while keeping the UX simple: the user connects a wallet, deposits, chooses what they want to trade, and the system handles the complexity of routing and settlement. It also supports identity and composability features like ENS resolution (human-readable identities), intent-style flows via Arc Protocol, and hooks-based logic with Uniswap v4 concepts, with the goal of making advanced cross-chain trading feel one-click and understandable. The result is a demo that highlights <$1 gas-like experiences (often effectively $0 per swap inside the channel), sub-second interactions, and a clear “deposit → trade unlimited times → settle once” lifecycle designed for hackathon-ready usability and real scalability.

How it's Made

I built Nitrolite (Namma) Trader as a full-stack dApp that combines off-chain state channels for “gasless” repeated trading with on-chain settlement, and a routing layer for cross-chain execution. The frontend is a Next.js + React + TypeScript app styled with Tailwind, using wallet connectors (e.g., wagmi/ethers) to handle connect, chain switching, and transaction signing; it also resolves identities via ENS so addresses become human-readable. The backend is a Node.js/Express service that orchestrates the flow: it creates and manages channel sessions (ERC-7824-style state channel lifecycle), builds trade intents, requests optimal cross-chain routes/quotes from LI.FI, and returns a clean “action plan” to the UI (what to sign, what to submit, and what the expected outcome is). Partner tech was key: Yellow Network’s ERC-7824 channel model enables the hacky-but-practical “deposit once → trade many times off-chain → settle once” loop, which is what makes the UX feel instant and slashes per-trade gas; LI.FI simplifies cross-chain complexity by aggregating bridges/swaps so we don’t hardcode routes per chain or per DEX; ENS improves usability and trust by making counterparties and recipients readable. Notable hack: we treat each swap as a fast state update inside the channel and only materialize the net result on-chain at settlement, while still showing users route visualization and expected outputs in real time—so the demo feels like high-frequency trading without high-frequency gas costs.

background image mobile

Join the mailing list

Get the latest news and updates

Namma global trader | ETHGlobal