返回顶部
o

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,258
下载量
0
收藏
概述
安装方式
版本历史

openclast-wallet

# 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/<txHash>` for transactions - `/address/<address>` for addresses Base URL comes from `wallets.chains.<chainId>.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`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclast-wallet-1776359422 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclast-wallet-1776359422 技能

通过命令行安装

skillhub install openclast-wallet-1776359422

下载 Zip 包

⬇ 下载 openclast-wallet v1.0.0

文件大小: 2.21 KB | 发布时间: 2026-4-17 15:43

v1.0.0 最新 2026-4-17 15:43
Initial release of openclast-wallet skill.

- Provides guidance on Openclast/Openclaw wallet setup, usage, approvals, balance queries, transactions, and key export safety.
- Enforces explicit approval for all outgoing transactions and contract operations.
- Includes strict warnings and checks for private key export.
- Details config-driven rules for transaction limits, chain support, and safety defaults.
- Outlines expected agent tools and CLI flows for common operations.
- Ensures users receive block explorer links after confirmed transactions.
- Maps common chain names to their respective chain IDs for user convenience.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部