openclaw 网盘下载
OpenClaw

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

首页 > 技能库 > Send Usdc

Send USDC to an Ethereum address or ENS name. Use when you or the user want to send money, pay someone, transfer USDC, tip, donate, or send funds to a wallet address or .eth name. Covers phrases like "send $5 to", "pay 0x...", or "transfer to vitalik.eth".

开发与 DevOps

许可证:MIT-0

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

版本:v0.1.0

统计:⭐ 0 · 761 · 4 current installs · 4 all-time installs

0

安装量(当前) 4

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:0xrag/send-usdc

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's instructions and requirements are internally consistent with its stated purpose (sending USDC via an npx CLI); the main operational risk is that it runs a third‑party npm package at runtime.

目的

Name and description match the runtime instructions: the SKILL.md only tells the agent to run the 'awal' CLI via npx to check status, check balance, authenticate, and send USDC. There are no unrelated binaries, env vars, or config paths requested.

说明范围

Instructions stay on‑topic: they describe how to check auth/status, compose the send command, handle ENS resolution, and handle common errors. They do not instruct the agent to read arbitrary files, exfiltrate data, or access unrelated system state. They reference a separate 'authenticate-wallet' skill for login steps.

安装机制

No install spec is included, but allowed-tools and the SKILL.md rely on running 'npx awal@latest ...' which dynamically downloads and executes a package from the public npm registry. This is expected for a CLI helper but is a moderate risk because arbitrary remote code will be executed at runtime.

证书

The skill does not request any environment variables, credentials, or config paths. Wallet authentication is delegated to the 'awal' CLI (or the authenticate-wallet skill) which may prompt the user for credentials or perform an OAuth flow — that is consistent with the purpose and not requested directly by this skill.

持久

The skill does not request persistent inclusion (always:false) and does not modify other skills or system-wide settings. Autonomous invocation is allowed (disable-model-invocation:false), which is the platform default and not by itself a red flag here.

综合结论

This skill is coherent for sending USDC, but it runs 'npx awal@latest' at runtime — that fetches and executes code from the npm registry each time. Before using: 1) confirm you trust the 'awal' package (check its npm/github page, maintainers, and recent releases); 2) be cautious when authenticating wallets — never paste private keys into prompts you don't trust and prefer hardware wallets or well-known wallet flows; 3) test with a very small a…

安装(复制给龙虾 AI)

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

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Send Usdc」。简介:Send USDC to an Ethereum address or ENS name. Use when you or the user want to …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/0xrag/send-usdc/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: send-usdc
description: Send USDC to an Ethereum address or ENS name. Use when you or the user want to send money, pay someone, transfer USDC, tip, donate, or send funds to a wallet address or .eth name. Covers phrases like "send $5 to", "pay 0x...", or "transfer to vitalik.eth".
user-invocable: true
disable-model-invocation: false
allowed-tools: ["Bash(npx awal@latest status*)", "Bash(npx awal@latest send *)", "Bash(npx awal@latest balance*)"]
---

# Sending USDC

Use the `npx awal@latest send` command to transfer USDC from the wallet to any Ethereum address or ENS name on Base.

## Confirm wallet is initialized and authed

```bash
npx awal@latest status
```

If the wallet is not authenticated, refer to the `authenticate-wallet` skill.

## Command Syntax

```bash
npx awal@latest send <amount> <recipient> [--chain <chain>] [--json]
```

## Arguments

| Argument    | Description                                                                                                                                                                                                                          |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `amount`    | Amount to send: '$1.00', '1.00', or atomic units (1000000 = $1). Always single-quote amounts that use `$` to prevent bash variable expansion. If the number looks like atomic units (no decimal or > 100), treat as atomic units. Assume that people won't be sending more than 100 USDC the majority of the time |
| `recipient` | Ethereum address (0x...) or ENS name (vitalik.eth)                                                                                                                                                                                   |

## Options

| Option           | Description                        |
| ---------------- | ---------------------------------- |
| `--chain <name>` | Blockchain network (default: base) |
| `--json`         | Output result as JSON              |

## Examples

```bash
# Send $1.00 USDC to an address
npx awal@latest send 1 0x1234...abcd

# Send $0.50 USDC to an ENS name
npx awal@latest send 0.50 vitalik.eth

# Send with dollar sign prefix (note the single quotes)
npx awal@latest send '$5.00' 0x1234...abcd

# Get JSON output
npx awal@latest send 1 vitalik.eth --json
```

## ENS Resolution

ENS names are automatically resolved to addresses via Ethereum mainnet. The command will:

1. Detect ENS names (any string containing a dot that isn't a hex address)
2. Resolve the name to an address
3. Display both the ENS name and resolved address in the output

## Prerequisites

- Must be authenticated (`npx awal@latest awal status` to check, `npx awal@latest awal auth login` to sign in, see skill `authenticate-wallet` for more information)
- Wallet must have sufficient USDC balance (`npx awal balance` to check)

## Error Handling

Common errors:

- "Not authenticated" - Run `awal auth login <email>` first
- "Insufficient balance" - Check balance with `awal balance`
- "Could not resolve ENS name" - Verify the ENS name exists
- "Invalid recipient" - Must be valid 0x address or ENS name