Manage Ethereum wallets with encrypted keys, TOTP 2FA, secure ETH transactions, audit logs, and rate limiting for AI-driven payment processing.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install ai-walllet-payment-system或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install ai-walllet-payment-system⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/ai-walllet-payment-system/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
This skill enables AI agents to securely manage cryptocurrency wallets and perform blockchain transactions. It provides encrypted key storage, multi-factor authentication, and secure transaction processing for Ethereum-based payments.
Repository: https://github.com/cerbug45/AI-Wallet-Payment-System Author: cerbug46 Version: 13.0 Language: Python 3.8+
---
---
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y python3-dev libsqlcipher-dev build-essential libssl-dev
macOS:
brew install sqlcipher openssl [email protected]
Windows:
# Install Visual Studio Build Tools 2019+
# Download from: https://visualstudio.microsoft.com/downloads/
# Select "Desktop development with C++" workload
git clone https://github.com/cerbug45/AI-Wallet-Payment-System.git
cd AI-Wallet-Payment-System
# Create isolated virtual environment
python3 -m venv venv
# Activate environment
source venv/bin/activate # Linux/macOS
# OR
venv\Scripts\activate # Windows
# Upgrade pip
pip install --upgrade pip
# Core dependencies
pip install web3==6.0.0
pip install pysqlcipher3==1.2.0
pip install cryptography==41.0.0
pip install argon2-cffi==23.1.0
pip install pyotp==2.9.0
pip install qrcode==7.4.0
pip install pillow==10.0.0
# Optional: Install all at once
pip install -r requirements.txt
Dependency Breakdown:
web3 - Ethereum blockchain interactionpysqlcipher3 - Encrypted SQLite databasecryptography - AES/ChaCha20 encryptionargon2-cffi - Password hashingpyotp - TOTP 2FA implementationqrcode - QR code generation for 2FApillow - Image processing for QR codesCreate .env file in project root:
# Required Configuration
WEB3_PROVIDER_URL=https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID
BACKUP_ENCRYPTION_KEY_FINGERPRINT=<generated-key>
# Optional Configuration
DATABASE_PATH=./secure_wallets.db
LOG_LEVEL=INFO
RATE_LIMIT_ENABLED=true
MAX_REQUESTS_PER_MINUTE=2
MAX_REQUESTS_PER_HOUR=20
SESSION_TIMEOUT_MINUTES=15
Generate Backup Encryption Key:
openssl rand -hex 32
# Copy output to BACKUP_ENCRYPTION_KEY_FINGERPRINT
Get Infura Project ID:
python -c "from ultra_secure_wallet_v13_MAXIMUM_SECURITY import MaximumSecurityPaymentAPI; print('✅ Installation successful')"
---
from ultra_secure_wallet_v13_MAXIMUM_SECURITY import MaximumSecurityPaymentAPI
import getpass
import os
# Load environment variables
from dotenv import load_dotenv
load_dotenv()
# Get master password securely (NEVER hardcode!)
master_password = getpass.getpass("Enter master password: ")
# Initialize API
api = MaximumSecurityPaymentAPI(master_password)
# Create new wallet
wallet = api.create_wallet(
wallet_id="my_ai_wallet",
metadata={
"agent_name": "PaymentBot",
"purpose": "automated_payments"
}
)
if wallet['success']:
print(f"✅ Wallet created!")
print(f" Address: {wallet['address']}")
print(f" 📱 Setup 2FA with: {wallet['totp_uri']}")
print(f" 🔑 Backup codes: {wallet['backup_codes']}")
# CRITICAL: Save MFA secret and backup codes securely!
# Store in password manager or encrypted vault
# Check balance
balance = api.get_balance("my_ai_wallet")
print(f"💰 Balance: {balance['balance_eth']} ETH")
# Send transaction (requires TOTP from authenticator app)
totp_code = input("Enter 6-digit TOTP code: ")
tx = api.send_transaction(
wallet_id="my_ai_wallet",
to_address="0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
amount_eth=0.001, # Send 0.001 ETH
totp_code=totp_code
)
if tx['success']:
print(f"✅ Transaction sent!")
print(f" TX Hash: {tx['tx_hash']}")
# Always cleanup sensitive data
api.cleanup()
# Run built-in demo
python ultra_secure_wallet_v13_MAXIMUM_SECURITY.py
# Follow prompts:
# 1. Enter strong master password (20+ chars)
# 2. System creates demo wallet
# 3. Displays active security features
# 4. Shows wallet address and 2FA setup
---
The system enforces strict password policies:
# Minimum requirements
- Length: 20+ characters
- Uppercase letters: 1+
- Lowercase letters: 1+
- Digits: 1+
- Special characters: 1+
- Entropy: 80+ bits
Recommended Password Generation:
# Generate strong password
openssl rand -base64 32
# Or use password manager:
# - 1Password
# - Bitwarden
# - LastPass
# - KeePassXC
After creating a wallet, you'll receive:
Compatible Authenticator Apps:
Edit in code or environment:
# Default limits
MAX_REQUESTS_PER_MINUTE = 2 # Per wallet/IP
MAX_REQUESTS_PER_HOUR = 20 # Per wallet/IP
LOCKOUT_DURATION = 3600 # 1 hour in seconds
All operations are logged to secure_wallet.log:
# View logs
tail -f secure_wallet.log
# Filter for specific wallet
grep "my_ai_wallet" secure_wallet.log
# Check for security events
grep -E "SECURITY|ERROR|FAILED" secure_wallet.log
---
class PaymentAgent:
def __init__(self, master_password):
self.wallet_api = MaximumSecurityPaymentAPI(master_password)
self.wallet_id = "agent_wallet"
async def process_payment(self, recipient, amount, totp):
"""Process automated payment"""
# Check balance first
balance = self.wallet_api.get_balance(self.wallet_id)
if balance['balance_eth'] < amount:
return {"error": "Insufficient funds"}
# Execute transaction
result = self.wallet_api.send_transaction(
wallet_id=self.wallet_id,
to_address=recipient,
amount_eth=amount,
totp_code=totp
)
return result
def cleanup(self):
self.wallet_api.cleanup()
Development/Testnet:
# Use Sepolia testnet
WEB3_PROVIDER_URL=https://sepolia.infura.io/v3/YOUR_PROJECT_ID
# Or Goerli
WEB3_PROVIDER_URL=https://goerli.infura.io/v3/YOUR_PROJECT_ID
Production/Mainnet:
# Ethereum mainnet
WEB3_PROVIDER_URL=https://mainnet.infura.io/v3/YOUR_PROJECT_ID
# Enable all security features
RATE_LIMIT_ENABLED=true
REQUIRE_2FA=true
AUDIT_LOGGING=true
Export Wallet Backup:
# Encrypted backup creation
api.export_wallet_backup("my_wallet", backup_password="strong-backup-pwd")
# Creates: wallet_backup_20240215_123456.enc
...
安装 AI Walllet Payment System 后,可以对 AI 说这些话来触发它
Help me get started with AI Walllet Payment System
Explains what AI Walllet Payment System does, walks through the setup, and runs a quick demo based on your current project
Use AI Walllet Payment System to manage Ethereum wallets with encrypted keys, TOTP 2FA, secure ETH t...
Invokes AI Walllet Payment System with the right parameters and returns the result directly in the conversation
What can I do with AI Walllet Payment System in my finance & investment workflow?
Lists the top use cases for AI Walllet Payment System, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/ai-walllet-payment-system/ 目录(个人级,所有项目可用),或 .claude/skills/ai-walllet-payment-system/(项目级)。重启 AI 客户端后,用 /ai-walllet-payment-system 主动调用,或让 AI 根据上下文自动发现并使用。
AI Walllet Payment System 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
AI Walllet Payment System 可免费安装使用。请查阅仓库了解许可证信息。
Manage Ethereum wallets with encrypted keys, TOTP 2FA, secure ETH transactions, audit logs, and rate limiting for AI-driven payment processing.
AI Walllet Payment System 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using AI Walllet Payment System
Identifies repetitive steps in your workflow and sets up AI Walllet Payment System to handle them automatically