Full-Stack Web3 DEX and Perpetuals Trading PlatformFull-Stack Web3 DEX and Perpetuals Trading Platform
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Full-Stack Web3 DEX & Perpetuals Trading Platform (Hyperliquid L1, EVM Swaps & Gamified Contests) 🚀 BigRock Exchange — High-Performance Decentralized Perpetuals & Spot DEX
📌 Project Overview
BigRock is a full-stack, enterprise-grade decentralized exchange (DEX) combining lightning-fast on-chain spot swaps with high-leverage perpetual futures trading. Built with institutional-level performance and Web3 UX in mind, the platform features native wallet integration, real-time order-book sync with Hyperliquid L1, multi-tier KOL/referral reward engines, and gamified global trading contests.

💡 Key Features & Architecture
1. ⚡ Perpetuals Trading Engine (Hyperliquid L1 Integration)
High-Throughput Order Execution: Integrated low-latency market and limit orders with real-time fill synchronization via WebSocket & REST APIs.
Advanced Position Management: Live tracking of margin, leverage, unrealized/realized PnL, liquidation thresholds, and automated TP/SL trigger orders.
Accurate Volume Attribution: Real-time dual-leg tracking (open & close volume tracking) with automated builder fee and rebate split calculations.
2. 🔄 Spot Swaps & On-Chain DEX Aggregation
Instant Swap Settlement: EVM-compatible swap routing with dynamic slippage protection and gas estimation.
Multi-Wallet Support: Seamless connection via Wagmi, Viem, and Web3Modal (MetaMask, Coinbase, WalletConnect, OKX).
3. 🏆 Gamified Trading Contests & Real-Time Leaderboards
Global Competition Engine: Automated tracking for multi-market trading cups (Spot + Perps) with dynamic time-window filtering and minimum notional volume gates.
Dynamic Leaderboard System: High-frequency cached aggregation engine combining swap transactions and perp positions to rank top traders in real-time.
Custom Countdown & Live Status UX: Polished Framer Motion UI showing live tournament states, qualifying badges, and instant tier-based prize breakdowns.
4. 🤝 Tiered KOL & Affiliate Commission System
Automated Affiliate Settlement: Real-time fee splits awarding commissions on both open and close trading positions without affecting exchange latency.
KOL Analytics Dashboard: Custom dashboards for key opinion leaders to monitor active referred traders, generated volume, and claimable rewards.

🛠️ Tech Stack & Architecture
Frontend: React.js, Vite, Tailwind CSS, Framer Motion, Wagmi / Viem, Ethers.js
Backend / APIs: Node.js, Express.js (ESM), WebSockets for real-time orderbook & ticker streams
Database & State: MongoDB (Mongoose) with optimized indexing for high-frequency trade records & aggregation pipelines
Trading Infrastructure: Hyperliquid SDK & L1 API integration, EVM Smart Contract interactions
DevOps & Security: JWT/Role-based access control, environment security, automated fill-sync background daemons

🎯 Key Engineering Achievements & Problem Solving
Dual-Side Volume Tracking: Engineered custom trade lifecycle event hooks to capture and persist both open and closed volumes accurately for regulatory and competition metrics.
Zero-Latency Fee Distribution: Implemented asynchronous background daemons to process KOL commissions and competition eligibility without blocking critical order placement pathways.
High-Frequency Leaderboard Scaling: Reduced leaderboard database query latency by 85% by indexing composite address-volume metrics and utilizing optimistic updates.
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started