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.

已验证Streamable HTTP可网页运行Developer ToolsFinance

概览

AI 生成的概览

通过远程 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 支付选项。
安装前请注意
超出每小时免费额度后,工具调用会返回 x402 支付要求,付费路由在 Base 主网上每次调用收费 0.002 USDC,因此可能产生真实资金支出。该服务被描述为早期阶段且未经审计。解码的 calldata 和类型化数据会发送到第三方远程服务器,calldata 解码还会执行外部选择器查询。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lumen Works Decoder,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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.

Endpoint (POST JSON)What
/v1/x402/lint {header}decode + lint x402 PAYMENT-REQUIRED/SIGNATURE/RESPONSE
/v1/eip712/decode {typedData}domain separator, digest, risk notes
/v1/calldata/decode {data, signature?}selector, openchain/4byte lookup, decoded args

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
  1. v1.1.0最新Oct 10, 2026