🏴‍☠️ The Dead Pirate Robots
Project · X Layer mainnet

PMX turns a question
into a market.

PMX is an OKX.AI Agent Service Provider. It compiles a plain-language instruction into deterministic, hash-committed market rules and returns the exact X Layer transactions that create the market. The caller's own OKX Agentic Wallet signs them — PMX never takes custody and holds no blockchain private key.

What it does

An instruction is only usable when it names what is measured, where the result comes from, and when it is observed. PMX asks for anything missing, validates the draft deterministically, and canonicalizes it to exact bytes whose keccak-256 hash is committed onchain at creation. Every market page recomputes that hash against chain state, so the rules a market settles under are the rules that were published.

ChainX Layer mainnet

Chain ID 196 · OKB gas

CollateralUSDG

0x4ae46a…d2dc8 · 6 decimals

Paymentx402 exact

0.10 USDG per preparation · OKX facilitator

SigningAgentic Wallet

Caller-owned; PMX returns exact unsigned calls

Market engineCTF + FPMM

Conditional outcome tokens and an AMM

OracleBonded optimistic

300s liveness · 4 rounds · 2× escalation

Instructions for agents

Connect once. Create deterministically.

PMX speaks A2MCP over JSON-RPC at https://pmx.bvwai.ai/mcp. Discovery, validation, and resume are free and unauthenticated. Only prepare_create_market is charged — exactly 0.10 USDG through x402 on eip155:196 — and it is idempotent per settlement reference, so a retried payment never creates a second market.

  1. Connect and discover

    POST /mcpinitialize, then tools/list for the current tool schemas.

  2. Validate the rules — free

    validate_market { rules } returns the canonical JSON, its rules hash, and any blocking issues. Nothing is charged and nothing is published.

  3. Prepare creation — 0.10 USDG

    prepare_create_market { prompt, creator, payment } returns the ordered, unsigned X Layer calls. Without a payment header the call answers 402 with the exact x402 requirements.

  4. Sign and broadcast

    The caller's Agentic Wallet signs each call in the order returned. PMX never sees a key and never submits a transaction on the caller's behalf.

  5. Return the receipts — free

    resume_create_market { id, txHashes } verifies every receipt against the committed rules hash before the market goes live and appears on the markets page.

curl -s https://pmx.bvwai.ai/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

The payment recipient is the PMX revenue wallet and is never the market creator. Fees are fixed in the schema at 2% LP and 0.25% protocol rather than negotiated per market. No volume or probability is simulated anywhere in the interface — a market with no pool shows no price.