The official web interface for native cross-chain swaps, powered by THORChain and Maya Protocol — live at swap.thorchain.org.
Trade Bitcoin, Ethereum, stablecoins, and other layer-1 assets directly between chains: no bridges, no wrapped tokens, no order books, and no user accounts. Users connect their own wallet and sign transactions locally, or swap without connecting a wallet at all via memoless ("instant") swaps.
THORChain developer resources for the swap interface — API docs, OpenAPI spec, auth docs, and MCP server:
- Developer portal — API reference, quickstart, MCP server, auth scopes, error format, versioning policy, and sandbox (Markdown: /developers.md)
- OpenAPI 3.1 description — the public REST API
- MCP server — public Model Context Protocol server at
/mcpwith swap-quote, pool, and network tools (supports MCP Apps) - Authentication model — anonymous access and OAuth scopes
- llms.txt — index of agent resources with when-to-use guidance
- Agent library — complete single-file reference (URL scheme, MCP examples, asset notation, quote semantics, safety rules)
- AGENTS.md — guidance and safety rules for agents using the site
AGENTS.md(repo root) — instructions for AI coding agents working on this codebase
npm install
npm run devOpen http://localhost:3000. Copy .env.example to .env and fill in the API keys. Typecheck with npx tsc --noEmit -p tsconfig.json.
See AGENTS.md for architecture notes, key paths, and conventions.