Crypto Exchange
A decentralized crypto exchange dApp for swapping an ERC-20 token against USDT on BNB Smart Chain, with live pricing and charting.

The Goal
Build a decentralized exchange dApp where users can swap an ERC-20 token for USDT on BNB Smart Chain with live pricing, without relying on a centralized exchange.
Challenges Faced
- Verifying on-chain balances and token approvals reliably before executing a swap
- Displaying live, multi-timeframe price data without janky loading states
- Integrating wallet-based authentication securely for transaction signing
- Structuring a fast-building, scalable frontend for a fast-moving personal project
Solutions
- Built a buy/sell swap flow with real-time on-chain price fetching, balance verification, and token approval against custom smart contracts
- Implemented a live price chart with multiple timeframe views (5m/10m/15m/30m/1D) using Recharts with responsive, animated loading states
- Integrated MetaMask for wallet-based authentication and transaction signing
- Structured the app with React 19, Vite, and Redux Toolkit for fast builds and scalable state management
Key Features
- MetaMask wallet integration for authentication and transaction signing
- Real-time on-chain price fetching and buy/sell swap flow with balance verification and token approval
- Live price chart with multiple timeframes (5m/10m/15m/30m/1D) using Recharts
- Responsive, dark-themed UI with tabbed navigation, real-time toast notifications, and gradient-based visual effects
Technologies
React 19Web3.jsRedux ToolkitTailwind CSS 4RechartsVite
Have a similar project in mind?
Tell my AI assistant what you're looking to build.
Start a Conversation