← 返回 Skills 市场
gnufoo

CryptoWallet - Multi-Chain Blockchain Wallet Manager

作者 gnufoo · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1851
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cryptowallet
功能描述
Complete cryptocurrency wallet management for Web3, DeFi, and blockchain applications. Create and manage EVM (Ethereum, Polygon, BSC, Arbitrum, Optimism, Base, Avalanche) and Solana wallets with encrypted local storage. Query balances for native tokens (ETH, MATIC, BNB, SOL) and standard tokens (ERC20, SPL). Send transactions, interact with smart contracts, and manage multiple addresses across 12+ networks. Secure password-protected key storage with AES-256 encryption. Use for: (1) Creating new crypto wallets, (2) Importing existing wallets, (3) Checking token balances across chains, (4) Sending cryptocurrency and tokens, (5) Interacting with DeFi protocols and smart contracts, (6) Multi-chain portfolio management, (7) NFT transfers, (8) Blockchain development and testing. Keywords: crypto, cryptocurrency, wallet, blockchain, ethereum, solana, web3, defi, token, erc20, nft, smart contract, metamask alternative, hardware wallet, cold storage, hot wallet, blockchain wallet, digital wallet, bitcoin.
使用说明 (SKILL.md)

CryptoWallet

Comprehensive cryptocurrency wallet management for Clawdbot agents. Securely create, manage, and transact across multiple blockchain networks with encrypted local key storage.

Supported Networks

EVM Chains (12 networks)

  • Ethereum, Polygon, BSC, Arbitrum, Optimism, Base
  • Avalanche, Fantom, Gnosis, zkSync, Linea, Scroll

Solana

  • Mainnet and Devnet

Full network details in references/networks.json.

Core Features

1. Wallet Management

Create new wallets or import existing ones:

# Create new EVM wallet
python3 scripts/wallet_manager.py create my-eth-wallet --chain evm --password "secure-password"

# Create new Solana wallet
python3 scripts/wallet_manager.py create my-sol-wallet --chain solana --password "secure-password"

# Import existing wallet
python3 scripts/wallet_manager.py import imported-wallet --chain evm --key "0x..." --password "secure-password"

# List all wallets
python3 scripts/wallet_manager.py list

2. Balance Checking

Query native and token balances:

# Native ETH balance on Ethereum
python3 scripts/balance_checker.py 0xYourAddress --network ethereum

# ERC20 token balance
python3 scripts/balance_checker.py 0xYourAddress --network polygon --token 0xTokenAddress

# Check all EVM networks at once
python3 scripts/balance_checker.py 0xYourAddress --all-evm

# Solana balance
python3 scripts/balance_checker.py YourSolanaAddress --network solana

# SPL token balance
python3 scripts/balance_checker.py YourSolanaAddress --network solana --token MintAddress

3. Token Transfers

Send native tokens or ERC20/SPL tokens:

# Send ETH
python3 scripts/token_sender.py my-wallet 0xRecipient 0.1 --network ethereum --password "password"

# Send ERC20 token
python3 scripts/token_sender.py my-wallet 0xRecipient 100 --network polygon --token 0xTokenAddress --password "password"

# Send SOL
python3 scripts/token_sender.py my-wallet RecipientAddress 1.5 --network solana --password "password"

Security: Password required for every transaction. Private keys never leave encrypted storage unprotected.

4. Smart Contract Interaction

Call contract functions (read and write):

# Read call (view function)
python3 scripts/contract_interactor.py 0xContract functionName --abi contract.json --network ethereum --args '[123, "param2"]'

# Write call (transaction)
python3 scripts/contract_interactor.py 0xContract mint --abi nft.json --network polygon --args '[1]' --write --wallet my-wallet --password "password"

# Payable function (send ETH with call)
python3 scripts/contract_interactor.py 0xContract purchase --abi contract.json --network ethereum --args '[]' --write --wallet my-wallet --password "password" --value 0.05

Security Architecture

Encryption

  • Algorithm: AES-256-GCM with PBKDF2 key derivation
  • Iterations: 100,000 (OWASP recommended)
  • Salt: Random 16-byte salt per wallet
  • Storage: ~/.clawdbot/cryptowallet/ with 0600 permissions

