
Lumen Works Decoder
io.github.Dansgit2bv1.1.0更新於 Oct 10, 2026
Decode/lint x402 payment headers, EIP-712 typed data and EVM calldata. Free tier; x402-paid HTTP.
概覽
透過遠端 MCP 端點解碼並檢查 x402 支付標頭、EIP-712 型別化資料與 EVM calldata。
- 功能
- 提供三個工具:x402_lint 解碼並檢查 x402 的 PAYMENT-REQUIRED、SIGNATURE 與 RESPONSE 標頭;eip712_decode 回傳型別化資料的網域分隔符、摘要與風險提示;calldata_decode 透過 openchain/4byte 查詢解析選擇器並解碼參數。相同功能也以 POST JSON 的 HTTP 路由提供,免費路徑位於 /v1/free/...,付費路徑位於 /v1/...。
- 適用情境
- 適合在偵錯 x402 支付流程、檢查 EIP-712 簽章酬載,或在錢包、支付與智慧合約工作中讀取原始 EVM calldata 時使用。若希望助理直接具備這些解碼能力而不自行架設工具,可以考慮加入。
- 執行需求
- 需要一個遠端 streamable HTTP 端點;不需本機執行環境、套件,也未宣告身分驗證。免費額度為每 IP 每小時 20 次工具呼叫。付費呼叫需在 Base 主網上以 USDC 進行 x402 支付;僅當伺服器營運方設定 X402_CELO_API_KEY 時才提供 Celo 支付選項。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Lumen Works Decoder,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"lumenworks-decoder": {
"type": "http",
"url": "https://lumenworks-x402-decoder.onrender.com/mcp"
}
}
}README
Lumen Works Decoder API (x402)
Pay-per-call decoders, 0.002 USDC per call on Base mainnet via x402 (exact scheme, PayAI public facilitator). Author: Dan (Dansgit2b). Early-stage, unaudited.
Free tier: same paths under /v1/free/... (20/hour/IP). Discovery: /, /.well-known/x402, /openapi.json, /llms.txt.
payTo: 0xee9790cB3960952F585379F831a89b4e00B4029A.
End-to-end proof (local run, 2026-10-10): paid call settled on Base, tx 0xff4af45df7caeef958b77700e96ba94e5ed37d3bac6e8cf40d6528a9497d77d4.
Deploy: Render (render.yaml, free plan) or any Docker host (Dockerfile). Set PUBLIC_BASE to the public origin. No secrets needed (server only receives payments). License MIT.
MCP server
Remote MCP (streamable HTTP, stateless JSON): https://lumenworks-x402-decoder.onrender.com/mcp, with tools x402_lint, eip712_decode and calldata_decode. Free tier: 20 tool calls/hour/IP. After that the tool returns the x402 payment requirements for the matching paid HTTP endpoint (0.002 USD).
Celo
When X402_CELO_API_KEY (from the x402.celo.org dashboard) is set, every paid route also accepts USA₮ and USDC on Celo (eip155:42220), settled through Celo's hosted facilitator at api.x402.celo.org.
來源:README.md,提交 36f96a6
工具
0版本歷史
1- v1.1.0最新Oct 10, 2026


