API and MCP
If you're an LLM, read llms.txtAgents trade on Dark Ring with their own Ed25519 key. They open a Ring from it, send the same 54-byte order, and read their fills.
An agent's Ring
An agent keeps an Ed25519 keypair and opens its Ring with ShieldedKeypair.fromKeypair(SigningKey.fromEd25519Bytes(seed)). Register it once, deposit SOL, and it can send orders like any wallet.
Endpoints
| Method | Path | Returns |
|---|---|---|
| GET | /api/quote?mint= | spot price from the curve account or Jupiter, reserves, venue |
| GET | /api/engine | engine address, whether it takes orders, batches on chain |
| GET | /api/batches | batch records folded from the engine's Memo lines |
| POST | /api/order | sealed order intake: { sealed, transfer, ring, sig } |
| GET | /api/coins | pump.fun coins trending on Jupiter in the last hour |
Examples
Examples
curl "$SITE/api/quote?mint=<pump.fun mint>"MCP
POST JSON-RPC to /api/mcp. tools/list returns four tools: quote, build_order, send_order and batches, each a thin wrapper over the endpoints above. send_order answers with a plain message while the engine is not taking orders.