Order System
CROSSx DEX: Next-Generation On-Chain Order Book Decentralized Exchange
CROSSx DEX enhances the limitations of existing DeFi protocols by introducing an order book-based model and smart contract-driven matching structure, presenting a new standard for decentralized asset interactions.
The CROSSx app provides a wallet interface and only interacts with external blockchain networks upon the user's explicit signature and request. All executions are handled outside the app, which simply guides and displays interactions but does not initiate or conduct any trades itself.
On-Chain Order Book System
The core of CROSSx DEX is a smart contract-powered on-chain order book. Orders submitted by users are recorded and evaluated according to automated contract rules on public blockchains, without any centralized intermediaries.
Each trading pair is managed by a dedicated smart contract order book, and order data is maintained in a decentralized manner. The app only provides the interface for interaction, and no transaction is processed without the user's signature and explicit consent.
Order Book Structure and Parameter Display
Each market defines a set of parameters, displayed within the app:
- Lot Size: The minimum tradable unit for a given market
- Tick Size: The smallest allowed price increment
- Order Limit Rules: Restrictions on max quantity, min/max total value, etc.
(Adjustable through governance mechanisms)
Order Processing and Core Features
1. Order Creation
- Users input order data through the app interface and submit it by signing via their wallet.
- Order information includes direction (acquire/release), order type, validity period, price, and quantity.
- CROSSx does not support in-app deposits or encourage purchases—asset status is verified externally at the time of submission.
2. External Matching Logic Integration
- Signed order data is transmitted to external smart contract logic, where it is automatically matched and evaluated against opposing orders.
- For limit orders, execution is based on the price condition specified by the user. Remaining unmatched orders may be recorded in the external order book.
- Matching is processed according to the order of transaction submission and user-defined parameters.
3. Execution Result and User Confirmation
- When conditions are met, the external contract processes the request and updates the user's wallet accordingly.
- The app does not participate in execution, and users confirm outcomes through their connected wallet.
- Any network fees incurred are determined by smart contracts, and the app generates no revenue.
- All processes are executed transparently via algorithmic logic.
4. Transparency and Verifiability
- Order records and matching outcomes are verified and recorded through blockchain consensus.
- Users can independently verify transaction details via public explorers, ensuring a system where all processes are auditable by anyone.
- All records are immutably stored and cannot be altered.
5. Real-Time Order Book Updates
- Order creation and processing can be reflected in real time, with updates handled via external decentralized consensus mechanisms.
- The app only displays the updated status in the UI and does not include execution features.
- All changes are governed by the underlying blockchain's consensus algorithm.
6. Market Price Tracking and Algorithmic Orders
- CROSSx DEX tracks market prices in real time.
- Based on external network-provided price feeds, users can set up strategic order conditions.
- Conditional and algorithmic order strategies are supported, with all actions initiated by user signatures and processed externally.
Notice: The CROSSx app does not include in-app purchases, and does not provide asset custody or trade brokerage functionality.
All orders, signatures, and asset transfers occur outside the app, on the blockchain, based on user actions. CROSSx only provides the wallet interface and signing UI.
Updated about 1 month ago