AlphaMoatによると、2026-09時点でx402-payment-tronのダウンロード数は4,715、スター数は2で、AIスキル全体5,078件中2,012位、専門分野では465件中172位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 157 | 4715 | 2 | - |
プラットフォームごとに集計方法と集計時点が異なります。
HTTP エンドポイントを呼び出し、支払条件を処理します。TRON 秘密鍵とウォレット資金が必要です。allowance が不足すると無制限承認(MAX_UINT256)を自動実行する場合があります。信頼できるエンドポイントのみを使い、低残高の専用ウォレットを優先し、メインネット利用前に条件を確認してください。 配布済み実行経路はNodeが必要です。既定nileを含めネットワークを確認し、USDTに加え手数料用TRXを用意します。支払ツール呼出しで自動署名・承認し得るため、オフライン確認時は呼び出しません。承認済み設定で内部読込みし、キーの表示や探索をせず、機密利用前に共有設定の広い自動探索を除きます。限定承認には無制限承認の実装確認・変更が必要です。利用後は一時バイナリファイルを削除します。
資料公開日 2026-10-27
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 4715 | — | 2 |
| 2026-08 | 4540 | +2.6% | 2 |
| 2026-07 | 4423 | +5.9% | 2 |
| 2026-06 | 4176 | +3.1% | 2 |
| 2026-05 | 4049 | — | 2 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
---
name: x402_payment_tron
description: "Pay for x402-enabled Agent endpoints using USDT on TRON"
version: 1.0.0
author: x402-protocol
homepage: https://x402.org
metadata: {"clawdbot":{"emoji":"💳","env":["TRON_PRIVATE_KEY"]}}
tags: [crypto, payments, x402, agents, api, usdt, tron]
requires_tools: [x402_tron_invoke]
arguments: agent_url:
description: "Base URL of the x402 agent"
required: false
endpoint:
description: "Entrypoint name to invoke (e.g., 'chat', 'search')"
required: false
---
# x402 Payment Protocol for TRON Agents
Invoke x402-enabled AI agent endpoints with automatic USDT micropayments on TRON.
## Quick Start
### Option 1: Run Pre-built (Recommended for Agents)
The skill is pre-bundled into a single file. No installation required.
```bash
node dist/index.js --url <URL> [options]
```
### Option 2: Development
```bash
npm install
npm start -- --url <URL>
```
## Tool Reference
- **Wallet**: A TRON private key must be available. The skill automatically looks for it in:
1. `TRON_PRIVATE_KEY` environment variable.
2. `~/.mcporter/mcporter.json` (AIBank standard configuration).
3. `x402-config.json` in the current directory.
4. `~/.x402-config.json` in the home directory.
- **USDT on TRON**: Wallet needs USDT and some TRX for gas.
---
## Tool Reference
### x402_tron_invoke
Invokes an HTTP endpoint. If payment is required (402), it automatically:
1. Negotiates payment requirements.
2. Checks USDT allowance. If insufficient, it performs an **infinite approval** (MAX_UINT256) to minimize future transactions.
3. Signs the payment permit (EIP-712).
4. Retries the request with the payment signature.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Full URL to invoke |
| `method` | string | No | HTTP method (GET, POST, etc.) Default: GET |
| `body` | object | No | JSON body for the request |
| `network` | string | No | `mainnet`, `nile`, `shasta` (Default: `nile`) |
### Example: Chat with Agent
```tool:x402_tron_invoke
url: https://api.example.com/chat
method: POST
body: {"prompt": "Tell me a joke"}
```
---
## Agent Discovery
You can discover available endpoints and their pricing by checking the agent's manifest.
### Fetch Agent Manifest
```tool:x402_tron_invoke
url: https://api.example.com/.well-known/agent.json
method: GET
```
---
## Security Rules for Agents
- **No Private Key Output**: The Agent MUST NOT print, echo, or output the `TRON_PRIVATE_KEY` or any other signing secret to the dialogue context.
- **Internal Loading Only**: The Agent should rely on the skill or underlying scripts to load the key internally.
- **No Export Commands**: The Agent MUST NOT execute shell commands that contain the private key as a literal string (e.g., `export TRON_PRIVATE_KEY=...`).
- **Sanitized Logs**: Ensure that logs or error messages do not leak the key.
## Troubleshooting
### "Private key not found"
Ensure the `TRON_PRIVATE_KEY` environment variable is set or a valid `x402-config.json` exists in the expected locations.
**Agent Note**: If this error occurs, simply inform the user that the environment is not configured. DO NOT attempt to search for or read private keys from files yourself.
### "Insufficient Allowance"
The tool will attempt to broadcast an **infinite approve** transaction. This requires TRX for gas. Ensure your wallet has TRX.
### "Transaction Failed"
Check if you have enough USDT and TRX.
---
## Binary and Image Handling
If the endpoint returns an image (Content-Type: `image/*`) or binary data (`application/octet-stream`):
1. The data is automatically saved to a temporary file (e.g., `/tmp/x402_image_...` or `/tmp/x402_binary_...`).
2. The tool returns a JSON object with:
- `file_path`: Path to the temporary file.
- `content_type`: The MIME type of the content.
- `bytes`: File size in bytes.
3. **Important**: The Agent is responsible for deleting the temporary file after it has been used or processed.
---
## Network Reference
| Network | Chain ID | CAIP-2 | USDT Contract |
|---------|----------|--------|---------------|
| TRON Mainnet | 0x2b6653dc | `eip155:728126428`, `tron:mainnet` | `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t` |
| TRON Nile | 0xcd8690dc | `eip155:3448148188`, `tron:nile` | `TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf` |
| TRON Shasta | 0x94a9059e | `eip155:2494104990`, `tron:shasta` | - |
AkShare ライブラリで A 株の相場、財務、業種別データを取得するデータ接続スキルです。
自然言語で東方財富の金融データを問い合わせ、Excel と Markdown の表で受け取るスキルです。
中国特許関連資料、検索課題、技術開示書の草案整理を支援します。
金融データ照会スキル:westock CLIで市場の構造化データを照会します。
Yahoo Finance のデータで相場とファンダメンタルを取得し、指標パネル付きのチャートを描くローカル優先の調査スキルです。
A 株と香港株を対象に価値投資の枠組みで估值するスキルです。
A 株のリアルタイム株価、分時の出来高分解、保有銘柄の管理を行うスクリプトです。
保有銘柄の相場とテクニカル指標を見張り、条件に触れたら重要度別に通知するスキルです。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。