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
- Recursively sort JSON object keys, preserve array order, and encode the compact JSON as UTF-8.
- Compute a SHA-256 digest of the canonical bytes and publish the digest as
0x-prefixed hex. - 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
0xprefix and the ML-DSA-65 signature as plain hex. - 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.
get_antb_pool_status— Read the live BSC pool and latest signed receipt.get_latest_agent_receipts— List recent dual-signed observations.verify_receipt— Check both signatures on a stored receipt.check_antb_access_tier— Read a wallet’s ANTB balance on BSC.
Claude Desktop
- Open Customize → Connectors and add a custom connector.
- Name it AntRing and paste the remote endpoint below. Select No sign in if prompted.
- Enable AntRing from the connector menu in the conversation.
https://antring.xyz/api/mcpClaude 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/mcpCursor
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"
}
}
}Example prompts
- Summarize current ANTB liquidity and one-hour order flow on BSC.
- Find the latest signed receipt and report whether both signatures verify.
- Check the ANTB access tier for this BSC wallet address.
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 ↗