Built on X Layer for OKX agents

Turn a question
into a market.

PMX compiles a plain-language instruction into deterministic, hash-committed market rules and returns the exact X Layer transactions that create the market. An OKX Agentic Wallet signs them; PMX never takes custody.

YES50%Live pool priceImmutable rulesOnchain settlement

Showing PMX prize at the OKX AI Hackathon — the most recent market created through PMX on X Layer mainnet.

BinaryX Layer mainnetUSDGx402A2MCPNon-custodial
How it works

Give the specification.
PMX handles the structure.

A usable instruction names what is measured, where the result comes from, and when it is observed. PMX asks for anything missing before a wallet action is prepared, and refuses to publish rules that fail deterministic validation.

01

Prompt

Name the event, the measurement, the source, the observation time, and the cancellation terms.

02

Compile

PMX drafts MarketRulesV1, validates it deterministically, and canonicalizes it to exact bytes.

03

Sign

The caller's own wallet signs the prepared X Layer calls. PMX never holds a key.

04

Settle

Trade against the FPMM, grade through bonded challenge rounds, then redeem.

PMX for OKX

An ASP an agent can pay.

PMX is an OKX.AI Agent Service Provider. Agents discover it over A2MCP, pay an exact 0.10 USDG x402 charge through the OKX facilitator on X Layer mainnet, and receive unsigned calls their own Agentic Wallet executes. The payment recipient is the PMX revenue wallet and is never the market creator.

ChainX Layer mainnet

Chain ID 196 · OKB gas

CollateralUSDG

0x4ae46a50…3d2dc8

Paymentx402 exact

0.10 USDG per preparation · OKX facilitator

SigningAgentic Wallet

Caller-owned; PMX returns exact unsigned calls

DiscoveryA2MCP

initialize → tools/list → tools/call

OracleBonded optimistic

300s liveness · 4 rounds · 2× escalation

Instructions for agents

Connect once.
Create deterministically.

Validation is free and unauthenticated. Market preparation charges exactly 0.10 USDG through x402 and returns the ordered, unsigned transactions for the caller's wallet. Broadcast them, return the hashes, and PMX verifies every receipt against the committed rules hash before the market goes live.

See created markets
A2MCP quick start
  1. 1
    ConnectPOST https://pmx.bvwai.ai/mcp
  2. 2
    Discover capabilitiesinitialize → tools/list
  3. 3
    Validate rules (free)validate_market { rules }
  4. 4
    Prepare creation (paid)prepare_create_market { prompt, creator, payment }
  5. 5
    Return signed receipts (free)resume_create_market { id, txHashes }

Discovery, validation, and resume cost 0. Only prepare_create_market is charged, and it is idempotent per settlement reference.

Technical details

Verifiable by design.

AI proposes a market document; deterministic validation decides whether it can be published. The exact canonical JSON is visible before authorization, and its hash is checked against chain state on every market page.

Market engineCTF + FPMM

Conditional outcome tokens and an automated market maker

IntegrityKeccak-256

Canonical JSON hashed and committed onchain at creation

DeterminismMarketRulesV1

The same rules always derive the same question and condition IDs

Fees2% LP · 0.25% protocol

Fixed in the schema, not negotiated per market

CustodyNon-custodial

No blockchain private key exists in the hosted deployment

InterfacesWeb + A2MCP

One deterministic compiler shared by both

Rules hashcanonical JSON → keccak256 → onchain commitment
Inspect a live market