About
# UNIFI Trading Platform: A Comprehensive Decentralized Trading Solution
UNIFI is a sophisticated decentralized trading platform that bridges traditional trading interfaces with blockchain technology, offering users a comprehensive solution for cryptocurrency trading with advanced risk management features. Built with modern web technologies and a robust backend infrastructure, UNIFI combines the security and transparency of blockchain with the user experience of traditional financial applications.
## Core Architecture and Technology Stack
The platform utilizes Next.js 15 with TypeScript for the frontend, providing a seamless single-page application experience with server-side rendering capabilities. Tailwind CSS delivers responsive, utility-first styling, while Radix UI primitives ensure accessibility and consistency. The backend is powered by Hono, a lightweight web framework designed for TypeScript environments, with Prisma ORM and PostgreSQL for robust data persistence. The authentication system implements JWT tokens with bcryptjs for secure password hashing, while Zod handles schema validation.
## Advanced Trading Features
UNIFI integrates with the 1inch protocol, enabling users to access the best possible exchange rates across multiple decentralized exchanges simultaneously. This aggregation ensures optimal pricing while minimizing slippage. The platform supports multiple order types including market orders, limit orders, stop-loss orders, and take-profit orders, allowing traders to implement sophisticated strategies while maintaining risk control.
Real-time price data from Binance API provides accurate market information displayed through interactive PriceChart components supporting multiple timeframes. The platform's portfolio tracking system enables continuous monitoring of positions and performance, with comprehensive analytics including real-time balance tracking and profit/loss calculations.
## Web3 Integration and Security
The platform leverages Reown AppKit for seamless Web3 wallet integration, supporting popular wallets like MetaMask and WalletConnect. This non-custodial approach ensures users retain full control over their private keys and funds. The authentication system supports both traditional email/password registration and Web3 wallet-based authentication, accommodating users with varying blockchain experience levels.
## Portfolio Management and Analytics
The dashboard provides comprehensive portfolio analytics with real-time balance tracking, profit/loss calculations, and performance metrics. Users can view detailed trading history, track completed trades, and monitor active orders. The portfolio view displays holdings across different cryptocurrencies with change percentages and current market values. The order management system tracks orders through their entire lifecycle, maintaining detailed trade history with transaction hashes and execution timestamps.
## Cross-Chain Capabilities
UNIFI supports cross-chain trading through the 1inch protocol's aggregation, allowing users to trade assets across different blockchain ecosystems. The token selector provides access to a comprehensive list of supported tokens, including major cryptocurrencies and various ERC-20 tokens, with up-to-date information including addresses, decimals, and logos.
## User Experience and Interface Design
The user interface prioritizes both functionality and aesthetics, with a clean dashboard layout providing quick access to essential information. The swap interface features real-time quote updates, slippage controls, and transaction preview capabilities. Responsive design ensures optimal functionality across desktop and mobile devices, while comprehensive loading states and error handling provide clear user feedback.
## API and Integration Architecture
The backend API is built with OpenAPI specifications, providing comprehensive documentation and enabling easy third-party integration. The modular architecture supports independent development and deployment cycles, while TypeScript throughout the stack ensures consistency and reduces runtime errors.
UNIFI represents a comprehensive solution for decentralized trading that combines traditional financial platform benefits with blockchain innovation. Its focus on user experience, security, and functionality makes it an ideal choice for both novice and experienced cryptocurrency traders seeking a reliable, feature-rich trading platform.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






