
Suwappu
io.github.0xSoftBoi由 GitHub 账号 0xSoftBoi 发布v0.1.1更新于 Oct 24, 2026
Cross-chain DEX for AI agents. Swap tokens across 7+ chains.
概览
Suwappu 是一个跨链 DEX MCP 服务器,让助手发现链与代币、获取报价、模拟兑换,并生成待签名的自托管交易。
- 可以做什么
- 发现链、代币、价格、投资组合与市场元数据
- 为兑换意图报价并比较各链上的可用路由
- 在签名前模拟拟议的兑换
- 生成未签名的自托管交易,交由调用方签名并广播
- 在受支持的场景下访问永续合约、预测市场、借贷、BTC 跨链桥和订单等工作流
- 适用场景
- 适合让 AI 代理跨多条链调研和定价链上交易,或生成仍需人工或钱包签名的未签名兑换交易。建议从发现和报价层级开始,仅在明确策略和限额下再启用交易生成。
- 运行要求
- 以 stdio 方式作为本地 npm 包运行,或使用托管端点。需要 Suwappu 代理凭证,存放在 SUWAPPU_API_KEY 环境变量中,通过 Suwappu API 注册代理获取。需要访问 Suwappu API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Suwappu,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Suwappu
The execution layer for onchain apps and agents.
Route across chains, simulate before money moves, and choose self-custody or managed execution from the same platform.
Quickstart · Terminal · Telegram · Developer Docs · Product Status · Security
ETHGlobal Tokyo 2026 — Agent Swap Passport
Live demo → suwappu.bot/passport
One wallet, checked live: try to swap unverified and a Uniswap v4 beforeSwap hook
(0xc72ab4dF…c080)
reverts at zero gas. Scan World ID and the server mints the wallet a real ENSv2 subname under
suwappu-agents.eth on Sepolia and allowlists it on the same hook. Swap again — it executes through
the same pool. One verification, three sponsor integrations, all proven in one recorded per-wallet
run. Every claim is backed by a real Sepolia transaction, not a mock — see
docs/ethglobal-tokyo2026/SUBMISSION.md for exact
file:line pointers, tx hashes, and a 2-minute self-verification path per sponsor track
(World ID/IDKit, ENSv2, Uniswap v4). Intercepta was explored but is explicitly out of scope for
this submission — not demoed, no live API key provisioned.
NEAR HACKATHON 2026 — Suwappu Arbiter (“Proof of Done”)
Trustless milestone escrow for human and agent work. Delivery verified inside an OutLayer Intel TDX enclave; settlement enforced by the contract. One-line problem: every agent marketplace holds money in escrow but can’t prove the work was done. Arbiter closes the loop — a hash-pinned arbiter WASM verifies the evidence (the enclave fetches the PR from the GitHub API itself; no shared secret, no caller-supplied evidence), and every verdict is anchored on-chain as a signed work attestation.
Live demo → suwappu.bot/arbiter (dry-run by default; no
funds needed). Built as a product line — see ARBITER.md for the 12-month plan —
with an open attestation spec at docs/arbiter-attestation-v1.md.
Hackathon work (baseline commit 99161598, the last commit before the build window): pull requests #1096, #1098, #1099; everything under near/, showcase/src/app/arbiter/ and the Arbiter docs.
Judge steps (dry-run, then testnet commands) and honest scope notes are in
docs/hackathon/arbiter.md.
What can I build?
Why Suwappu
One control plane, not one venue
Suwappu normalizes an execution intent, discovers only the routes that can actually serve it, and compares eligible providers instead of hard-coding one exchange or bridge. The generated topology currently reports 45 platform chains, 18 Agent API chains, and 21 chain-gated routing integrations. Those are platform totals—not a claim that every route races every provider.
Human and agent surfaces share the same execution layer
Telegram, web/terminal clients, SDKs, REST, MCP, and A2A are different entry points into the same platform boundaries. Builders do not need a separate “agent DEX” and “human DEX” architecture.
Custody is explicit
Suwappu does not collapse “get a quote,” “prepare a transaction,” and “move funds” into one ambiguous action. Self-custody preparation and managed execution are separate capabilities with separate security consequences.
Execution is observable
The system records route candidates, selected routes, execution/status data, and settlement evidence. New execution-synchronization work adds normalized receipts, provider calibration, and historical/walk-forward replay—but remains shadow-only until evidence supports a controlled promotion.
The platform extends beyond swaps
The same API/control plane also exposes workflows for perps, prediction markets, lending, BTC bridging, orders, portfolio data, and wallet policy where supported by the relevant surface.
See Product Status for what is production, hosted, source-only, shadow, or experimental.
The execution ladder
Start with the least-privileged capability your product needs and move downward only when your policy requires it.
Important naming boundary: MCP execute_swap currently belongs to Level 3: it prepares an unsigned self-custody transaction. It does not invoke managed execution. A2A currently stops at discovery/quote semantics and has no fund-moving method.
For an AI system, begin at Levels 0–2 with an application-owned allowlist. Add Level 3 or 4 only with explicit policy, limits, and approval appropriate to the value at risk.
First useful integration
1. Register an agent credential
Store the returned suwappu_sk_... as SUWAPPU_API_KEY. Do not commit it.
2. Discover supported chains
Do this at runtime instead of embedding a chain count in application code.
3. Request a quote with the TypeScript SDK
Install the SDK with:
Repository source can move ahead of the published package. Check the SDK README and Product Status when version boundaries matter.
Or connect an MCP client
Discover tools/resources/prompts at runtime rather than copying a static registry from documentation.
Continue with the full quickstart or MCP / SDK / REST / A2A guide.
Execution model
Routing is capability- and chain-gated. The canonical generated counts live in showcase/src/data/stats.generated.json; application code should use runtime discovery APIs.
Major capability areas
- Execution: same-chain/cross-chain swaps, limit orders, DCA, MEV-aware routes.
- Markets: HyperLiquid perps, predictions, market discovery.
- Capital: lending/savings and BTC bridge workflows.
- Automation: alerts, copy trading, sniping, transaction/portfolio workflows.
- Policy: simulation, spending limits, 2FA, withdrawal allowlists, token safety checks.
- Agents: REST, hosted MCP, A2A, TypeScript/Python SDKs, framework examples.
Feature availability varies by client and chain. Use Feature Guides and Product Status instead of assuming monorepo presence means universal availability.
Architecture
The production runtime includes request-serving services, dedicated workers, bridge/relayer services, signal/on-chain ingestion, Postgres, and Redis. Do not infer deployment topology from source directories; use the production inventory.
For system boundaries, data flows, key handling, and background services, read the Architecture Overview.
Production vs research
Suwappu intentionally keeps experimental work visible without presenting it as live money-path behavior.
The canonical definitions and version caveats are in Product Status.
Security model for builders
Suwappu moves money, so the security boundary belongs next to the integration flow—not at the bottom of the docs.
- Keep credentials out of source and logs.
- Prefer runtime discovery plus an application-owned allowlist of tools/capabilities.
- Treat model output and third-party text as untrusted input to execution policy.
- Simulate unfamiliar routes before enabling execution.
- Keep self-custody signing separate from managed execution.
- Add explicit spend/value/destination policies before granting an agent Level 3 or 4 capability.
- Treat signing, custody, routing, withdrawals, fee collection, and authorization changes as MONEY-PATH code requiring adversarial review.
Read SECURITY.md and the agent security baseline. The checked-in CycloneDX SBOM, CodeQL, and OpenSSF tooling are security evidence—not an audit or compliance certification.
Engineering contracts
Fast-moving infrastructure becomes unreliable when docs, config, and deployment state each invent their own truth. Suwappu keeps important facts in versioned contracts:
Docs-only changes can be checked with:
For local setup and component-specific test lanes, use ONBOARDING.md.
Repository map
Documentation
License
Apache-2.0. See LICENSE.
来源:README.md,提交 e60e022
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分