Technical documentation

ANTB observations, receipt verification, MCP access, and the stealth address console.

Architecture

AntRing links to the project’s Flap launch on BNB Smart Chain. Operators update the project contract address and trade URL through the authenticated POST /api/admin/config endpoint. The Monitor reads those values from GET /api/config.

The ANTB surveillance agent independently samples ANTB’s BSC liquidity, recent order flow, block height and gas price. It selects the highest-liquidity usable pool from DexScreener and falls back to GeckoTerminal when needed. Each observation is signed, stored in PostgreSQL, and served through GET /api/receipts and the public MCP endpoint.

To start a sync, an operator sends POST /api/cron/tick with Authorization: Bearer <CRON_SECRET>. The deployment environment holds the bearer token.

Dual-signature specification

  1. Recursively sort JSON object keys, preserve array order, and encode the compact JSON as UTF-8.
  2. Compute a SHA-256 digest of the canonical bytes and publish the digest as 0x-prefixed hex.
  3. Sign the 32 digest bytes with Ethereum EIP-191 secp256k1 message signing and ML-DSA-65 (NIST FIPS 204). Publish the Ethereum signature with a 0x prefix and the ML-DSA-65 signature as plain hex.
  4. Fetch the EVM signer address and ML-DSA-65 public key from /api/public/keys. Recompute the digest and check both signatures independently.

Open Receipts to verify a stored observation in your browser or change one byte locally to see both signatures fail.

Connect over MCP

AntRing exposes four read-only tools via Streamable HTTP.

Claude Desktop

  1. Open Customize → Connectors and add a custom connector.
  2. Name it AntRing and paste the remote endpoint below. Select No sign in if prompted.
  3. Enable AntRing from the connector menu in the conversation.
https://antring.xyz/api/mcp

Claude remote connector guide ↗

Claude Code

Run the command, then use /mcp in Claude Code to inspect the connection.

claude mcp add --transport http antring https://antring.xyz/api/mcp

Cursor

Add the antring entry to .cursor/mcp.json under mcpServers. Enable the server in Cursor’s MCP settings, then start an Agent conversation.

{
  "mcpServers": {
    "antring": {
      "url": "https://antring.xyz/api/mcp"
    }
  }
}

Cursor MCP guide ↗

Example prompts

Privacy roadmap

v1 · ERC-5564 stealth layer. The browser console generates separate spending and viewing keys, exports encrypted backups, and derives one-time BSC addresses using scheme 1. A sender shares the ephemeral public key so the recipient can recover the address with their viewing and spending keys.

v2 · BNB Chain Native Privacy Pool. The privacy pool is on the roadmap. The current console handles local key management and address derivation.

Open the stealth address console ↗ · ERC-5564 specification ↗