← 返回 Skills 市场
mhue-ai

ClawPurse

作者 Mhue AI · GitHub ↗ · v2.0.2
cross-platform ⚠ suspicious
602
总下载
2
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install clawpurse
功能描述
Local Neutaro chain wallet for managing NTMPI tokens, supporting balance checks, transfers, transaction history, staking, and allowlist enforcement.
使用说明 (SKILL.md)

ClawPurse Skill

Local Timpi/NTMPI wallet for agentic AI, automation scripts, and individual users on the Neutaro chain.

Overview

ClawPurse provides cryptocurrency wallet functionality for AI agents (including OpenClaw), automation pipelines, and human operators—enabling autonomous or manual handling of NTMPI tokens on the Neutaro blockchain.

Capabilities

  • Check wallet balance – Query current NTMPI holdings
  • Send tokens – Transfer NTMPI to any Neutaro address
  • Receive tokens – Get wallet address for incoming payments
  • View transaction history – List recent send/receive activity
  • Verify chain status – Check connectivity to Neutaro network
  • Stake tokens – Delegate NTMPI to validators for rewards (v2.0)
  • Manage delegations – View, redelegate, and unstake tokens (v2.0)

Installation

# In the ClawPurse directory
npm install && npm run build && npm link

This makes the clawpurse CLI available globally.

Setup

A wallet must be initialized before first use:

clawpurse init --password \x3Csecure-password>

Important: Back up the mnemonic shown during init immediately!

Environment

Set CLAWPURSE_PASSWORD to avoid passing password on every command:

export CLAWPURSE_PASSWORD=\x3Cpassword>

Commands

Status Check

clawpurse status

Returns chain connection status, chain ID, and current block height.

Balance

clawpurse balance

Returns current NTMPI balance.

Address

clawpurse address

Returns the wallet's Neutaro address.

Send

clawpurse send \x3Cto-address> \x3Camount> [--memo "text"] [--yes]

Sends NTMPI to the specified address. Use --yes to skip confirmation for amounts > 100 NTMPI.

History

clawpurse history [--limit N]

Shows recent transactions.

Allowlist Management

clawpurse allowlist list              # View trusted destinations
clawpurse allowlist add \x3Caddr>        # Add destination
clawpurse allowlist remove \x3Caddr>     # Remove destination

Staking (v2.0)

clawpurse validators                  # List active validators
clawpurse delegations                 # View current delegations
clawpurse stake \x3Cvalidator> \x3Camount>  # Delegate tokens
clawpurse unstake \x3Cvalidator> \x3Camount> --yes  # Undelegate (22-day unbonding)
clawpurse redelegate \x3Cfrom> \x3Cto> \x3Camount>     # Move stake between validators
clawpurse unbonding                   # Show pending unbonding

Staking for agents:

1. Run: clawpurse validators
2. Select validator with good uptime and reasonable commission
3. Run: clawpurse stake \x3Cvalidator> \x3Camount> --yes
4. Monitor with: clawpurse delegations
5. Rewards auto-deposit to liquid balance on Neutaro

Safety Features

  • Max send limit: 1000 NTMPI per transaction (configurable)
  • Confirmation required: Above 100 NTMPI
  • Address validation: Only neutaro1... addresses accepted
  • Destination allowlist: Optional enforcement of trusted recipients
  • Encrypted keystore: AES-256-GCM with scrypt key derivation

Agent Usage Patterns

Check Balance Before Operations

Before any payment task, run:
clawpurse balance

Parse the output to get available funds.

Making Payments

1. Verify recipient is in allowlist (or use --override-allowlist)
2. Run: clawpurse send \x3Caddress> \x3Camount> --memo "reason" --yes
3. Capture the tx hash from output
4. Share tx hash with recipient for verification

Receiving Payments

1. Run: clawpurse address
2. Share the address with the sender
3. After expected payment, run: clawpurse balance
4. Or query chain directly to verify specific tx

Programmatic API

For advanced integrations, import ClawPurse functions directly:

import {
  loadKeystore,
  getBalance,
  send,
  getChainInfo,
} from 'clawpurse';

// Load wallet
const { wallet, address } = await loadKeystore(process.env.CLAWPURSE_PASSWORD);

// Check balance
const balance = await getBalance(address);
console.log(balance.primary.displayAmount);

// Send tokens
const result = await send(wallet, address, 'neutaro1...', '10.5', {
  memo: 'Service payment',
  skipConfirmation: true,
});
console.log(`Sent! TxHash: ${result.txHash}`);

Security Notes

  • Never expose the mnemonic in logs or outputs
  • Use environment variables for the password, not command-line args in scripts
  • Enable allowlist enforcement to prevent sends to unknown addresses
  • Monitor receipts at ~/.clawpurse/receipts.json for audit

