Lethean Trade DEX — Frontend
Next.js web application for the Lethean decentralised exchange.
Quick Links
- Setup — Docker deployment and configuration
- Pages — Application pages and features
- Development — Local development setup
Overview
The Trade DEX frontend provides a web interface for:
- Token Swaps — Exchange LTHN and supported assets
- P2P Trading — Peer-to-peer order book with escrow
- DEX Trading — On-chain decentralised exchange
- Order Management — Create, view, and manage trade orders
- User Profiles — P2P trader profiles and reputation
Stack
| Technology |
Version |
| Next.js |
Latest |
| React |
18 |
| TypeScript |
Strict mode |
| Node.js |
22 |
Architecture
The frontend connects to the Trade API backend (lthn/trade-backend) for all data operations. It does not connect to the blockchain daemon directly.
User → Trade Frontend (:3338) → Trade API (:3336) → Daemon RPC (:36941)