prism-scanner

TotalClaw 作者 totalclaw v1.1.1

对任何令牌进行即时地毯拉力检测。持有人集中度、流动性锁定、合约风险。 DYOR 在你猿之前。与人工智能代理合作。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~nextfrontierbuilds-prism-scanner
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~nextfrontierbuilds-prism-scanner/file -o nextfrontierbuilds-prism-scanner.md
# Token Rug Checker

**DYOR before you ape.** Instant rug pull detection for any crypto token.

Scans holder concentration, liquidity locks, contract honeypots, and copycat scams. Works with Solana and EVM chains. Powered by Strykr PRISM.

## Quick Usage

```bash
# Scan by symbol
./scan.sh PEPE

# Scan by contract address
./scan.sh 0x6982508145454Ce325dDbE47a25d4ec3d2311933

# Get JSON output
./scan.sh PEPE --json
```

## What It Checks

| Check | Endpoint | Risk Factor |
|-------|----------|-------------|
| Copycat/Scam | `/analyze/copycat` | High |
| Holder Concentration | `/analytics/holders` | Medium |
| Liquidity Status | `/analyze` | High |
| Contract Verification | `/analyze` | Medium |
| Token Age | `/analyze` | Low |
| Rebrand History | `/analyze/rebrand` | Info |

## Risk Score Calculation

```
0-25:   ✅ Lower Risk (Green)
26-50:  ⚠️ Medium Risk (Yellow)
51-75:  🔶 Higher Risk (Orange)
76-100: 🚨 High Risk (Red)
```

### Scoring Breakdown

| Factor | Max Points | Trigger |
|--------|------------|---------|
| Copycat detected | 30 | Similarity > 70% to known scam |
| Honeypot pattern | 25 | Buy/sell tax anomaly |
| Holder concentration | 25 | Top 10 wallets > 60% |
| Unlocked liquidity | 20 | LP not locked |
| Unverified contract | 15 | Not verified on explorer |
| New token (<7 days) | 10 | Recently launched |
| Low liquidity | 10 | < $10K liquidity |

## Output Format

```
🛡️ PRISM Token Scan: PEPE

Contract: 0x6982508...2311933
Chain: Ethereum

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

RISK SCORE: 35/100
████████░░░░░░░░░░░░ Lower Risk

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CHECKS:
✅ No copycat detected
✅ Contract verified on Etherscan
✅ Liquidity locked (12 months)
⚠️ Top 10 wallets hold 42% of supply
✅ Token age: 8 months
✅ Normal buy/sell taxes (0%/0%)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

HOLDER DISTRIBUTION:
• Top holder: 3.2%
• Top 10: 42%
• Top 100: 68%

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ DYOR - This is not financial advice
```

## API Endpoints Used

```bash
# 1. Resolve token to canonical form
GET /resolve/{symbol_or_address}

# 2. Get general analysis
GET /analyze/{symbol}

# 3. Check for copycat/scam
GET /analyze/copycat/{symbol}

# 4. Get holder distribution
GET /analytics/holders/{contract}

# 5. Check rebrand history
GET /analyze/rebrand/{symbol}
```

## Integration Examples

### Telegram Bot
```
User: /scan PEPE
Bot: 🛡️ Scanning PEPE...
     
     Risk Score: 35/100 (Lower Risk)
     
     ✅ No copycat detected
     ✅ Liquidity locked
     ⚠️ Top 10 hold 42%
     
     [Full Report] [Share]
```

### Discord Bot
```
!scan 0x6982508...
```

### Web App
```javascript
const result = await prismScan('PEPE');
// { score: 35, checks: [...], holders: {...} }
```

## Environment Variables

```bash
PRISM_URL=https://strykr-prism.up.railway.app
PRISM_API_KEY=your-api-key  # Optional
```

---

Built by [@NextXFrontier](https://x.com/NextXFrontier)

---

## 中文说明

# 代币地毯拉力检测器

**在你梭哈之前先做好功课(DYOR)。** 对任何加密代币进行即时地毯拉力检测。

扫描持有人集中度、流动性锁定、合约蜜罐以及山寨骗局。支持 Solana 和 EVM 链。由 Strykr PRISM 驱动。

## 快速用法

```bash
# Scan by symbol
./scan.sh PEPE

# Scan by contract address
./scan.sh 0x6982508145454Ce325dDbE47a25d4ec3d2311933

# Get JSON output
./scan.sh PEPE --json
```

## 它检查什么

| 检查项 | 端点 | 风险因素 |
|-------|----------|-------------|
| 山寨/骗局 | `/analyze/copycat` | 高 |
| 持有人集中度 | `/analytics/holders` | 中 |
| 流动性状态 | `/analyze` | 高 |
| 合约验证 | `/analyze` | 中 |
| 代币年龄 | `/analyze` | 低 |
| 更名历史 | `/analyze/rebrand` | 信息 |

## 风险评分计算

```
0-25:   ✅ Lower Risk (Green)
26-50:  ⚠️ Medium Risk (Yellow)
51-75:  🔶 Higher Risk (Orange)
76-100: 🚨 High Risk (Red)
```

### 评分细分

| 因素 | 最高分 | 触发条件 |
|--------|------------|---------|
| 检测到山寨 | 30 | 与已知骗局相似度 > 70% |
| 蜜罐模式 | 25 | 买入/卖出税异常 |
| 持有人集中度 | 25 | 前 10 个钱包 > 60% |
| 未锁定流动性 | 20 | LP 未锁定 |
| 未验证合约 | 15 | 未在浏览器上验证 |
| 新代币(<7 天) | 10 | 近期上线 |
| 低流动性 | 10 | 流动性 < $10K |

## 输出格式

```
🛡️ PRISM Token Scan: PEPE

Contract: 0x6982508...2311933
Chain: Ethereum

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

RISK SCORE: 35/100
████████░░░░░░░░░░░░ Lower Risk

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CHECKS:
✅ No copycat detected
✅ Contract verified on Etherscan
✅ Liquidity locked (12 months)
⚠️ Top 10 wallets hold 42% of supply
✅ Token age: 8 months
✅ Normal buy/sell taxes (0%/0%)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

HOLDER DISTRIBUTION:
• Top holder: 3.2%
• Top 10: 42%
• Top 100: 68%

━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ DYOR - This is not financial advice
```

## 使用的 API 端点

```bash
# 1. Resolve token to canonical form
GET /resolve/{symbol_or_address}

# 2. Get general analysis
GET /analyze/{symbol}

# 3. Check for copycat/scam
GET /analyze/copycat/{symbol}

# 4. Get holder distribution
GET /analytics/holders/{contract}

# 5. Check rebrand history
GET /analyze/rebrand/{symbol}
```

## 集成示例

### Telegram 机器人
```
User: /scan PEPE
Bot: 🛡️ Scanning PEPE...
     
     Risk Score: 35/100 (Lower Risk)
     
     ✅ No copycat detected
     ✅ Liquidity locked
     ⚠️ Top 10 hold 42%
     
     [Full Report] [Share]
```

### Discord 机器人
```
!scan 0x6982508...
```

### Web 应用
```javascript
const result = await prismScan('PEPE');
// { score: 35, checks: [...], holders: {...} }
```

## 环境变量

```bash
PRISM_URL=https://strykr-prism.up.railway.app
PRISM_API_KEY=your-api-key  # Optional
```

---

由 [@NextXFrontier](https://x.com/NextXFrontier) 构建