Stoa: swaps on Robinhood Chain

io.github.StoaDex由 GitHub 帳號 StoaDex 發布v1.1.0更新於 Nov 21, 2026

Swaps, token safety checks, stock-token gaps, Spotlight and Stoa Pay on Robinhood Chain.

發布方自己的服務:Agent.chain.tokyo Address Contracts

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

Stoa 兌換路由器的 MCP 服務:在 Robinhood Chain 上報價、做安全檢查並產生未簽名兌換交易,支援跨鏈橋接與市場行情。

可以做什麼
  • 列出網路上的代幣與路由器位址,並跨多個交易場所報價,提供 amountOut、minOut 與價格影響
  • 產生未簽名的兌換交易及所需的授權,交由使用者自己的錢包簽名
  • 模擬買入並立即賣回某代幣,回傳風險判定、買賣稅、往返成本與持倉集中度
  • 報價從 Base、Arbitrum、Ethereum、Optimism 或 BNB Chain 跨鏈轉入 Robinhood Chain 的 ETH、USDC 或 USDT
  • 讀取 CoinMarketCap 市場背景:總市值、BTC/ETH 價格與佔比、恐懼與貪婪指數及單一代幣資料
  • 查詢 Robinhood 股票代幣的標的與鏈上價格,並查看 Stoa Spotlight 每週競標與投票狀態
適用情境
適合讓助理協助使用者在 Robinhood Chain 或 Elysium 上交易或評估代幣:比較路由、買入前篩選代幣、準備由錢包簽名的兌換,或把資金跨鏈轉入 Robinhood Chain。也適合快速取得市場背景與股票代幣價格比較。
執行需求
位於 stoadex.com 的遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭。使用者需要 Robinhood Chain(鏈 ID 4663,以 ETH 付 gas)或 Elysium 上的錢包,跨鏈時還需在支援的來源鏈上持有資金。
安裝前請注意
此服務會產生真正轉移資金的交易,由使用者錢包簽名並送出;賣出代幣前需先向 approval.spender 授權。報價會變動,送出前應重新產生。代幣位址應來自 list_tokens 或專案官網,未驗證代幣應先做安全檢查。合約聲明尚未審計,market_context 僅為資料,不構成建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stoa: swaps on Robinhood Chain,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.StoaDex%2Fstoa/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "stoa-swaps-on-robinhood-chain": {
      "type": "http",
      "url": "https://stoadex.com/mcp"
    }
  }
}

README

[Stoa: every route, compared. Swaps on Robinhood Chain and Elysium]

stoadex.com · Docs · $STOA · X / @StoaDEX

[CI] [Solidity 0.8.28] [Foundry] [Next.js 15] [Verified on Sourcify] [Not audited yet] [Signed mirror on Twigpine]

[Stoa on HEY Research Lab]

#BuildwithCMC: the MCP server at stoadex.com/mcp now has a market_context tool built on the CoinMarketCap API. See hackathon/cmc.

Stoa

