A lightweight, production-ready margin trading interface built on Sui — delivered in under three weeks to establish a key technical partnership in the Sui ecosystem.
DeepBook Margin is the margin-trading layer built on Sui. Our goal was to develop a lightweight, production-ready trading interface in a very tight timeframe — roughly 2–3 weeks. This project was a strategic move to establish a deeper technical partnership with the Sui Foundation while showcasing our ability to deliver high-quality DeFi tools quickly.
Margin trading is inherently complex, and our research showed that users often struggle with three core issues:
Difficulty tracking real-time liquidation thresholds and margin ratios left users exposed to unexpected losses.
Based on technical requirements, we had to support a Separated Account Model — where Spot and Margin accounts are kept apart. This naturally adds friction because users must manually transfer funds before trading.
The initial version only supported Isolated mode — no Cross mode — meaning each position's risk had to be managed individually, increasing cognitive load.
We began by conducting a UX audit of major exchanges to determine the best path forward for our Separated Account requirement.
We compared the Separated Account Model (Binance/Bitget) against the Unified Account Model (OKX/Bybit) to find the right approach.
While unified accounts are easier for beginners, the separated model offers higher transparency on debt and risk — preferred by experienced traders who want full control over fund segregation.
To hit the 3-week deadline, we reused core components from our existing 7K and Liquent codebases — wallet connect, orderbook modules — and adapted them to the margin context.
A dedicated margin overview panel displays equity, borrowed amounts, P&L, and the liquidation threshold — giving traders a complete picture at a glance.
The execution panel supports market and limit orders with an easily adjustable leverage slider, plus integrated real-time margin ratios and liquidation buffers to help users manage isolated positions.
Using the 7K Wallet Connect module, account linking was kept smooth and secure — abstracting away the complexity of the separated account model from the connection flow.
By leveraging our existing design system and technical stack, we successfully delivered the frontend within the 2–3 week target.
The project served as a strong technical touch-point within the Sui ecosystem, positioning us as a go-to UI partner for future Sui DeFi initiatives.
We aligned our communication strategy with the Sui Foundation to emphasize collaboration and shared innovation across the ecosystem.
The final product effectively demonstrates our ability to design and engineer high-stakes financial interfaces under significant time pressure.
Product Design | User Experience Design
I adore solving problems and designing digital products.