Solana Scam Detector
name: solana-scam-detector
by ammkode · published 2026-04-01
$ claw add gh:ammkode/ammkode-solana-scam-detector---
name: solana-scam-detector
description: Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.
metadata:
{
"openclaw": {
"requires": { "bins": ["node"], "modules": ["@solana/web3.js"] },
"env": { "RPC_URL": "Solana RPC endpoint (optional, default: public RPC)" }
},
}
---
# Solana Scam Detector
Read-only scam detection for Solana tokens. No wallet signing required.
What It Does
Read-Only
This module **only reads blockchain data**. It does NOT:
Installation
npm install @solana/web3.jsConfiguration
**Required:** None (uses default public RPC)
**Optional (agent can ask user):**
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:**
1. Use default public RPC or ask user for their RPC URL
2. Optionally ask user for MIN_TOKEN_AGE_HOURS preference
3. Optionally allow user to add to BLACKLIST_EXACT / BLACKLIST_MINTS
4. Never ask for wallet key, Telegram ID, or trade history
Files
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...