dRPC Agent Skills
DRPC 代理技能
让您的 AI 编码代理能够通过 RPC 访问 100 多个区块链。即问即用——无需重启,无需编辑配置文件。提供引导式方案、错误处理以及 200 多个网络支持。
为什么选择 DRPC? 您的请求通过去中心化网关进行路由,该网关会跨多个提供商进行分发。如果一个节点宕机,另一个节点会接管。响应经过共识验证,因此您不会从单个节点获取错误数据。
您可以做什么?
输入简单的英语提示词,代理会自动判断需要进行哪些 RPC 调用。
使用场景 | 示例提示词 |
DeFi 投资组合 | "获取我在 Ethereum、Arbitrum 和 Base 上的钱包余额" |
Gas 优化 | "立即比较所有 L2 网络上的 Gas 价格" |
交易追踪 | "检查交易 0xabc... 在 Optimism 上是否已确认" |
智能合约读取 | "读取 Base 上 USDC 合约的 totalSupply" |
巨鲸监控 | "获取该地址在 Ethereum 上的最后 10 笔交易" |
跨链分析 | "比较 Arbitrum、Base 和 Optimism 上与 TVL 相关的合约数据" |
安装
支持平台: Claude Code · Gemini CLI · Cursor · Codex · Windsurf · Cline · OpenClaw
在 drpc.org 获取您的免费 API 密钥,然后为您的平台安装此技能:
Claude Code
claude plugins marketplace add drpcorg/drpc-agent-skills
claude plugins install drpc-agent-skillsGemini CLI
gemini extensions install https://github.com/drpcorg/drpc-agent-skillsCodex
git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc ~/.agents/skills/drpc-rpcCursor
git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cursor/skills/drpc-rpcWindsurf
git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .windsurf/skills/drpc-rpcCline
git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cline/skills/drpc-rpcOpenClaw
git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc ~/.openclaw/skills/drpc-rpc工作原理
询问类似以下内容:
"获取 vitalik.eth 在 Ethereum 上的 ETH 余额"
"比较所有 L2 网络上的 Gas 价格"
代理会读取技能文件,选择正确的 RPC 方法,调用 DRPC,并将结果返回给您。无需您编写任何样板代码。
You ask → Agent reads skill → Calls DRPC API → Returns blockchain data自动选择三种模式:
首次会话: 请求 API 密钥,通过直接 HTTP 执行请求(无需重启),并为后续会话配置 MCP
后续会话: 使用原生 MCP 工具(更快、集成度更高)
错误处理: 识别计费限制、速率限制,并指导恢复
技能内容
文件 | 用途 |
入口点 — 检测传输方式,按查询类型路由 | |
各平台的 MCP 配置 | |
首次会话的直接 HTTP 调用(无需 MCP) | |
所有 16 个带参数的 MCP 工具 | |
单网络方案 | |
跨链方案 | |
错误代码、计费错误、恢复模式 |
MCP 工具
工具 | 描述 |
| 所有 200 多个支持的网络 |
| 某个网络的 RPC 方法 |
| 网络详情(链 ID、货币、浏览器) |
| 原生代币余额 |
| 按编号或标签获取区块 |
| 按哈希获取区块 |
| 交易详情 |
| 包含状态和日志的收据 |
| 事件日志查询 |
| 读取智能合约 |
| 当前 Gas 价格 |
| Gas 估算 |
| 合约字节码 |
| 地址的 Nonce 值 |
| 任何 JSON-RPC 方法 |
| 批量调用 |
支持的网络
Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, zkSync, Linea, Scroll, Mantle, Fantom, Gnosis, Celo, Moonbeam, Harmony, Aurora, Metis, Boba, Cronos, Klaytn, Solana, Bitcoin, NEAR, Cosmos, Starknet 以及 更多。
贡献
发现 Bug?缺少链?请提交 Issue 或发送 PR。
Star 有助于提高可见度——如果这为您节省了时间,请考虑点个 Star。
许可证
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/drpcorg/drpc-agent-skills'
If you have feedback or need assistance with the MCP directory API, please join our Discord server