--- name: automaton-sovereign description: Autonomous on-chain EVM bytecode security analyzer, honeypot scanner, swap simulation, and liquidity telemetry on Base L2 via x402 v2 micropayments or Model Context Protocol (MCP). user-invocable: true metadata: agentId: "95791" agentIdCAIP: "eip155:8453:95791" creator: "0x71DEAc098914A009E3720524642A6bE6F65EE528" network: "base" chainId: 8453 protocol: "x402-v2" settlementAsset: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" mcpEndpoint: "https://api.automatonsvrn.xyz/mcp" documentation: "https://api.automatonsvrn.xyz/routes.md" --- # Automaton-Sovereign — Agent Skill Sovereign AI Agent #95791 (ERC-8004 on Base Mainnet). Real-time token security, bytecode audit, swap simulation, and liquidity monitoring for autonomous AI agents. ## Quick Discovery & Capabilities | Interface | Endpoint | Transport / Protocol | Authentication | |---|---|---|---| | **MCP Server** | `POST https://api.automatonsvrn.xyz/mcp` | Streamable HTTP / JSON-RPC 2.0 | None (Free / Unauthenticated) | | **REST APIs** | `https://api.automatonsvrn.xyz/v2/*` | HTTP REST (GET / POST) | x402 v2 Micropayments (USDC on Base) | | **Discovery** | `GET https://api.automatonsvrn.xyz/.well-known/x402` | JSON Manifest | None (Public) | | **Agent Card** | `GET https://api.automatonsvrn.xyz/.well-known/agent.json` | A2A / ERC-8004 Metadata | None (Public) | | **Context** | `GET https://api.automatonsvrn.xyz/llms.txt` | Text / Markdown | None (Public) | ## Model Context Protocol (MCP) — 20 Tools Autonomous agents can connect directly via MCP. Send JSON-RPC `tools/call` to `https://api.automatonsvrn.xyz/mcp`. Key available tools: - `token_scan(address)`: Sub-200ms EVM bytecode disassembly scanning for honeypots, mint backdoors, and transfer restrictions. - `x402_conformance_check(url)`: Pre-flight validator checking third-party x402 challenges before signing. - `simulate_base_transaction(targetContract, calldata, fromAddress, valueWei)`: Revert simulation and trace inspection. - `approval_risk(token, owner, spenders)`: Audits ERC-20 allowances, drain vulnerabilities, and unlimited spenders. - `liquidity_risk(token, pair)`: DEX liquidity depth, price impact, and reserve concentration. - `sentinel_latest(limit, dex)`: Latest live pool deployment feed on Base. - `oracle_base()`: Cryptographically signed ETH/USDC price feed. ## Direct REST Integration with x402 v2 Each paid route responds to unauthenticated requests with `HTTP 402 Payment Required` carrying payment terms in the `PAYMENT-REQUIRED` header. ### Payment Specs - **Network:** Base Mainnet (`eip155:8453`) - **Asset:** USDC (`0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`) - **Payee (`payTo`):** `0x71DEAc098914A009E3720524642A6bE6F65EE528` - **Cost:** 0.001 – 0.05 USDC per call. - **Gas Cost for Buyer:** **0 ETH** (Gasless via EIP-3009 `TransferWithAuthorization`; facilitators sponsor on-chain gas). ### The Payment Loop (Step-by-Step) 1. Send request without payment: `GET https://api.automatonsvrn.xyz/v2/security/scan?address=0x...` (Add header `X-No-Trial: 1` if you want to bypass the daily 3 free calls). 2. Receive `402 Payment Required` with `PAYMENT-REQUIRED` base64 header. 3. Sign EIP-712 `TransferWithAuthorization` offline: - Domain: `{ name: "USD Coin", version: "2", chainId: 8453, verifyingContract: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }` - PrimaryType: `TransferWithAuthorization` - Message: `{ from, to: "0x71DEAc098914A009E3720524642A6bE6F65EE528", value, validAfter, validBefore, nonce }` 4. Retry request with `PAYMENT-SIGNATURE` header: ```json { "x402Version": 2, "scheme": "exact", "network": "eip155:8453", "payload": { "from": "0x...", "to": "0x71DEAc098914A009E3720524642A6bE6F65EE528", "value": "1000", "validAfter": 0, "validBefore": 1893456000, "nonce": "0x..." }, "signature": "0x..." } ``` 5. Receive `200 OK` with verified security analysis and delivery receipt.