Pre-trade risk auditor for prediction markets. It reads fine-print resolution rules, flags hidden traps, and returns safety scores to protect AI agents before they place bets.
BetAudit is a pre-trade safety auditor built for prediction markets like Polymarket.
While AI betting bots read headline titles, prediction markets pay out based on complex fine-print rules. BetAudit acts as an automated risk check before any money is spent.
How It Works:
Fine-Print Analysis: Fetches live resolution rules and uses AI to identify tricky clauses, hard deadlines, and multi-source requirements.
Transparent Risk Scoring: Assigns a 0–100 risk score and clear verdict (PROCEED, CAUTION, or ABORT_TRADE), breaking down every point added to the score.
Zero-Custody Execution Handshake: For safe bets, it generates a ready-to-sign EIP-712 order payload so agents can execute directly without giving up key control.
Marketplace Integration: Operates as a machine-to-machine service on the OKX AI Marketplace (Agent #6141) via REST, MCP endpoints, and optional x402 pay-per-call.
<p><strong>Progress During Hackathon</strong>:</p><blockquote><ul><li><p>Built the live Polymarket resolver (<code data-inline="true" spellcheck="false">app/resolvers/polymarket.py</code>) and OpenAI clause parser (<code data-inline="true" spellcheck="false">app/llm/parser.py</code>) for automated rule extraction.</p></li><li><p>Created a deterministic factor-based risk engine (<code data-inline="true" spellcheck="false">app/engine.py</code>) that falls back gracefully if dependencies offline.</p></li><li><p>Implemented zero-custody EIP-712 execution payload generation for passing audits (<code data-inline="true" spellcheck="false">app/execution.py</code>).</p></li><li><p>Integrated OKX X Layer x402 pay-per-call micro-payments (<code data-inline="true" spellcheck="false">app/payments/</code>).</p></li><li><p>Built a custom Solidity execution gate contract suite with 32 passing tests (<code data-inline="true" spellcheck="false">contracts/</code>).</p></li><li><p>Deployed production web console and API to custom domain (<a rel="noopener" target="_blank" href="https://betauditmcp.xyz" class="ng-star-inserted">betauditmcp.xyz</a>) and registered on the OKX AI Marketplace (Agent #6141).</p></li></ul></blockquote>
<p>BetAudit is currently self-funded / bootstrapped and has not raised external venture capital.</p>