Files

Path Purpose
~/.clawpurse/keystore.enc Encrypted wallet (mode 0600)
~/.clawpurse/receipts.json Transaction receipts
~/.clawpurse/allowlist.json Trusted destinations

Documentation

Troubleshooting

Issue Solution
"Wallet not found" Run clawpurse init first
"Status: DISCONNECTED" Check network; RPC may be down
"Amount exceeds limit" Adjust maxSendAmount in config
"Destination blocked" Add to allowlist or use --override-allowlist
安全使用建议
This package is largely coherent with its stated purpose (a local Neutaro wallet) and contains full source and docs. However: (1) it handles sensitive secrets (mnemonic, keystore) and will read/write ~/.clawpurse — only install if you understand and accept local key storage risks; (2) SKILL.md uses CLAWPURSE_PASSWORD but the registry metadata does not declare any required env vars or credentials — treat this as an omission and plan to set the env var securely if you use it; (3) there is no automated install spec in the registry though SKILL.md asks you to run npm install/build/npm link — review package.json scripts and audit the code before running install/build steps; (4) if you intend to let an agent call this autonomously, enable allowlist enforcement, restrict agent permissions, and consider using hardware wallets or keeping funds in a separate account with strict limits to reduce blast radius. If you want to proceed: review src/keystore.ts and src/security.ts to confirm encryption/key handling, test locally in an isolated environment, and avoid placing large balances under an agent-controlled key until you are confident in the code and guardrails.
功能分析
Type: OpenClaw Skill Name: clawpurse Version: 2.0.2 ClawPurse is a professionally developed local wallet for the Neutaro (Timpi) blockchain, designed for both human and AI agent use. The codebase demonstrates a high level of security awareness, implementing AES-256-GCM encryption with scrypt key derivation for local keystores, enforcing strict file permissions (0600), and providing a dedicated security module (src/security.ts) for input validation and memory safety. The SKILL.md instructions are well-defined for agentic use without any signs of prompt injection or malicious redirection. All network activity is restricted to legitimate Neutaro infrastructure (rpc2.neutaro.io and api2.neutaro.io).
能力评估
Purpose & Capability
Name/description, code files (wallet, keystore, staking, security), and SKILL.md capabilities (balance, send, staking, allowlist) are consistent — the codebase matches the stated wallet purpose.
Instruction Scope
SKILL.md instructs the agent/person to run npm install / build / npm link and to use CLAWPURSE_PASSWORD (env var) and to read/write local files (~/.clawpurse/keystore.enc, receipts, allowlist). Those actions are appropriate for a local wallet but the runtime instructions reference an env var that isn't declared in registry metadata. The instructions also suggest backing up and exporting mnemonics (sensitive operations) and recommend not logging them — this is expected but high-risk if an agent is allowed to act autonomously.
Install Mechanism
No install spec was provided in registry metadata, but SKILL.md requires running npm install, building, and npm link. The code bundle is present in the skill. Lack of an explicit install spec in the registry is an omission (it means manual installation is required and there is no automated sandboxing or declared binaries).
Credentials
Registry metadata lists no required environment variables or primary credential, yet SKILL.md and the programmatic examples rely on CLAWPURSE_PASSWORD (and implicitly on local keystore files). A wallet skill that manages mnemonics/keys should declare required secrets/credentials up front; the omission is disproportionate and may mislead users about the sensitive data the skill will handle.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill writes and reads its own keystore and receipts in ~/.clawpurse which is expected for a local wallet. Nothing indicates it modifies other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawpurse
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawpurse 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.2
Version 2.0.2 – Major update with full codebase and docs - Initial public release of core code: all main src, tests, and configuration files added. - Comprehensive documentation introduced, including guides, deployment, and quickstart material. - Command-line interface (CLI) fully implemented for wallet and staking operations. - Extensive test suites (unit, integration, e2e) provided for core functionality. - Safety, allowlist, and operator security features documented and supported in code. - Source includes fully documented usage patterns, programmatic API, and troubleshooting.
v2.0.1
More Security - Including ensuring Zero Custody
元数据
Slug clawpurse
版本 2.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 2
常见问题

ClawPurse 是什么?

Local Neutaro chain wallet for managing NTMPI tokens, supporting balance checks, transfers, transaction history, staking, and allowlist enforcement. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 602 次。

如何安装 ClawPurse?

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

ClawPurse 是免费的吗?

是的,ClawPurse 完全免费(开源免费),可自由下载、安装和使用。

ClawPurse 支持哪些平台?

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

谁开发了 ClawPurse?

由 Mhue AI(@mhue-ai)开发并维护,当前版本 v2.0.2。

💬 留言讨论