wallet-manager

$npx mdskill add TermiX-official/cryptoclaw/wallet-manager

Securely manage blockchain wallets by creating, listing, switching, and deleting them with encrypted local storage.

  • Helps users handle crypto wallets through secure operations like generation and deletion.
  • Integrates with the blockchain extension and uses AES-256-GCM encryption for key storage.
  • Decides based on user commands for wallet actions, excluding CLI-only import and export.
  • Presents results as wallet metadata without exposing private keys in agent responses.

SKILL.md

.github/skills/wallet-managerView on GitHub ↗
---
name: wallet-manager
description: Create, import, and manage blockchain wallets securely.
metadata: { "cryptoclaw": { "emoji": "👛", "always": true } }
---

# Wallet Manager Skill

Create, import, and manage blockchain wallets securely.

## Overview

This skill helps users manage their crypto wallets through the blockchain extension. All private keys are encrypted with AES-256-GCM and stored locally.

## Capabilities

- **Create wallet**: Generate a new wallet with a random private key
- **List wallets**: Show all wallets with addresses and labels
- **Switch wallet**: Change the active wallet for operations
- **Delete wallet**: Remove a wallet (requires passphrase)

## Tools Used

- `wallet_create` - Generate and encrypt a new wallet
- `wallet_list` - List wallets (metadata only)
- `wallet_switch` - Change active wallet
- `wallet_delete` - Remove a wallet

## CLI-Only Operations

The following operations are restricted to terminal access for security. They are **not** available as agent tools and must be run directly:

- `cryptoclaw wallet import` - Import an existing private key
- `cryptoclaw wallet export` - Export a private key for backup

These operations handle raw private keys and are intentionally excluded from the agent context to prevent accidental key exposure in chat messages or session transcripts.

## Security Rules

- NEVER display private keys in agent responses
- ALWAYS require passphrase for sensitive operations
- Import and export are CLI-only — do NOT attempt to call them as tools
- Suggest creating a new wallet rather than importing when possible

## Common Questions

User: "What's my wallet address?" / "你的地址是什么" / "What's your address?"
Action: Check the wallet status injected at session start. If unavailable, call `wallet_list` and return the address marked `isActive: true`. NEVER make up an address.

User: "How much BNB/ETH do I have?" / "我有多少BNB?" / "Check my balance"
Action: Call `get_native_balance` (no address needed — defaults to active wallet). For a specific network, set the `network` parameter.

User: "What's my USDT balance?" / "我的USDT余额"
Action: Call `get_erc20_balance` with the token's contract address. No wallet address needed.

User: "Show my wallets"
Action: Use `wallet_list` to display all wallets with addresses and labels.

## Example Interactions

User: "Create a new wallet for trading"
Action: Use `wallet_create` with label "Trading"

User: "Switch to my DeFi wallet"
Action: Use `wallet_switch` with the wallet label

More from TermiX-official/cryptoclaw

SkillDescription
aave-bscInteract with Aave V3 lending protocol on BNB Smart Chain (BSC).
agent-identityRegister and manage on-chain AI agent identity via ERC-8004.
agentic-commerceCreate, fund, and settle on-chain agent jobs via ERC-8183 Agentic Commerce Protocol.
binance-address-infoBinance Web3 official skill — query any wallet address for token holdings, balances, and portfolio data across BSC, Base, and Solana. Sourced from github.com/binance/binance-skills-hub.
binance-market-rankBinance Web3 official skill — crypto market rankings including trending tokens, smart money inflow, social hype, meme ranks, and top trader PnL leaderboards. Sourced from github.com/binance/binance-skills-hub.
binance-meme-rushBinance Web3 official skill — real-time meme token launchpad tracking and AI-powered trending topic discovery on Solana and BSC. Sourced from github.com/binance/binance-skills-hub.
binance-spotBinance official spot trading skill — place orders, manage accounts, and access real-time market data via Binance Spot API. Sourced from github.com/binance/binance-skills-hub.
binance-token-auditBinance Web3 official skill — security audit for token contracts, detecting honeypots, rug pulls, and malicious functions across BSC, Base, Solana, and Ethereum. Sourced from github.com/binance/binance-skills-hub.
binance-token-infoBinance Web3 official skill — search tokens, retrieve metadata, real-time market data, and candlestick charts across BSC, Base, and Solana. Sourced from github.com/binance/binance-skills-hub.
binance-trading-signalBinance Web3 official skill — Smart Money on-chain trading signals tracking professional investor buy/sell activity on BSC and Solana. Sourced from github.com/binance/binance-skills-hub.