ChainFlash Pro ⚡

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

ETHGlobal PragueShipped May 30, 2025Prize winner#defi#infra
Visit Repo
ChainFlash Pro ⚡ banner

About

ChainFlash Pro is a revolutionary cross-chain high-frequency trading platform that combines cutting-edge DeFi protocols to deliver:

  • Instant Settlement: Gas-free trades via Nitrolite (ERC-7824) state channels
  • Cross-Chain Swaps: Bitcoin ↔ Ethereum atomic swaps using 1inch Fusion+
  • Advanced Trading: TWAP, Options, and Concentrated Liquidity strategies
  • Real-Time Pricing: Pyth Network oracle integration with MEV protection
  • Professional UX: TradFi-level trading experience for DeFi users

How it's made

ChainFlash Pro is built as a next-gen cross-chain state channel trading platform, designed to offer near-instant settlement and low-latency execution for professional traders. Here’s a breakdown of how we built it:

🧱 Core Tech Stack

Frontend: Built with Next.js and TypeScript for speed and scalability.

Wallet & Transactions: Leveraged Viem and RainbowKit for seamless wallet connections and transaction handling.

Backend Logic: Managed through smart contracts and real-time interactions with the Nitrolite state channel.

State Channels: We integrated Nitrolite (ERC-7824 standard) to enable off-chain trading state updates and only settle final balances on-chain, drastically reducing gas costs and latency.

Price Feeds: Pyth Network was used for real-time oracle data, ensuring precise pricing for asset swaps.

Swap Aggregation: Integrated with 1inch Fusion API to execute the best swap routes across multiple DEXes.

🔁 Cross-Chain Flow

We utilized Nitrolite's adjudicator and custody contracts deployed on Arbitrum, Polygon, and Ethereum Mainnet. Using their official SDK, we created a system where a user can initiate a trade on one chain and settle on another, using state updates rather than raw on-chain swaps.

🧪 Hacky / Notable Things

We manually crafted Viem clients and adapted them for Nitrolite RPC over WebSocket, which allowed smoother real-time interactions.

To ensure instant UI feedback, we built a local cache syncing mechanism that reflects state updates before final settlement, mimicking centralized exchange UX.

We optimized EVM calldata structures to fit into Nitrolite’s custom StateProof encoding for faster adjudication.

🧩 Partner Tech Benefits

Nitrolite enabled us to bypass L1 gas costs and congestion, simulating high-frequency trading behavior.

Pyth provided secure, real-time pricing—essential for accurate DEX routing.

1inch Fusion API allowed us to offer best-price execution with zero slippage in demo scenarios, giving users the edge of professional tooling.

Prizes

  • Yellow · Best Use of ERC-7824 and Nitro Protocol · Resolve Github Issue
  • 1inch · Extend Limit Order Protocol · 3rd place

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?

Not checked yet.

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.

kata-protocol

KATA Protocol: Cross-chain DeFi platform combining Ethereum ↔ Sui atomic swaps

Blitz Pro

Advanced cross-chain trading strategies bringing CEX-style trading to DeFi powered by 1inch

Unite DefiPrize winner#defi

FusionYield

Multi-chain yield optimizer w/ cross-chain swaps on Cosmos, ICP, Etherlink, Eth via 1inch Fusion+

Zenith DeFi

Zenith DeFi: Instant cross-exchange liquidity via state channels - 1inch integration🚀