Zex Finance
  • Introduction
  • Zex Overview
    • Traditional DEXs
      • Zex vs. DEX
        • Synchronization
        • Verification
    • How CEXs Works
      • Zex vs. CEX
        • TXs Verification
        • On-chain Intraction
        • Custody and Transparency
  • Tech Architecture
    • High-level Architecture
    • Smart Contacts
    • ZexPorta
      • Deposit
      • Withdraw
      • Validators
    • ZexCora
Powered by GitBook
On this page
Export as PDF
  1. Tech Architecture

High-level Architecture

PreviousCustody and TransparencyNextSmart Contacts

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:

  1. 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.

  2. 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.

  3. 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.

Zellular Sequencer
Eigen Layer
The intraction between Zex mudules