Install
openclaw skills install smart-money-minerThis skill should be used when the user asks to "mine smart money addresses", "find smart money", "analyze PumpFun tokens", "analyze Four Meme tokens", "anal...
openclaw skills install smart-money-minerThis skill helps you discover and filter high-performing wallet addresses (smart money) from PumpFun (Solana) or Four Meme (BSC) graduated tokens, or user-provided token addresses.
The Smart Money Miner analyzes token trading data to identify wallet addresses with strong performance metrics. It fetches TOP 100 profitable addresses from each token, analyzes their trading history, and filters them based on multiple criteria to find truly skilled traders.
This skill activates when the user wants to:
# Analyze 20 PumpFun graduated tokens - Solana (recommended)
python scripts/miner.py --pumpfun --limit 20
# Analyze 10 Four Meme graduated tokens - BSC
python scripts/miner.py --fourmeme --fourmeme-limit 10
# Analyze specific tokens (auto-detects chain)
python scripts/miner.py --tokens token1,token2,0xABC123
# Test API connections
python scripts/miner.py --test-pumpfun
python scripts/miner.py --test-fourmeme
# Use custom skip addresses file
python scripts/miner.py --pumpfun --skip-file my_skip_list.json
# Mixed mode: PumpFun + Four Meme + manual tokens
python scripts/miner.py --tokens token1 --pumpfun --limit 10 --fourmeme
Addresses must pass ALL of the following criteria:
These criteria ensure only addresses with consistent profitability are selected.
Results are saved to smart_money_results.json:
{
"timestamp": "2026-02-28T10:30:00",
"source": "pumpfun",
"tokens_analyzed": 20,
"total_addresses_found": 1500,
"filtered_addresses_count": 45,
"filtered_addresses": [
{
"wallet_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"source_tokens": ["token1", "token2"],
"top5_avg_profit_rate": 125.45,
"top10_avg_profit_rate": 89.32,
"overall_win_rate": 38.5,
"average_profit_usdt": 1250.75,
"average_profit_rate": 52.3,
"total_tokens_traded": 156,
"passed_filter": true
}
],
"full_data": [...]
}
Create skip_addresses.json to exclude specific addresses:
{
"skip_addresses": [
"address1",
"address2",
"address3"
]
}
| Token Count | Expected Addresses | Estimated Time |
|---|---|---|
| 5 | ~500 | 10-15 minutes |
| 10 | ~1000 | 20-30 minutes |
| 20 | ~2000 | 40-60 minutes |
| 50 | ~5000 | 2-3 hours |
Actual time depends on network speed and API response times
--limit 5)This skill improves upon the original main.py:
Solution:
Possible Causes:
Solutions:
--limit 50)Optimization:
import json
import subprocess
# Run analysis
subprocess.run(['python', 'scripts/miner.py', '--pumpfun', '--limit', '20'])
# Read results
with open('smart_money_results.json', 'r') as f:
data = json.load(f)
# Process filtered addresses
for addr in data['filtered_addresses']:
print(f"Address: {addr['wallet_address']}")
print(f"Win Rate: {addr['overall_win_rate']}%")
import telebot
import json
bot = telebot.TeleBot("YOUR_TOKEN")
@bot.message_handler(commands=['smartmoney'])
def smart_money_command(message):
bot.reply_to(message, "🔍 正在分析聪明钱地址...")
# Run analysis
os.system("python scripts/miner.py --pumpfun --limit 10")
# Send results
with open('smart_money_results.json', 'r') as f:
data = json.load(f)
summary = f"✅ 发现 {data['filtered_addresses_count']} 个优质地址"
bot.send_message(message.chat.id, summary)
Edit these parameters in scripts/miner.py:
# PumpFun settings (Solana)
DEFAULT_PUMPFUN_LIMIT = 20
# Four Meme settings (BSC)
DEFAULT_FOURMEME_LIMIT = 20
# Filtering thresholds
TOP5_MIN_PROFIT_RATE = 0.0
TOP10_MIN_PROFIT_RATE = 0.0
MIN_WIN_RATE = 10.0
MIN_AVG_PROFIT_USDT = 500
MIN_AVG_PROFIT_RATE = 0.0
0x = BSC, otherwise = Solana)is_binance flag and ai_narrative fieldFor issues or questions: