Skip to main content
Glama
drpcorg

dRPC Agent Skills

by drpcorg

DRPC 代理技能

GitHub stars License: MIT Blockchains Networks Platforms MCP Tools

让您的 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-skills

Gemini CLI

gemini extensions install https://github.com/drpcorg/drpc-agent-skills

Codex

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc ~/.agents/skills/drpc-rpc

Cursor

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cursor/skills/drpc-rpc

Windsurf

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .windsurf/skills/drpc-rpc

Cline

git clone https://github.com/drpcorg/drpc-agent-skills.git
ln -s $(pwd)/drpc-agent-skills/skills/drpc-rpc .cline/skills/drpc-rpc

OpenClaw

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

自动选择三种模式:

  1. 首次会话: 请求 API 密钥,通过直接 HTTP 执行请求(无需重启),并为后续会话配置 MCP

  2. 后续会话: 使用原生 MCP 工具(更快、集成度更高)

  3. 错误处理: 识别计费限制、速率限制,并指导恢复

技能内容

文件

用途

SKILL.md

入口点 — 检测传输方式,按查询类型路由

setup.md

各平台的 MCP 配置

direct-http.md

首次会话的直接 HTTP 调用(无需 MCP)

tools-reference.md

所有 16 个带参数的 MCP 工具

recipes-simple.md

单网络方案

recipes-crosschain.md

跨链方案

errors.md

错误代码、计费错误、恢复模式

MCP 工具

工具

描述

list_networks

所有 200 多个支持的网络

list_methods

某个网络的 RPC 方法

get_network_info

网络详情(链 ID、货币、浏览器)

eth_getBalance

原生代币余额

eth_getBlockByNumber

按编号或标签获取区块

eth_getBlockByHash

按哈希获取区块

eth_getTransactionByHash

交易详情

eth_getTransactionReceipt

包含状态和日志的收据

eth_getLogs

事件日志查询

eth_call

读取智能合约

eth_gasPrice

当前 Gas 价格

eth_estimateGas

Gas 估算

eth_getCode

合约字节码

eth_getTransactionCount

地址的 Nonce 值

rpc_call

任何 JSON-RPC 方法

rpc_batch

批量调用

支持的网络

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

-
security - not tested
A
license - permissive license
-
quality - not tested

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