MITHEX
A centralized crypto exchange built for a client through Mithium: spot trading on a high-performance Go matching engine, 20+ blockchains, and multi-cloud Kubernetes over a WireGuard mesh. P2P and margin trading are under development.
Tech Stack
Overview
MITHEX is a centralized cryptocurrency exchange that my agency, Mithium, has been building for a client since 2025. Spot trading runs on a high-performance matching engine written in Go, and the platform supports deposits and withdrawals across 20+ blockchains. P2P and margin trading are currently under development.
Alongside the client build, Mithium packages the exchange as an offering for other businesses, with module specs, pricing, and onboarding documented so a new client can scope a launch quickly.
My Role
As Founder & Lead Engineer at Mithium I own the architecture and data models for MITHEX, manage delivery across the five-person team, and set the engineering standards the codebase follows.
Architecture
┌──────────────────────────────────────────────────────┐
│ Next.js web app & admin │
├──────────────────────────────────────────────────────┤
│ NestJS API & account services │
│ PostgreSQL · MongoDB · Redis · Kafka │
├──────────────────────────────────────────────────────┤
│ Go matching engine (spot) │
│ dedicated nodes sized through capacity planning │
├──────────────────────────────────────────────────────┤
│ Wallet & chain integrations (20+ networks) │
└──────────────────────────────────────────────────────┘Matching Engine
The order book and matching logic live in a dedicated Go service. Keeping the hot path in Go, separate from the NestJS account and API layer, lets the engine run on its own nodes with resources sized from capacity planning rather than sharing a pool with request-handling services.
Backend Services
Accounts, orders, balances, and admin tooling are NestJS services. PostgreSQL holds transactional records, MongoDB holds document-shaped data, Redis handles caching and real-time state, and Kafka carries events between the matching engine and the rest of the platform.
Multi-Chain Support
Deposits and withdrawals are integrated for 20+ blockchains behind a single internal interface, so listing a new network is an integration task rather than a redesign.
Infrastructure
MITHEX runs on Kubernetes clusters spread across multiple cloud providers, connected over a WireGuard mesh. This keeps the exchange independent of any single provider and lets the matching-engine nodes be placed and sized separately from the general-purpose workloads.
Status
- Spot trading on the Go matching engine is live for the client.
- 20+ blockchain integrations are in place.
- P2P trading and margin trading are in active development.
Technologies Used
- Matching Engine: Go
- Backend: NestJS
- Frontend: Next.js
- Data: PostgreSQL, MongoDB, Redis
- Messaging: Kafka
- Infrastructure: Kubernetes, WireGuard mesh across multiple cloud providers