Key Principles

  1. Password-protected transactions - Every send/sign operation requires password
  2. Encrypted at rest - Private keys never stored in plaintext
  3. No key exposure - Keys decrypted in memory only during signing
  4. Isolated storage - Each wallet has independent encryption

See references/security.md for complete security documentation.

Common Workflows

Portfolio Management

Check balances across all networks:

python3 scripts/balance_checker.py 0xYourAddress --all-evm

Multi-Chain Operations

Send the same token across different chains:

# Polygon USDC
python3 scripts/token_sender.py wallet recipient 100 --network polygon --token 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 --password "pwd"

# Arbitrum USDC
python3 scripts/token_sender.py wallet recipient 100 --network arbitrum --token 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 --password "pwd"

DeFi Protocol Interaction

Example: Approve and stake tokens

# 1. Approve token spending
python3 scripts/contract_interactor.py 0xTokenAddress approve --abi erc20.json --network ethereum --args '["0xProtocolAddress", "1000000000000000000000"]' --write --wallet my-wallet --password "pwd"

# 2. Stake tokens
python3 scripts/contract_interactor.py 0xStakingContract stake --abi staking.json --network ethereum --args '["1000000000000000000000"]' --write --wallet my-wallet --password "pwd"

Network Configuration

Modify references/networks.json to:

  • Add custom RPCs (Infura, Alchemy, QuickNode)
  • Add new networks
  • Update chain IDs or explorers

Default RPCs are public and may have rate limits. For production, use dedicated RPC providers.

Dependencies

Install required packages:

pip install web3 solana solders eth-account cryptography base58

Troubleshooting

"Incorrect password"

  • Password is case-sensitive
  • No recovery if password is lost (by design)

"Insufficient funds"

  • Check balance includes gas fees
  • On Ethereum: gas can be $5-50+ per transaction

"Transaction failed"

  • Verify network selection
  • Check contract address is correct
  • Ensure enough gas limit for complex operations

RPC errors

  • Public RPCs may be rate-limited
  • Use references/networks.json to configure your own RPC endpoint

Advanced Usage

Custom Network

Add to references/networks.json:

{
  "evm": {
    "your-network": {
      "name": "Your Chain",
      "chain_id": 12345,
      "rpc": "https://rpc.yourchain.com",
      "explorer": "https://explorer.yourchain.com",
      "native_token": "TOKEN"
    }
  }
}

Batch Operations

Use shell loops for batch transactions:

for addr in $(cat recipients.txt); do
  python3 scripts/token_sender.py wallet $addr 1 --network polygon --password "pwd"
done

Smart Contract ABIs

Generate ABIs from verified contracts on block explorers, or from your Solidity project's artifacts/ folder.

Limitations

  • Solana SPL transfers: Basic implementation (may need token account creation)
  • Hardware wallets: Not supported (encrypted file storage only)
  • Multi-sig: Not supported
  • Gas estimation: Uses fixed limits (may fail for complex contracts)

Best Practices

  1. Test on devnet/testnet first before mainnet transactions
  2. Use separate wallets for different purposes (trading, DeFi, cold storage)
  3. Backup wallet files and store passwords securely
  4. Verify addresses - blockchain transactions are irreversible
  5. Monitor gas prices - wait for lower congestion on Ethereum

See references/security.md for comprehensive security guidelines.

