LogoLogo
WebsiteExchangeEarly Bird ActivitiesAffiliateLearning CenterBlog
  • TL;DR
  • Glossary
  • Introduction
    • Letter from the Founders
    • Industry Trends & Development Strategy
    • Market Challenges & User Demands
    • Competitive Landscape & Market Potential
      • Market Potential Overview
      • Key Competitors
  • EVEDEX Solution
    • The Concept
    • Mission & Core Values
  • Strategic Approach
    • Empowering Users Through Decentralization
    • Enhancing User Experience & Accessibility
    • Strengthening Privacy & Security
    • Providing Comprehensive Education
    • Fostering Community-Oriented Governance
    • Ensuring Fair & Transparent Copy Trading
    • Expanding the Ecosystem
    • Promoting Financial Inclusion
  • Key Features & Components
    • Advanced Layer 3 Infrastructure
      • What is Rollup?
      • Prerequisites & Advantages of Choosing custom L3
      • Eventum L3 Solution
    • Trading Platform & Matching Engine
      • Perpetual Futures Trading Fundamentals
      • Technical Overview
      • Arbitrum L3 and on-chain settlement
      • Off-chain Orderbook
        • Matching Engine Overview
      • Take-Profit and Stop-Loss (TP/SL)
      • Entry price and PnL (Profit and Loss)
      • Order Types
      • Index Price and Mark Price
      • Margins
      • Liquidations and Auto-Deleveraging (ADL)
      • Trading Fees
      • One-Click Trading
      • Funding Rate
      • Deposit & Withdraw
      • Market Makers and Liquidity Provision
      • Contract Specifications
    • Enhanced User Experience & Account Abstraction
      • What is Account Abstraction?
      • Benefits of Account Abstraction
      • Technical Implementation
    • Comprehensive Educational Resources
      • EVEDEX Academy
      • Core Educational Areas
      • Risk Disclosure
    • Transparent & Fair Copy Trading
      • Copy Trading Quality Assurance & Certification
    • Gamification & Loyalty Program
      • Affiliate Program
      • Level Progression & Skill Allocation
      • Subscription Tiers: Prime & Ultimate
  • Deployed Contracts
  • Roadmap
  • FAQ
  • Guides
    • Futures Trading
  • Legal
    • European Union (EU)
      • Terms of Use - European Union
      • Privacy Policy - European Union
      • Cookie Policy - European Union
      • Affiliate Agreement
    • Global
      • Terms of Use - Global
      • Privacy Policy - Global
      • Cookie Policy - Global
      • Affiliate Agreement
Powered by GitBook
On this page
  • EVEDEX Core Engine (Backend)
  • Off-chain Order Book
  • Interaction Between EVEDEX Core Engine and Matcher
  • Our Eventum L3 network (Arbitrum-based) and on-chain settlement
  • Interaction Between EVEDEX Core Engine and Blockchain
Edit on GitLab
  1. Key Features & Components
  2. Trading Platform & Matching Engine

Technical Overview

PreviousPerpetual Futures Trading FundamentalsNextArbitrum L3 and on-chain settlement

Last updated 1 month ago

Modern cryptocurrency exchanges are complex mechanisms consisting of various interconnected modules. EVEDEX operates on a hybrid model that combines the best aspects of centralized and decentralized exchanges: the order matching process functions similarly to centralized platforms, ensuring speed and efficiency, while order settlement occurs in a decentralized manner, directly between users' wallets.

In this article, we will examine the operation principles of the EVEDEX exchange. We have chosen to break down the system into modules and describe each one and its interactions.

EVEDEX Core Engine (Backend)

The backend is the heart of the exchange, serving as its central element and interacting with all entities. While the following list highlights some of its primary functions, in reality, the backend performs many more tasks:

  • User Information: Maintains data about user accounts, including balances, open positions, position history, and order details.

  • Order Management: Tracks created and executed orders.

  • Notifications: Alerts users about important events.

  • Liquidation Processes: Initiates liquidation procedures when necessary.

Off-chain Order Book

An off-chain order book (Matcher) system manages buy and sell orders outside the blockchain. This approach follows the same principle as centralized exchanges, enabling faster order processing and matching. By handling order management off-chain, EVEDEX achieves higher performance and lower latency, which are critical for efficient trading.

The matcher’s responsibilities include:

  • Order Matching: Matches buy and sell orders and places them in the order book.

  • Essential Risk Management: Ensures orders meet risk criteria before execution.

  • Real-Time Updates: Provides live data on the state of the order book and order matching events via WebSocket.

  • No blockchain fees: There is no need to pay any blockchain fees for trade, because we are not using blockchain at all at this step.

We provided a detailed description of the Matcher’s specifications on this .

Interaction Between EVEDEX Core Engine and Matcher

The exchange’s backend communicates with the Matcher through API requests and Websocket. Here’s the workflow:

  1. A user submits an order request signed by their private key.

  2. The backend performs feasibility checks, such as verifying sufficient funds, ensuring the order meets minimum position requirements, and verifying the wallet’s signature.

  3. The backend forwards the validated request to the Matcher.

  4. The Matcher verifies the order signature, processes it, updates its status (e.g., executed, partially executed, pending, or canceled), and records it in the database.

  5. The updated order status is relayed back to the backend.

  6. The filled order will be recorded on the blockchain based on the demand from the backend.

Our Eventum L3 network (Arbitrum-based) and on-chain settlement

On-chain settlement refers to the process of finalizing transactions directly on our L3 blockchain network. Unlike centralized exchanges, where trades are executed and settled off-chain within the exchange's internal ledger, EVEDEX leverages blockchain technology to ensure users' transparency, security, and self-custody.

Our L3 network, Eventum, handles the following:

  • Position and Funds Data: Logs user trading positions and balances.

  • Liquidation and ADL Data: Records liquidation events and ADL (Auto-Deleveraging) adjustments.

  • Funding Rates and Fees: Tracks funding rates and trading fees paid.

  • Auditability: It provides open, verifiable data for anyone to review.

Interaction Between EVEDEX Core Engine and Blockchain

User actions are periodically recorded in the blockchain to verify and ensure the correctness of the backend data*.

Key scenarios include:

  1. Periodic Updates: User position data is written to the blockchain after sufficient changes have accumulated.

  2. Withdrawals: When a user withdraws funds, the data is recorded on-chain to verify backend correctness.

*This feature is currently under development and will be available in future updates.

We have shared the entire journey of our current blockchain solution on this . You can find detailed insights and background information there.

page
page