Skills solana-scam-detector
Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ammkode/solana-scam-detector" ~/.claude/skills/clawdbot-skills-solana-scam-detector && rm -rf "$T"
manifest:
skills/ammkode/solana-scam-detector/SKILL.mdsource content
Solana Scam Detector
Read-only scam detection for Solana tokens. No wallet signing required.
What It Does
- Token Age Check — Flags tokens younger than threshold
- Ticker Pattern Check — Flags fake stock tokens (META, AAPL, etc.)
- Mint Blacklist — Check against known scam mints
Read-Only
This module only reads blockchain data. It does NOT:
- ❌ Require wallet key file
- ❌ Require Telegram ID
- ❌ Store trade history
- ❌ Send any transactions
Installation
npm install @solana/web3.js
Configuration
Required: None (uses default public RPC)
Optional (agent can ask user):
— Custom RPC endpoint (default: public RPC)RPC_URL
— Minimum hours (default: 4)MIN_TOKEN_AGE_HOURS
Usage
const { checkTokenSafety, isValidSolanaAddress } = require('./lib/scam_check.js'); // Validate address first if (!isValidSolanaAddress(mint)) { console.log('Invalid address'); return; } // Check token const result = await checkTokenSafety(mint, symbol); console.log(result); // { safe: true, issues: [], config: {...} }
Agent Instructions
Keep it simple — this is read-only:
- Use default public RPC or ask user for their RPC URL
- Optionally ask user for MIN_TOKEN_AGE_HOURS preference
- Optionally allow user to add to BLACKLIST_EXACT / BLACKLIST_MINTS
- Never ask for wallet key, Telegram ID, or trade history
Files
— Main detection logic (read-only)lib/scam_check.js
— Minimal config (RPC URL only)lib/config.js
— This fileSKILL.md