About
MarginMaster is a decentralised social copy trading protocol built on the Sui blockchain, designed to democratise access to institutional-grade trading strategies whilst maintaining full user sovereignty.
In the current DeFi landscape, retail traders often struggle against information asymmetry and lack the sophisticated tools available to professional market makers. Furthermore, existing copy trading solutions are predominantly centralised, requiring users to entrust their funds to custodial platforms with opaque performance metrics.
MarginMaster solves this by enabling a completely trustless, non-custodial copy trading experience. Users retain full custody of their assets within a personal Vault object, only authorising the protocol to mirror trades from their chosen Master Trader. Our smart contracts, written in Sui Move, leverage the unique object-centric architecture of Sui to deliver sub-second trade execution and instant finality, minimising the critical slippage between the Master's original trade and the Followers' execution.
Technically, the protocol introduces two novel mechanisms to the Sui ecosystem:
Flash Liquidation via 'Hot Potato' Pattern: We utilise a custom FlashLoan struct (a hot potato with no drop ability) to allow liquidators to borrow the necessary capital from the protocol's own vault to liquidate underwater positions. This means liquidators require zero upfront capital, significantly increasing protocol resilience and capital efficiency. Batch Copy Execution: To optimise gas costs and reduce network congestion, our off-chain event indexer captures trade signals and bundles multiple follower executions into a single Programmable Transaction Block (PTB). This ensures that even with hundreds of followers, trades are executed efficiently and atomically. The platform features a fully responsive interface built with React and Vite, offering real-time WebSocket price feeds, interactive charts, and a transparent Leaderboard where every statistic—PnL, Win Rate, and Trade History—is derived directly from immutable on-chain data. MarginMaster provides the transparency of DeFi with the polished user experience of a top-tier CEX.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






