openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Near Batch Sender

Batch operations for NEAR tokens - send to multiple recipients, transfer NFTs, claim rewards with cost estimation.

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 888 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :可疑

Package:near-batch-sender

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :可疑

OpenClaw 评估

The skill appears to implement the advertised batch NEAR operations, but it omits declaring its dependency on the NEAR CLI and uses unsanitized shell execution (command injection risk); these mismatches and unsafe practices warrant caution.

目的

Name/description match the code and README: the script performs batch sends, NFT transfers, and cost estimates. However the skill metadata declares no required binaries or credentials while both SKILL.md/README and the script expect the 'near' CLI to be installed and configured — a clear mismatch between declared requirements and actual capabilities.

说明范围

The runtime instructions and script operate within the stated domain (read a JSON file, run batch operations). However the implementation constructs shell commands by interpolating user-provided fields directly into child_process exec calls (e.g., recipient.account, amount, transfer contract/token_id). This creates a command-injection risk if inputs are not strictly validated or controlled. The 'claim' command is only a placeholder and not imp…

安装机制

No install spec (instruction-only / script included) — lower risk of arbitrary remote code install. The code does rely on an out-of-band dependency (NEAR CLI) but that dependency is not declared in the metadata. The lack of an install step means nothing is automatically downloaded at install time, but runtime will invoke external binaries.

证书

The skill declares no required environment variables or credentials, yet it implicitly depends on NEAR CLI configuration (local key files / credentials under the user's NEAR config) to sign and send transactions. Not declaring this may mislead users about what will be accessed. No explicit external secrets are requested, but the script will cause the NEAR CLI to use whatever local keys are available — a potential surprise for users who haven't…

持久

The skill does not request persistent or elevated privileges (always is false, no install hooks). It will only run when invoked; it does not auto-enable itself or modify other skills or system-wide settings.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Near Batch Sender」。简介:Batch operations for NEAR tokens - send to multiple recipients, transfer NFTs, …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/shaiss/near-batch-sender/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: near-batch-sender
description: Batch operations for NEAR tokens - send to multiple recipients, transfer NFTs, claim rewards with cost estimation.
---
# NEAR Batch Sender Skill

Batch operations for NEAR sends, NFT transfers, and claims with cost estimation.

## Description

This skill provides batch operations for sending NEAR tokens, transferring NFTs, and claiming rewards. Includes cost estimation before execution.

## Features

- Batch send NEAR to multiple addresses
- Batch transfer NFTs
- Batch claim operations
- Cost estimation before execution
- Progress tracking for batch operations

## Commands

### `near-batch send <sender_account> <file.json>`
Batch send NEAR to multiple recipients.

**JSON format:**
```json
{
  "recipients": [
    {"account": "account1.near", "amount": "1.5"},
    {"account": "account2.near", "amount": "0.5"}
  ]
}
```

### `near-batch nft <sender_account> <file.json>`
Batch transfer NFTs.

**JSON format:**
```json
{
  "transfers": [
    {"token_id": "123", "receiver": "account1.near", "contract": "nft.near"},
    {"token_id": "456", "receiver": "account2.near", "contract": "nft.near"}
  ]
}
```

### `near-batch estimate <sender_account> <file.json> [type]`
Estimate gas costs for a batch operation.

**Parameters:**
- `type` - Operation type: send, nft, claim (default: send)

### `near-batch claim <file.json>`
Batch claim rewards/airdrops.

## References

- NEAR CLI: https://docs.near.org/tools/near-cli
- NEAR Batch Actions: https://docs.near.org/api/rpc/transactions/batch-actions