← 返回
AI智能 中文

Openclast Wallet

Guides the agent in Openclast/Openclaw wallet usage, approvals, and safety rules. Use when users ask about wallet setup, balances, transactions, approvals, or key export.
指导 Openclast/Openclaw 钱包的使用、授权及安全规则。用于用户咨询钱包设置、余额、交易、授权或导出私钥。
fabriziogianni7
AI智能 clawhub v1.0.0 1 版本 99873.5 Key: 无需
★ 0
Stars
📥 1,579
下载
💾 77
安装
1
版本
#latest

概述

Openclast Wallet Agent Guide

Quick start

  • Use the CLI to bootstrap:
  • openclast-wallet setup creates wallet-config.json in the current folder.
  • openclast-wallet setup --config ./wallet-config.json initializes the wallet from that file.
  • Prefer wallet-config.json in the project root and customize chains and limits before use.
  • Keep wallet-config.json separate from openclaw.json (Openclaw config does not accept a top-level wallets key).

Approval flow (mandatory)

All send/approve/contract operations create a pending transaction that requires explicit approval.

Always:

  1. Create the pending tx (send/erc20/contract call).
  2. Ask the user to approve.
  3. Only after approval, broadcast and confirm.

If the user asks to “just send,” still require approval unless config is explicitly set to auto mode.

Key export warning (mandatory)

Never expose private keys by default. If the user asks for export:

  • Require explicit confirmation.
  • Warn that key export is dangerous and should be protected.
  • Use environment gates if available (e.g., MOLTBOT_ALLOW_WALLET_EXPORT=1) and explicit CLI confirmation.

If export is not supported in this host, say so and offer safer alternatives.

Common tasks

Balance and tokens

  • Use the correct chainId for the chain the user mentions.
  • If a chain is not configured, read-only balance may still be possible via well-known public RPCs.

Sending

  • Validate chainId and recipient.
  • Respect per-tx and daily limits from config.
  • Always provide a block explorer link when a tx is confirmed.

Chain name → chainId

  • Ethereum / Mainnet: 1
  • Sepolia: 11155111
  • Polygon: 137
  • Base: 8453
  • Arbitrum One: 42161

When the user says “balance on Sepolia” or “send on Ethereum,” always map to a chainId and proceed.

Safety defaults

  • Default mode is notify/approval, not auto-send.
  • Restrict unverified contracts when possible.
  • Store private keys only in OS keychain (macOS) and never in config.

Config rules (apply when present)

  • wallets.defaults.spending.mode: "notify" (default) or "auto" (sends without approval).
  • wallets.defaults.spending.limitPerTx, dailyLimit, allowedChains, allowedRecipients, notifyChannels: enforced for send/ERC20/contract calls.
  • wallets.notify.primaryChannel: where pending approvals are notified.
  • wallets.interactWithUnverifiedContracts: if false, only allow verifiedTokenAddresses and verifiedContractAddresses.

Block explorer links (mandatory)

After approval and broadcast, always include a tx link. Use:

  • /tx/ for transactions
  • /address/
    for addresses

Base URL comes from wallets.chains..blockExplorerUrl when configured, otherwise fallback well-known explorers.

Agent tool expectations

If host tooling is available, prefer these tools:

  • wallet_send, wallet_balance, wallet_txStatus, wallet_approve
  • wallet_erc20_approve, wallet_erc20_transfer, wallet_contract_call

If the host provides CLI instead, use the host wallet CLI for create/address/send/approve and recover/import flows.

Files and CLI

  • Starter config: wallet-config.json
  • Install skill in project: openclast-wallet install-skill

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 21:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,350 📥 317,725
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,056 📥 796,258
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,543