solana-scam-detector

by ammkode

Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.

3.8k其他未扫描2026年4月6日

安装

claude skill add --url https://github.com/openclaw/skills

文档

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

bash
npm install @solana/web3.js

Configuration

Required: None (uses default public RPC)

Optional (agent can ask user):

  • RPC_URL — Custom RPC endpoint (default: public RPC)
  • MIN_TOKEN_AGE_HOURS — Minimum hours (default: 4)

Usage

javascript
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

  • lib/scam_check.js — Main detection logic (read-only)
  • lib/config.js — Minimal config (RPC URL only)
  • SKILL.md — This file

相关 Skills

claude-api

by anthropic

热门

Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.

其他
安全111.1k

revenue-studio

by amoldericksoans

A revenue-first solofounder studio that watches markets, finds monetizable pain, validates offers, ships narrow products, and compounds commercial memory across launches. Uses massive parallel agent orchestration with 8 layers: Signal Mesh, Extraction, Opportunity Graph, Cofounder Council, Revenue Lab, Build Studio, Launch Loop, and Portfolio Allocator.

其他
未扫描3.8k

fund-query

by allenkwok

热门

查询中国公募基金信息,支持收藏和分组管理。包括基金名称、单位净值、估算净值、涨跌幅等。使用天天基金 API 获取实时数据。当用户输入基金代码(6 位数字)、询问基金净值、或需要管理基金收藏/分组时使用此技能。

其他
未扫描3.8k

评论