技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.0
统计:⭐ 0 · 222 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:ant-1984/check-wallet
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill's instructions match its stated purpose (checking wallets) but they tell the agent to fetch-and-run an npm package via npx at runtime and to query locally stored Turnkey credentials (wallet addresses/balances) autonomously without confirmation — coherent but carries privacy and supply-chain risk.
目的
Name/description align with the instructions: all commands are for listing wallet addresses and on-chain balances via the OpenAnt/Turnkey CLI. No unrelated environment variables, binaries, or config paths are requested.
说明范围
SKILL.md instructs the agent to run `npx @openant-ai/cli@latest ...` commands that will read locally stored Turnkey credentials and return wallet addresses/balances. It also states commands are executed immediately without user confirmation. While these actions match the purpose, they give the agent broad discretion to fetch code and expose potentially sensitive wallet addresses and balances.
安装机制
The skill is instruction-only, but it relies on `npx @openant-ai/cli@latest` which will fetch and execute code from the npm registry at runtime. That is an implicit runtime install / remote code execution vector (and using the `latest` tag increases supply-chain risk). No pinned-release or trusted-host install is specified.
证书
The skill does not request any environment variables or external credentials in its metadata. It does rely on locally stored Turnkey credentials created by the CLI (reasonable for wallet queries), which is proportionate to the stated function.
持久
always is false and the skill is user-invocable. However, model invocation is enabled by default and the SKILL.md explicitly says wallet commands are executed without user confirmation. That combination can expose sensitive wallet data if the agent invokes the skill autonomously; it's a privacy concern rather than a direct technical incoherence.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Check Wallet」。简介:Query wallet addresses and on-chain balances on OpenAnt. Use when the agent or …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/ant-1984/check-wallet/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: check-wallet
description: Query wallet addresses and on-chain balances on OpenAnt. Use when the agent or user wants to check wallet address, view balance, see how much SOL or ETH they have, check token holdings, look up USDC balance, or inspect wallet status. Also use when a wallet operation fails with "Insufficient balance". Covers "check my wallet", "what's my address", "how much SOL do I have", "wallet balance", "show my addresses", "check funds".
user-invocable: true
disable-model-invocation: false
allowed-tools: ["Bash(npx @openant-ai/cli@latest wallet *)", "Bash(npx @openant-ai/cli@latest status*)"]
---
# Checking Wallet Addresses & Balances
Use the `npx @openant-ai/cli@latest` CLI to query your wallet addresses and on-chain balances. All queries go directly to Turnkey and on-chain RPCs — no backend API needed.
**Always append `--json`** to every command for structured, parseable output.
## Confirm wallet is initialized and authed
```bash
npx @openant-ai/cli@latest status --json
```
If not authenticated, refer to the `authenticate-openant` skill.
## List Wallet Addresses
```bash
npx @openant-ai/cli@latest wallet addresses --json
```
Returns all wallet addresses (Solana + EVM) managed by Turnkey:
```json
{
"success": true,
"data": {
"addresses": [
{ "chain": "Solana", "address": "7xK...abc", "addressFormat": "ADDRESS_FORMAT_SOLANA" },
{ "chain": "EVM (Base)", "address": "0xAb...12", "addressFormat": "ADDRESS_FORMAT_ETHEREUM" }
]
}
}
```
## Query On-Chain Balances
```bash
npx @openant-ai/cli@latest wallet balance --json
```
Returns SOL balance, SPL token balances (USDC auto-detected), EVM native balance, and Base USDC balance:
```json
{
"success": true,
"data": {
"solana": {
"address": "7xK...abc",
"sol": 1.500000000,
"tokens": [
{ "mint": "4zMM...DU", "symbol": "USDC", "uiAmount": 500.0, "decimals": 6 }
]
},
"evm": {
"address": "0xAb...12",
"eth": 0.050000,
"weiBalance": "50000000000000000",
"usdc": 100.50
}
}
}
```
### Custom RPC Endpoints
```bash
npx @openant-ai/cli@latest wallet balance --solana-rpc https://api.mainnet-beta.solana.com --json
npx @openant-ai/cli@latest wallet balance --evm-rpc https://mainnet.base.org --json
```
## Available CLI Commands
| Command | Purpose |
|---------|---------|
| `npx @openant-ai/cli@latest wallet addresses --json` | List all Turnkey wallet addresses (Solana + EVM) |
| `npx @openant-ai/cli@latest wallet balance --json` | On-chain balances for all wallets |
| `npx @openant-ai/cli@latest wallet balance --solana-rpc <url> --json` | Solana balance with custom RPC |
| `npx @openant-ai/cli@latest wallet balance --evm-rpc <url> --json` | EVM balance with custom RPC |
## Examples
```bash
# Quick balance check
npx @openant-ai/cli@latest wallet balance --json
# Get addresses to share for receiving payments
npx @openant-ai/cli@latest wallet addresses --json
# Check if you have enough USDC before creating a task
npx @openant-ai/cli@latest wallet balance --json
# -> Inspect data.solana.tokens for USDC balance
# Check balance on mainnet
npx @openant-ai/cli@latest wallet balance
--solana-rpc https://api.mainnet-beta.solana.com
--evm-rpc https://mainnet.base.org
--json
```
## Autonomy
All wallet commands are **read-only queries** — execute immediately without user confirmation.
## Prerequisites
- Must be authenticated (`npx @openant-ai/cli@latest status --json` to check)
- Turnkey credentials are stored locally after login — no backend needed
## Error Handling
- "No Turnkey credentials found" — Run `npx @openant-ai/cli@latest login` first, see `authenticate-openant` skill
- "Balance query failed" — RPC may be unreachable; try `--solana-rpc` or `--evm-rpc`
- "No wallet accounts found" — Wallets are created at signup; try re-logging in