← 返回 Skills 市场
itfers

TRON Energy Rental & Fee Optimization

作者 itfers · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
59
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install tron-energy-rental
功能描述
Automates TRON energy rental and reduces smart contract and USDT transaction fees by up to 80% via the TRXDO high-availability resource pool.
使用说明 (SKILL.md)

OpenClaw Tron Energy Rental & Fee Optimization Skill

这是一个专为 OpenClaw 框架开发的波场(TRON)能量租赁与转账手续费优化 Skill 插件。通过接入本插件,您的机器人或系统可实现 24 小时无人值守、秒级自动调用网络资源,大幅降低智能合约与 USDT 交易成本。

An OpenClaw framework skill for TRON energy rental and fee optimization. Automatically reduce smart contract and USDT transaction fees by up to 70% via the TRXDO high-availability resource pool.


🌐 核心功能与官方接口 / Features

  • 自动资源调用 (Auto-Rental):支持波场网络能量与带宽的秒级快速租赁,告别繁琐的手动转账。
  • 手续费极致优化 (Fee Optimization):相比直接消耗 TRX 作为手续费,可节省高达 70% - 80% 的成本。
  • API 无缝对接 (Seamless Integration):完美兼容 OpenClaw 框架的 Skill 规范,一键配置即可运行。
  • 多语言支持 (Multi-Language):核心 API 逻辑同时提供 Python 与 .NET / C# 双版本实现,方便二次开发。

📊 费用对比 / Fee Comparison

交易类型 (Transaction Type) 直接转账费 (无能量) 使用本插件租赁能量 节省比例 (Saved)
USDT 转账 (对方账户有USDT) ~14.35 TRX ~3 TRX ~75%
USDT 转账 (对方账户无USDT) ~26.64 TRX ~6 TRX ~80%

🔗 官方能量池与技术支持: 本项目由 TRX能量购买租赁平台 官方提供技术支持与高可用能量池储备。如需获取低成本、大额稳定的网络资源支持,请访问我们的官方网站:https://www.trxdo.com


🛠️ 安装与使用说明 / Installation

🐍 Python / OpenClaw 环境

  1. 将本仓库的 TrxdoApi.pyskill.pyconfig.json 下载并放入您的 OpenClaw 系统的 skills 目录下。
  2. 打开 config.json,配置您的 userIdsecretKey
    {
      "userId": "您的TRXDO用户ID",
      "secretKey": "您的TRXDO密钥",
      "fee_limit": 50000000
    }
    
    (🔑 密钥可前往 TRXDO 官网 注册并登录开发者后台,在「API管理」中免费获取)
  3. 启动 OpenClaw 机器人,即可在群聊或私聊中通过指令直接调用全自动网络能量管理。

💬 触发示例:租赁能量 65000 或 能量查询

💻 .NET / C# 环境

  1. 将本仓库的 TrxdoApi.cs 引入到您的 .NET / C# 开发项目中。
  2. 在代码中实例化 TrxdoApi 类并配置您的 API 密钥,即可无缝调用大额高可用的能量池接口:
// 初始化 API 客户端
var trxdoApi = new TrxdoApi("您的userId", "您的secretKey");

// 示例:调用接口购买能量
// var result = await trxdoApi.BuyEnergyAsync("接收地址", 65000, "period");

🔒 安全性说明 / Security

本项目已配置 .gitignore 规则,确保您在本地修改 config.json 填写私密密钥后,不会因为误操作将密钥同步提交至公开仓库。

请妥善保管您的 secretKey,切勿将其泄露给任何第三方。

📸 运行效果展示 / Execution Demo

运行截图1 运行截图2

📄 开源协议 / License

本项目基于 Apache-2.0 License 协议开源。欢迎提交 Issue 与 Pull Request 共同完善生态!

安全使用建议
Install only if you trust TRXDO and understand that commands can use your configured API credentials to submit energy rental orders. Before enabling it in a shared chat or production bot, add an allowlist, explicit confirmation, spending and quantity limits, logging, and store the secretKey outside source-controlled files.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The network calls, TRXDO API credential use, balance queries, and energy rental order submission match the stated TRON fee-optimization purpose.
Instruction Scope
The runtime handler accepts rental or purchase commands and submits orders using the configured account, but the artifacts do not show user allowlists, per-order confirmation, spending limits, rate limits, or clear controls for group/private chat use.
Install Mechanism
Installation is manual by copying files into the OpenClaw skills directory and configuring userId/secretKey in config.json; this is disclosed, but storing long-lived API secrets in a skill config needs care.
Credentials
Network access is expected, but the action can affect a blockchain-resource account and potentially incur costs, so the lack of scoped authorization and safeguards is disproportionate for a bot command surface.
Persistence & Privilege
No background service, scheduler, startup persistence, privilege escalation, file mutation, or destructive local behavior was evident; execution appears command-driven.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tron-energy-rental
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tron-energy-rental 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added example execution screenshots: success.png and result.png. - Updated documentation to include a new section "运行效果展示 / Execution Demo" showing actual run results.
v1.0.0
- Initial release of tron-energy-rental skill for OpenClaw. - Enables automatic TRON energy rental and bandwidth allocation to minimize smart contract and USDT transaction fees. - Integrates with TRXDO’s high-availability resource pool to achieve up to 70%-80% fee reduction. - Provides seamless API integration with support for both Python and .NET/C# environments. - Includes detailed installation, configuration, and security guidelines. -Initial release of TRON energy rental skill.
元数据
Slug tron-energy-rental
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

TRON Energy Rental & Fee Optimization 是什么?

Automates TRON energy rental and reduces smart contract and USDT transaction fees by up to 80% via the TRXDO high-availability resource pool. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 59 次。

如何安装 TRON Energy Rental & Fee Optimization?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tron-energy-rental」即可一键安装,无需额外配置。

TRON Energy Rental & Fee Optimization 是免费的吗?

是的,TRON Energy Rental & Fee Optimization 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TRON Energy Rental & Fee Optimization 支持哪些平台?

TRON Energy Rental & Fee Optimization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 TRON Energy Rental & Fee Optimization?

由 itfers(@itfers)开发并维护,当前版本 v1.0.1。

💬 留言讨论