LogoLogo
back to urani.trade
  • Welcome
  • URANI App
    • The Urani App
    • MEV Projects
  • URANI SWAP
    • Swap tl; dr
    • Technicals
      • MEV tl; dr
      • Urani's Intents
      • Intent Transaction Flow
      • Batch Auctions
      • Urani's Intent Specs
      • Order Types
  • URANI PROTOCOL
    • Protocol tl; dr
    • Technicals
      • Optimization Problems
      • Raking the Agents' Solution
      • Batch Auction Specs
      • Ring (DAG) Trades
      • Order Execution
      • Multidimensional Price Free Market
        • On Solana
          • Solana Fees Overview
          • Solana Transactions Overview
          • Understanding Slippage
        • Urani's Dynamic Fees
      • Oracle Market Data Proxy
      • Security Considerations
      • Intent Gossip Layer Specs
      • Settlement Specs
  • URANI ARENA
    • Arena tl; dr
    • Technicals
      • The PvP Competition
      • Incentives for Operators
      • Reputation Dashboard
      • The Competition Seasons
  • MEV AGENTS
    • Agents tl; dr
    • Technicals
      • Urani's In-house Agents
        • MEV Agent Aleph
        • MEV Agent Bet
      • The Onboarding Process
      • Economic Incentives
      • MEV Agent Specs
      • Setting up an Agent's Graph
      • Building an initial AMM Strategy
      • Liquidity Strategies
        • On Solana
          • Raydium
          • Phoenix
          • Orca
          • Meteora
          • Jupiter
      • Performance and Reputation
      • Solving Cryptomarkets
        • Quantitative Theories and AI-Centric Agents
        • DeFi Glossary
        • In Honor of Jim Simons (1938-2024)
Powered by GitBook
  1. URANI PROTOCOL

Protocol tl; dr

PreviousOrder TypesNextTechnicals

Last updated 8 months ago

The Urani Protocol is a novel orderbook aimed to provide fromthrough:


Solving the Price-finding Routing Problem

One of the most exciting features of the Urani protocol is its implementation of P2P matches for orders with the same assets and compatible quantities. These matches enable trades to achieve the best quotes possible without intrinsic swap fees or slippage.

As you can imagine, this feature allows for secure exchanges between individual swappers. The Urani protocol verifies counterparties' opportunities before exploring alternative liquidity sources.

In a vanilla setup, this could initially be represented as an undirected graph where the nodes correspond to tokens, and the edges represent the exchange rates between them. However, this representation is unrealistic due to reality's complexity (for instance, three-pools or multiple CFMMs could not be incorporated).

A more intuitive representation of a DeFi network is a hypergraph, where edges can connect multiple vertices. Interestingly, routing (arbitrage, swaps, etc.) over a hypergraph can become a convex optimization problem, so it could be efficiently solved to achieve global optimality.

Although P2P matches will be available for the initial v1 (alpha) launch, more advanced ring (DAG) matches will begin to be implemented in future versions of the protocol.

The price-finding routing problem can be modeled as a multidimensional network comprising P2P or ring matches, AMMs, DEXs, LPs, or liquidity sources, where the of the net trade is maximized.

utility function (Ω)
toxic-MEV minimization
swap trades
multidimensional price free market
A bird's-eye view of how the Urani Protocol connects to the other parts of the stack.
High-level lifecycle of an order intent in the Urani Protocol.