Skip to content

Wulabalabo/SUI-SCAM-DETECTION

 
 

Repository files navigation

SUI-SCAM-DETECTION

A tool to detect SCAM object in Sui.

Workflow

flowchart TB
A[Object ID] --> B[Object data]
B --> C{Own Object?}
C -->|yes| D{Coin or NFT}
C -->|no| E[not SCAM]
D -->|coin| F{In coin whitelist?}
D -->|NFT| G{In NFT whitelist?}
F -->|yes| E
G -->|yes| E
F -->|no| H[get coin metadata]
G -->|no| I[get NFT desc etc]
H --> J1{GPT judge}
I --> J2{GPT judge}
J1 -->|not SCAM| E
J2 -->|not SCAM| E
J1 -->|SCAM| L[SCAM]
J2 -->|SCAM| L
Loading

Configure

Whitelist in /data/coin-list.json and /data/object-list.json.

Prompts in gpt.py.

Run

See process.py.

Future test features

  • visual model to analyze image
  • (optional) llama3
  • (optional) coze

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.1%
  • TypeScript 18.9%