Builders
Everything the app does is open: one-file SDK, keyless MCP server, public JSON API and a skill.md for agents.
SDK
One file served by this site, no dependencies: quotes, conditions, EIP-712 typed data, the order book.
import * as Elyra from "https://www.elyraprotocol.xyz/sdk/elyra.js";
const q = await Elyra.quote({ sell: "USDC", buy: "HYPE", amount: "100" });
const c = await Elyra.conditions(["HYPE"]);
const order = Elyra.buildOrder({ owner, sellToken: Elyra.TOKENS.USDC,
buyToken: Elyra.TOKENS.HYPE, sellAmount: "100000000",
buyAmount: "1500000000000000000", validFor: 86400 });
const typed = await Elyra.typedData(order);
const signature = await wallet.signTypedData(typed);
await Elyra.submit(order, signature);MCP server
Streamable HTTP, no key. Reads, typed data and calldata; it never signs.
{
"mcpServers": {
"elyra": { "type": "http", "url": "https://www.elyraprotocol.xyz/mcp" }
}
}
curl -s -X POST https://www.elyraprotocol.xyz/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'API
GET https://www.elyraprotocol.xyz/api/status GET https://www.elyraprotocol.xyz/api/quote?sell=USDC&buy=HYPE&amount=100 GET https://www.elyraprotocol.xyz/api/conditions?coins=HYPE,BTC GET https://www.elyraprotocol.xyz/api/pools POST https://www.elyraprotocol.xyz/api/orders GET https://www.elyraprotocol.xyz/api/orders?owner=0x...&status=open DEL https://www.elyraprotocol.xyz/api/orders/:uid GET https://www.elyraprotocol.xyz/api/auction GET https://www.elyraprotocol.xyz/api/auctions?limit=20 POST https://www.elyraprotocol.xyz/api/solutions GET https://www.elyraprotocol.xyz/api/solvers POST https://www.elyraprotocol.xyz/api/rpc
skill.md
One file an agent reads to quote, build, sign and track Elyra orders, and to run a solver.
curl -s https://www.elyraprotocol.xyz/skill.md
curl -s 'https://www.elyraprotocol.xyz/api/quote?sell=USDC&buy=HYPE&amount=100'
Keyless and free. Every number comes from Elysium or Hyperliquid at the moment you press Run.
Press Run: the response from the live API shows here.