安全使用建议
This skill appears to implement the wallet features it claims, but take caution before installing or using it with real funds: - Source and homepage are unknown — the code isn't from a verifiable upstream; consider a manual code audit before trusting it with private keys. - DO NOT use the example pattern of passing passwords on the command line (e.g. --password "...") because command-line arguments can be recorded in shell history and exposed via process listings. Instead, modify scripts to prompt for passwords via stdin or to use a secure input method (getpass) or a dedicated secrets provider. - The code encrypts keys with AES-256-GCM and PBKDF2(100k) which is reasonable, but you should verify and test encryption/decryption yourself, and ensure strong unique passwords and secure backups of those passwords. - Default RPC endpoints are public nodes (rate-limited); for production use, configure a trusted RPC provider (Infura/Alchemy/your node). Be aware that some public RPCs (e.g., third-party providers) may log request metadata (addresses, tx payloads). - Run the code in an isolated environment (dedicated VM or container) and ensure Python dependencies are installed from trusted sources; inspect requirements and lock versions if possible. - Test with small amounts on testnets/devnet before sending substantial funds. If you want, I can: (1) point out exact lines to change to avoid CLI password leaks, (2) propose a safer prompt-based password flow, or (3) generate a short checklist for securely evaluating this code before use.
功能分析
Type: OpenClaw Skill Name: cryptowallet Version: 1.0.0 The OpenClaw AgentSkills skill bundle provides comprehensive cryptocurrency wallet management. The code implements strong cryptographic practices (AES-256-GCM, PBKDF2) for secure private key storage in `~/.clawdbot/cryptowallet/` with 0600 permissions. All network access is to public blockchain RPCs for legitimate transaction and balance checking purposes. The `SKILL.md` documentation clearly outlines the functionality and security architecture, and there is no evidence of prompt injection attempts, data exfiltration beyond the skill's purpose, malicious execution, or persistence mechanisms. The dependencies are standard and appropriate for the stated functionality.
能力标签
cryptorequires-walletcan-sign-transactions
能力评估
Purpose & Capability
Name/description align with the included code: wallet creation, encrypted local storage, balance checks, token transfers, and contract interactions are implemented across EVM and Solana; network list and dependencies match the stated capabilities.
Instruction Scope
SKILL.md and the example commands explicitly show passing wallet passwords directly on the command line (e.g. --password "password"). That exposes secrets to shell history and to process-list snooping. The scripts store encrypted wallet files under ~/.clawdbot/cryptowallet and decrypt private keys in-memory for signing (expected), but the documentation encourages insecure usage patterns that can lead to key disclosure. No instructions or helpers are provided to safely prompt for passwords or use more secure secret input mechanisms.
Install Mechanism
Registry lists no install spec (instruction-only), but the package includes code files and a requirements.txt and the SKILL.md shows a pip install line; this is coherent but means the user/agent must install Python packages before use. There is no remotely fetched or obfuscated installer; no high-risk download URLs detected.
Credentials
The skill requests no environment variables or external credentials. networks.json uses public RPC endpoints by default and suggests using Infura/Alchemy for production but does not require API keys. No unrelated credentials are requested.
Persistence & Privilege
The skill stores encrypted wallet JSON files in the user's home directory (~/.clawdbot/cryptowallet) and sets 0600 permissions — this is consistent with a local wallet manager. The skill does not request always:true, does not modify other skills, and does not require elevated system privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cryptowallet
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cryptowallet 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Secure multi-chain wallet management for EVM and Solana
元数据
Slug cryptowallet
版本 1.0.0
许可证
累计安装 1
当前安装数 0
历史版本数 1
常见问题

CryptoWallet - Multi-Chain Blockchain Wallet Manager 是什么?

Complete cryptocurrency wallet management for Web3, DeFi, and blockchain applications. Create and manage EVM (Ethereum, Polygon, BSC, Arbitrum, Optimism, Base, Avalanche) and Solana wallets with encrypted local storage. Query balances for native tokens (ETH, MATIC, BNB, SOL) and standard tokens (ERC20, SPL). Send transactions, interact with smart contracts, and manage multiple addresses across 12+ networks. Secure password-protected key storage with AES-256 encryption. Use for: (1) Creating new crypto wallets, (2) Importing existing wallets, (3) Checking token balances across chains, (4) Sending cryptocurrency and tokens, (5) Interacting with DeFi protocols and smart contracts, (6) Multi-chain portfolio management, (7) NFT transfers, (8) Blockchain development and testing. Keywords: crypto, cryptocurrency, wallet, blockchain, ethereum, solana, web3, defi, token, erc20, nft, smart contract, metamask alternative, hardware wallet, cold storage, hot wallet, blockchain wallet, digital wallet, bitcoin. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1851 次。

如何安装 CryptoWallet - Multi-Chain Blockchain Wallet Manager?

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

CryptoWallet - Multi-Chain Blockchain Wallet Manager 是免费的吗?

是的,CryptoWallet - Multi-Chain Blockchain Wallet Manager 完全免费(开源免费),可自由下载、安装和使用。

CryptoWallet - Multi-Chain Blockchain Wallet Manager 支持哪些平台?

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

谁开发了 CryptoWallet - Multi-Chain Blockchain Wallet Manager?

由 gnufoo(@gnufoo)开发并维护,当前版本 v1.0.0。

💬 留言讨论