Skip to content
DreamArena
dreamDEX perps · Somnia Reactivity

Leverage challenges the chain referees.

Trade real dreamDEX perps and take on Survivor, Streak and Boss runs. The arena contract subscribes to your own position events, and Somnia calls it in the block your position changes. No keeper, no backend, no score anyone can fake.

Live arena

Callbacks

–

Players

–

In a run

–

    Three runs

    Pick a fight with the market.

    Survivor

    Open a position, start the clock, and keep it alive for 5 minutes, 15 minutes or an hour. A liquidation or a full close loses.

    Who ends the run

    A scheduled Reactivity callback, set when the run starts, fires at the deadline second and checks your position on-chain.

    Streak

    Close in profit, again and again. The first losing close ends the run and your best streak goes on the board.

    Boss

    Three profitable closes in a row beat the boss. One losing close and the boss wins.

    How a score lands

    The trade and the score share a block.

    Every run opens its own subscriptions, filtered to one player and one market, and each callback is billed to the player it served, from a small STT credit their run deposits. Connect any wallet and play; what you do not spend is yours to withdraw.

    1. 1

      You trade

      A real order fills on the dreamDEX perp pool. MarginBank emits PositionUpdated for your account.

    2. 2

      The chain calls the arena

      Somnia’s Reactivity precompile matches your subscription and calls PerpsArena in that same block.

    3. 3

      The run moves

      The arena sums the realized PnL from open to flat, scores the close, and updates your streak, boss or survival on-chain.

    The agent

    An AI that trades your wallet and cannot withdraw from it.

    The perps agent is an MCP server. Link its key to your Perps Arena wallet with dreamDEX Link a Bot and it can place, cancel and reduce orders for you. Its limits run in code: allowed markets, order size, leverage, and reduce-only after a set loss.

    See the agent's tools
    > dreamarena_preview_order ETH long 25
      quantity      0.0105 ETH
      leverage      0.03x after fill
      allowed       true
    
    > dreamarena_open_position ETH long 25
      filled        0.0105 ETH
      position      long 0.0105
    
    > dreamarena_open_position DOGE long 25
      refused       DOGE is not in this agent's
                    allowed markets (BTC, ETH, SOL)
    An example session, abridged. Run the real tools in the app's Agent tab.