Zex is designed as a sufficiently decentralized exchange, powered by the on . This architecture ensures high throughput, robust security, and a permissionless trading environment that merges the advantages of centralized and decentralized exchanges.
Zex is composed of three core modules, each serving a critical role in its operation:
Smart Contracts
Zex utilizes three specialized smart contracts to facilitate its ecosystem:
Vault Contract: Manages and secures the assets held within the platform.
User Deposit Contract: Acts as a personal wallet for each user, enabling seamless interaction with the platform.
User Deposit Factory: Automates the deployment of individual user deposit contracts, streamlining onboarding and ensuring scalability.
ZexPorta Module The ZexPorta module continuously monitors blockchain activity, extracting and filtering token transfers relevant to the platform (i.e. user deposits to our platform). It also handles user withdrawal requests, ensuring efficient and secure processing.
ZexCora Module It consist of the Matching Engine as the heart of Zex's trading system. It maintains a comprehensive record of user orders and balances, enabling efficient and accurate order matching. This ensures a smooth trading experience comparable to centralized exchanges while preserving the benefits of decentralization.
In the subsequent sections, we delve deeper into each module, detailing the innovative architecture that makes Zex a game-changer in decentralized trading.