简介
多链钱包分析工具,支持8个EVM网络,集成USD计价、ENS解析、NFT收藏集名称识别及AI驱动的机器人检测功能。
原始描述
Advanced multi-chain wallet analyzer with USD pricing, collection names, ENS support, and sophisticated bot detection across 8 EVM networks. Use when you nee...
通过你的 Agent 添加
安装目录:walletlens/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心功能
WalletLens 是一款面向多链生态的高级钱包分析工具,专注于为链上数据提供结构化、可读的深度洞察。其核心功能覆盖七大场景:钱包画像分析(含USD估值与自然语言摘要)、智能合约信息查验、NFT持仓追踪(自动解析收藏集名称)、交易历史追溯、机器人账户识别、尽职调查支持以及跨链活动追踪。
显著优势
- 多链原生支持:以ApeChain为主链,同步覆盖Ethereum、Base、Arbitrum、Polygon、Optimism、Avalanche、BNB Chain八大网络,自动适配各链RPC特性。
- 数据可读性:独创「Pretty模式」,通过emoji增强、自然语言生成将原始区块链数据转化为人类可读的摘要;JSON模式则面向自动化工作流。
- 智能定价体系:集成CoinGecko实时价格,NFT收藏集名称通过Alchemy API+RPC双重 fallback 机制解析,确保数据完整性。
- 行为分析引擎:机器人检测采用多因子评分模型(包装代币使用30%、快速翻转25%、即时挂单20%、激进定价15%、跨收藏集活动10%),输出0-100量化评分与分级结论。
- 可靠性设计:指数退避重试(500ms→1s→2s)、10秒超时阈值、优雅的降级策略,有效应对Polygon/Optimism等间歇性不稳定网络。
局限性与潜在风险
功能性局限:
- 历史数据覆盖受限于RPC查询深度(50万-200万区块),极早期交易可能遗漏
- 机器人分析需至少3笔NFT购买记录作为样本基线
- BSC/Avalanche等网络测试覆盖有限,稳定性存变量
结构性风险:
- 依赖公共RPC端点,存在节点审查、速率限制或数据回滚风险;虽支持自定义RPC配置,但默认配置下用户无节点主权
- 价格数据依赖CoinGecko中心化API,极端行情下可能存在延迟或喂价偏差
- Alchemy API Key为可选增强项,缺失时NFT元数据解析精度下降
合规与隐私:
- 地址分析本质属于公开数据聚合,但批量查询可能触发反女巫风控
- 机器人评分算法未开源训练数据集,存在误判可能(如高频专业交易者被标记为机器人)
适用人群
- NFT项目方:空投前尽职调查、社区成员真实性筛查
- DeFi分析师:跨链资金流向追踪、大户行为模式研究
- 安全研究员:合约关联分析、钓鱼地址特征提取
- 普通投资者:自有钱包多链资产盘点、持仓估值参考
安全等级与来源评估
工具本身无资金托管、无私钥操作,纯读取型设计降低攻击面;但依赖第三方数据源引入信任假设。代码未披露审计报告,建议敏感场景结合其他信源交叉验证。
技能正文
name: walletlens description: "Advanced multi-chain wallet analyzer with USD pricing, collection names, ENS support, and sophisticated bot detection across 8 EVM networks. Use when you need to: (1) analyze wallet profiles with USD valuations and natural language summaries, (2) inspect smart contract details and token information, (3) track NFT portfolios with resolved collection names, (4) examine transaction history and transfer patterns, (5) detect potential bot accounts through advanced behavioral analysis, (6) perform due diligence on addresses with comprehensive insights, (7) investigate cross-chain activity with ENS domain support. Supports ApeChain (primary), Ethereum, Base, Arbitrum, Polygon, Optimism, Avalanche, and BNB Chain with automatic retry logic and human-readable output." metadata: openclaw: requires: env: [] credentialNotes: "No API keys required for basic usage (uses public RPC endpoints). Optional: set ALCHEMY_API_KEY for enhanced NFT collection name resolution and faster queries."
WalletLens
An advanced multi-chain wallet analyzer that provides detailed wallet profiles with USD pricing, human-readable NFT collection names, ENS domain support, and sophisticated bot detection across 8 major EVM networks.
Key Features
- Multi-Chain Support: 8 EVM networks with ApeChain as primary focus
- USD Price Integration: Real-time token prices via CoinGecko with graceful degradation
- ENS Domain Support: Resolve .eth names across all commands automatically
- Collection Name Resolution: Human-readable NFT collection names via Alchemy API + RPC fallback
- Natural Language Summaries: Pretty mode includes intelligent wallet insights
- Advanced Bot Detection: Sophisticated scoring algorithm to identify automated accounts
- Reliable Performance: Automatic retry logic with exponential backoff for network resilience
- Dual Output Formats: JSON (default) for agents,
--prettyflag for human-readable output - Minimal Dependencies: Uses public RPC endpoints, optional Alchemy API key for enhanced features
Installation
This skill requires Node.js (v16+). No additional dependencies needed - uses built-in fetch API.
# Verify Node.js version
node --version
Quick Start
Basic wallet lookup on ApeChain:
node scripts/wallet-lookup.js 0x8dd6390be6dc732c92b161b9793a3948b56c0126
Same query with human-readable output:
node scripts/wallet-lookup.js 0x8dd6390be6dc732c92b161b9793a3948b56c0126 --pretty
Cross-chain lookup on Ethereum:
node scripts/wallet-lookup.js 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --chain ethereum --pretty
Commands Reference
All commands support --chain <name> (defaults to apechain) and --pretty flag for human-readable output.
Wallet Lookup
Purpose: Complete wallet profile with balance, transaction count, and NFT activity summary
node scripts/wallet-lookup.js <address> [--chain <name>] [--pretty]
Returns: Native token balance, transaction count, NFT activity (received/sent), collection count, top holdings
Example Output (JSON):
{
"address": "0x8dd6390be6dc732c92b161b9793a3948b56c0126",
"chain": "ApeChain",
"chainId": 33139,
"isContract": false,
"balance": { "APE": 10.1398 },
"transactionCount": 6352,
"nftActivity": { "received": 2, "sent": 1 },
"nftCollectionsHeld": 1,
"topHoldings": [
{ "contract": "0x6f2a21a8b9cf699d7d3a713a9d7cfbb9e9760f97", "count": 2 }
],
"explorer": "https://apescan.io/address/0x8dd6390be6dc732c92b161b9793a3948b56c0126"
}
Example Output (Pretty):
🔍 Wallet: 0x8dd6390be6dc732c92b161b9793a3948b56c0126
⛓️ Chain: ApeChain (33139)
💰 Balance: 10.1398 APE
📊 Transactions: 6,352
🎨 NFT Activity: 2 received, 1 sent
📦 Collections: 1
🔗 Explorer: https://apescan.io/address/0x8dd6390be6dc732c92b161b9793a3948b56c0126
Contract Information
Purpose: Detailed smart contract analysis including type detection and metadata
node scripts/contract-info.js <address> [--chain <name>] [--pretty]
Returns: Contract type (ERC-20/721/1155), name, symbol, total supply, decimals, owner
Use Cases: Token research, contract verification, due diligence
Transaction History
Purpose: Recent transfer activity with timestamps and transaction details
node scripts/tx-history.js <address> [--chain <name>] [--limit <number>] [--pretty]
Returns: Recent ERC-20 and NFT transfers with direction (IN/OUT), timestamps, contract addresses
Use Cases: Activity analysis, transaction tracking, wallet monitoring
NFT Holdings
Purpose: Current NFT collection with detailed token information
node scripts/nft-holdings.js <address> [--chain <name>] [--collection <contract>] [--pretty]
Returns: NFTs currently held, grouped by collection, token IDs, transfer statistics
Use Cases: NFT portfolio analysis, collection tracking, investment research
Bot Detection
Purpose: Advanced behavioral analysis to identify potential automated accounts
node scripts/bot-detect.js <address> [--chain <name>] [--pretty]
Returns: Bot score (0-100), verdict classification, detailed breakdown of scoring factors
Scoring Factors:
- Wrapped Token Usage (30pts): Frequency of using wrapped native tokens
- Fast Flipping (25pts): Quick buy-sell cycles within 24 hours
- Fast Listing (20pts): Immediate listing after purchase (within 30 minutes)
- Aggressive Pricing (15pts): Price manipulation patterns
- Cross-Collection Activity (10pts): Activity spread across many collections
Score Interpretation:
- 75-100: Definite bot
- 60-74: Likely bot
- 40-59: Suspicious
- 20-39: Probably human
- 0-19: Human
Use Cases: Due diligence, airdrop filtering, community verification
Supported Networks
See references/CHAINS.md for comprehensive chain information including reliability status and performance characteristics.
Reliable Chains ✅
- ApeChain (primary) - Fastest, most reliable
- Ethereum - Stable, high-value addresses
- Base - Fast L2 performance
- Arbitrum - Reliable L2 with official RPC
Intermittent Chains 🟡
- Polygon - May timeout, use with retry logic
- Optimism - Occasional performance issues
- BNB Chain - Variable reliability
- Avalanche - Limited testing, use with caution
Output Formats
All scripts support two output modes:
JSON Format (Default)
Structured data ideal for programmatic consumption and agent workflows:
node scripts/wallet-lookup.js <address>
# Returns formatted JSON
Pretty Format (Human-Readable)
Clean, emoji-enhanced output for human review:
node scripts/wallet-lookup.js <address> --pretty
# Returns formatted text with emojis and clear sections
Environment Variables
No environment variables required. The skill uses public RPC endpoints configured in scripts/lib/rpc.js.
Custom RPC Endpoints (Advanced)
To use custom RPC endpoints, modify the CHAINS object in scripts/lib/rpc.js:
const CHAINS = {
apechain: {
id: 33139,
rpc: "your-custom-rpc-url",
name: "ApeChain",
symbol: "APE",
explorer: "https://apescan.io"
},
// ... other chains
};
Error Handling & Reliability
Automatic Retry Logic
- 3 retry attempts with exponential backoff (500ms, 1s, 2s)
- 10-second timeout per request
- Graceful failure with clean error messages
Input Validation
- Address format validation (0x + 40 hex characters)
- Chain name validation against supported list
- Clean error messages without stack traces
Common Error Messages
{"error": "Invalid address format. Address must be 0x followed by 40 hexadecimal characters"}
{"error": "Unsupported chain \"invalidchain\". Supported chains: apechain, ethereum, base, arbitrum, polygon, optimism, avalanche, bsc"}
{"error": "RPC request timed out after 10000ms"}
Performance & Limitations
Response Times
- Fast (< 1s): ApeChain, Arbitrum
- Good (1-2s): Ethereum, Base
- Variable (1-5s): Polygon, Optimism, BSC, Avalanche
Data Coverage
- Recent Activity: 500K-2M blocks depending on chain performance
- Historical Limitations: Very old transactions may not appear
- NFT Detection: ERC-721 and ERC-1155 support via Transfer events
- Bot Analysis: Requires minimum 3 NFT purchases for scoring
Resource Usage
- Memory: Minimal - processes data in streams
- Network: Burst usage during queries, then idle
- CPU: Low - mostly I/O bound operations
Troubleshooting
Network Issues
# If RPC timeouts occur, try different chain:
node scripts/wallet-lookup.js <address> --chain ethereum
# For intermittent chains, retry usually succeeds:
node scripts/wallet-lookup.js <address> --chain polygon
Empty Results
- Verify address is active on the selected chain
- Try different chain if cross-chain activity expected
- Increase block scan range for older activity
Performance Optimization
- Use
--limitparameter to reduce transaction history size - Choose reliable chains (ApeChain, Ethereum, Base, Arbitrum) for consistent performance
- Monitor response times and adjust expectations per chain
Advanced Usage
Batch Analysis
# Analyze multiple addresses
for addr in 0xaddr1 0xaddr2 0xaddr3; do
echo "=== Analysis for $addr ==="
node scripts/wallet-lookup.js $addr --pretty
node scripts/bot-detect.js $addr --pretty
echo
done
Cross-Chain Investigation
# Check same address across multiple chains
for chain in apechain ethereum base arbitrum; do
echo "=== $chain ==="
node scripts/wallet-lookup.js 0x8dd6390be6dc732c92b161b9793a3948b56c0126 --chain $chain --pretty
done
Collection Analysis
# Focus on specific NFT collection
node scripts/nft-holdings.js <address> --collection 0x<contract> --pretty
References
- Chain Details: references/CHAINS.md - Comprehensive chain status and performance data
- Bot Scoring: references/bot-scoring.md - Detailed bot detection methodology
Version History
- v2.0: Added retry logic, input validation, pretty formatting, comprehensive chain documentation
- v1.0: Initial release with basic multi-chain support and bot detection
Need help? Check the references directory for detailed documentation or run any command without arguments for usage instructions.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。