Stoa is a swap router with maker-quoted pools (PropAMM). Every swap is quoted against every venue the router knows on the network: Stoa maker pools, Uniswap V2, V3 and V4, Aero, Ramses and Liquidity Book. It fills where the trader gets the most, directly or through the wrapped native token. Stoa charges a flat 2 bps protocol fee, once per swap (a route through two Stoa maker pools pays each pool's fee; see Fees).

It is live on Elysium (chain 99901) and Robinhood Chain (chain 4663).

How a swap works

mermaid
flowchart LR    U([Trader]) -->|quote| R[StoaRouter]    R -->|asks every venue,<br/>direct and via WETH/WHYPE| V{{Stoa maker pools<br/>Uniswap V2 · V3 · V4<br/>Aero · Ramses · Liquidity Book}}    V -->|best route| R    U -->|swap with minOut| R    R -->|fill| V    R -->|output, measured| U    R -->|2 bps| F[FeeDistributor]    F -->|10%| Ref([Referrer])    F -->|protocol share,<br/>Robinhood Chain| B[StoaBuyback]    B -->|buy and burn| S(("$STOA"))
  • The router never trusts a venue. It measures what the trader actually receives and reverts below minOut (standard tokens; see K-1 in the security review for tokens that tax transfers). Venues are allowlisted adapters; new ones wait in public before they go live.
  • Maker pools are quoted every block by bonded makers. When no maker quotes, swaps still fill on the best outside venue.
  • Uniswap V4 pools are registered permissionlessly in Stoa's adapter, limited to hooks on an allowlist fixed at deployment.

Governance and security

ElysiumRobinhood Chain
Router0x1047…7dbA0x2F28…3eE5
Owner of every contract48h timelock 0xeBa0…417B48h timelock 0xAC75…3ed8
Proposer and executor2-of-3 Safe 0xBF71…055F2-of-3 Safe 0xa1a4…D386
  • No upgradeable code. No proxies; a fix is a new deployment.
  • Every owner action waits 48 hours in public, and a new venue waits another 24 hours in the router itself. A guardian wallet can only pause swaps.
  • Every contract is source-verified on Sourcify (exact match), so the code here is the code that runs.
  • Not audited yet. Maker pools cap each fill at $500 and public LP vaults stay closed until an external audit. Design guarantees, trusted roles and known limits: contracts/SECURITY.md.

Every address: docs/contracts, or web/lib/deployments.json (Elysium) and web/lib/deployments-4663.json (Robinhood Chain).

$STOA

0x13E6…6718 on Robinhood Chain, launched on Pons. Two jobs, both enforced by contracts:

  1. Buyback and burn. StoaBuyback owns the Robinhood Chain FeeDistributor. Protocol fees can only leave it as a swap into $STOA through the Stoa router, burned in the same transaction. A keeper runs it weekly.
  2. Maker bonds. Makers bond $STOA in BondRegistry to quote Stoa pools on Robinhood Chain. Slashed bonds are burned.

$STOA pays no fee share and no yield. Details: docs/token.

Repository

FolderWhatStack
contracts/Router, maker pools, venue adapters, fee distributor, buyback, bond registry; deploy and governance scripts; unit, attack and live fork testsSolidity 0.8.28, Foundry
web/stoadex.com: trade, pools, earn, curators, $STOA, referrals, portfolio, admin console, docsNext.js 15, wagmi, viem, three.js
web/content/docs/The documentation at stoadex.com/docsMarkdown (GitBook format)
maker/Maker bot: quotes a Stoa pool every block from the Hyperliquid order book, with risk limitsTypeScript, viem
.github/workflows/CI, deployments, monitoring and the scheduled jobs belowGitHub Actions

Development

Requirements: Foundry, Node 22.

bash
git clone --recurse-submodules <repo-url> && cd stoa
# contracts: build, unit and attack testscd contracts && forge build && forge test
# live fork tests (read-only, against mainnet state)ELYSIUM_RPC_URL=https://rpc.elysium.kinetiq.xyz forge test --match-contract "ForkElysium|ForkVenues"ROBINHOOD_RPC_URL=https://rpc.mainnet.chain.robinhood.com forge test --match-contract ForkRobinhood
# web appcd ../web && npm install && cp .env.example .env.local && npm run dev
# maker bot (dry run)cd ../maker && npm install && cp .env.example .env && npm run build && DRY_RUN=1 npm start

The contracts have 93 tests: 73 unit and attack tests (including fuzzing) and 20 fork tests that trade against live pools, run governance through the real Safe and timelock, and check every allowed Uniswap V4 hook with a real buy and sell.

Automation

WorkflowWhenWhat
CIevery pushforge fmt, build with sizes, unit and Elysium fork tests; web and maker tests
Health checkhourlysite up, router not paused and quoting, keeper gas
Refresh Uniswap V4 poolsdailyranks the most traded V4 pools and registers new ones on both chains
$STOA graduation watcherevery 10 minregisters $STOA's Uniswap V4 pool as soon as it leaves the Pons curve
Robinhood governance stepshourly while pendingmoves timelocked Safe actions forward when they are due
$STOA buyback & burnweeklyturns Robinhood Chain protocol fees into burned $STOA
Deploy / smoke swapmanualdry run first, then broadcast; real swap round trip on mainnet

Security

Please report vulnerabilities privately: see SECURITY.md. Do not open a public issue for them.

License

The smart contracts in contracts/src are MIT licensed (contracts/LICENSE), as their SPDX headers state. The web app, maker bot, docs and brand assets are © Stoa, all rights reserved.

來源:README.md,提交 b061253

工具

13

list_tokens

List tokens

Tokens Stoa lists on a network, with address, symbol and decimals, plus the router address. Any other token address can still be quoted, but treat it as unverified and run safety_check first.

輸入參數chain

quote

Quote a swap

Compare every venue Stoa routes for this exact amount and return the route it would fill: amountOut (after Stoa's 2 bps fee), minOut for the slippage, price impact and the venues. Read-only.

輸入參數chainamount必填buyToken必填sellToken必填slippageBps

build_swap

Build an unsigned swap

Same as quote, plus the unsigned transaction (to, data, value, chainId) for the taker's wallet to sign, and the approval it needs first when selling a token. Stoa never signs or sends anything.

輸入參數chaintaker必填amount必填buyToken必填referrersellToken必填slippageBpsdeadlineSeconds

safety_check

Token safety check

Simulate a small buy and an immediate sell-back of a token through Stoa's live router (eth_call, nothing sent), and read how concentrated its supply is. Returns verdict ok | caution | danger | unknown, buy and sell tax, round-trip cost, creator and top-10 holdings. A pass describes the token today; its owner can still change the rules.

輸入參數chaintoken必填

bridge_quote

Bridge to Robinhood Chain

Move ETH, USDC or USDT from Base, Arbitrum, Ethereum, Optimism or BNB Chain to the same wallet on Robinhood Chain (arriving as ETH or USDG), through LI.FI over Across. Returns an unsigned transaction on the source chain that Stoa has already decoded: receiver and refund address are the wallet, destination is Robinhood Chain, it spends exactly the amount asked. If 'approval' is present, approve exactly that amount first. Regular wallets only.

輸入參數amount必填wallet必填toTokenfromChain必填fromToken必填

market_context

Market context (CoinMarketCap)

CoinMarketCap data to put a trade in context: total crypto market cap and 24h change, BTC and ETH prices and dominance, the Fear and Greed index, and for up to 5 Robinhood Chain tokens their price, market cap, liquidity, 24h high/low, volume, trades, buyers and sellers. Use it before suggesting or explaining a trade; use quote for the price a swap actually gets.

輸入參數tokens

stock_tokens

Robinhood stock tokens

Robinhood Stock Tokens on Robinhood Chain: Robinhood's price for the underlying stock next to the on-chain price, liquidity, 24h volume and whether Stoa can route a swap. Optionally filter by ticker.

輸入參數symbolroutableOnly

stock_gaps

Stock token price gaps

Robinhood Stock Tokens whose on-chain price is furthest from Robinhood's own price right now: cheaper or dearer on-chain, among pools with real liquidity that actually trade (pools with under $100 of 24h volume and gaps over 25% are left out as stale). Optionally a 7-day history of one token's gap from Stoa's open dataset. Information, not trading advice; outside US market hours Robinhood's price follows the overnight session.

輸入參數sidelimithistoryForminLiquidityUsd

open_data

Stoa open data

Stoa's public on-chain data: every swap routed through Stoa (newest first), the Points season 1 board, or the venue-quote basket (the same swaps quoted on every Robinhood Chain venue in one block). Also lists the open datasets on Hugging Face with their download links and checksums.

輸入參數setlimit

spotlight

Spotlight this week

Stoa Spotlight on Robinhood Chain: projects bid ETH for 3 sponsored slots a week and $STOA holders lock and vote; voters share most of each winning bid. Returns the week, its phase (before_week_1, bids_open, votes_only) and closing times, the rules (quorum, min bid, entry fee), every candidate with its bid, votes, whether it wins if voting closed now, the votes it still needs and the ETH per 1M votes it would pay now, last week's winners and the $STOA locked. Give `token` and `votes` to estimate what that many more votes on that token would earn if it wins (an estimate: bids and votes move until the week closes). Sponsored, not reviewed: run safety_check before buying a Spotlight token.

輸入參數tokenvotes

payment_status

Is a Stoa Pay link paid?

Whether a Stoa Pay link has been paid on Robinhood Chain, read from the chain: the paying transaction, who paid and when.

輸入參數url必填

版本歷史

2
  1. v1.1.0最新Nov 21, 2026
  2. v1.0.0Nov 19, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Chain 整合