Jump to related tools in the same category or review the original source on GitHub.

Coding Agents & IDEs @princedoss77 Updated 6/28/2026 1,191 downloads 0 stars Security: Pass

Crypto Genie OpenClaw Plugin & Skill | ClawHub

Looking to integrate Crypto Genie into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate coding agents & ides tasks instantly, without having to write custom tools from scratch.

What this skill does

AI-powered cryptocurrency safety assistant with database-first architecture. Protects users from phishing, honeypots, rug pulls, and ponzi schemes. No external API calls during checks!

Install

ClawHub CLI
openclaw skills install @princedoss77/crypto-genie
Node.js (npx)
npx clawhub@latest install crypto-genie

Full SKILL.md

Open original
Metadata table.
nameversiondescriptionlicensetags
crypto-genie2.0.0AI-powered cryptocurrency safety assistant with database-first architecture. Protects users from phishing, honeypots, rug pulls, and ponzi schemes. No external API calls during checks!MIT
cryptoscam-detectionethereumblockchainsecurityfraud-preventionweb3defidatabaseetherscanai-assistant

SKILL.md content below is scrollable.

šŸ§ž Crypto Genie v2.0

Your AI-powered cryptocurrency safety assistant for OpenClaw

Analyzes crypto addresses for phishing, honeypots, rug pulls, and ponzi schemes using a local database with background sync from Etherscan. Zero external API calls during user checks = instant results!

✨ What's New in v2.0

šŸš€ Major Architecture Upgrade

  • āœ… Database-first design - All checks query local SQLite database
  • āœ… Instant results - No API latency during checks (<5ms)
  • āœ… No rate limits - User queries never hit Etherscan API
  • āœ… Background sync worker - Separate process pulls from Etherscan
  • āœ… Transaction message analysis - Decodes and analyzes hex data
  • āœ… Auto-queue system - Unknown addresses automatically queued for sync
  • āœ… Deep scanning - Detects suspicious keywords in transaction data

šŸ” Enhanced Detection

Now catches scams the old version missed:

  • āœ… "Lazarus Vanguard" hacking group references
  • āœ… "Orbit Bridge Hacker" mentions
  • āœ… Private key phishing attempts
  • āœ… Exploit recruitment messages
  • āœ… And much more...

šŸ“¦ What's Included

crypto-genie/
ā”œā”€ā”€ SKILL.md                    # This file
ā”œā”€ā”€ DATABASE_ARCHITECTURE.md    # Technical documentation
ā”œā”€ā”€ database.py                 # SQLite database layer
ā”œā”€ā”€ crypto_check_db.py          # Database-only checker (instant)
ā”œā”€ā”€ sync_worker.py              # Background Etherscan sync worker
ā”œā”€ā”€ secure_key_manager.py       # Encrypted API key storage
ā”œā”€ā”€ install.sh                  # Auto-installer
ā”œā”€ā”€ setup.sh                    # API key setup wizard
ā”œā”€ā”€ check_address.sh            # Convenience script (sync if needed)
ā”œā”€ā”€ requirements.txt            # Python dependencies
└── venv/                       # Virtual environment (created on install)

šŸš€ Quick Start

1. Install

cd ~/.openclaw/workspace/skills/crypto-genie
bash install.sh

2. Configure Etherscan API Key (Optional but Recommended)

Option A: Interactive Setup (Encrypted storage)

./setup.sh
# Follow the wizard to encrypt your API key

Option B: Environment Variable

export ETHERSCAN_API_KEY="your_key_here"

Get free API key: https://etherscan.io/myapikey

3. Check an Address

# Check address (instant, database-only)
python3 crypto_check_db.py 0x1234567890abcdef1234567890abcdef12345678

4. Run Background Sync Worker

Manual mode:

python3 sync_worker.py
# Runs continuously, processes queue

Batch mode:

python3 sync_worker.py --max-jobs 20
# Process 20 addresses then exit

Cron schedule (recommended):

# Add to crontab
*/10 * * * * cd ~/.openclaw/workspace/skills/crypto-genie && source venv/bin/activate && ETHERSCAN_API_KEY="key" python3 sync_worker.py --max-jobs 30

šŸ’” How It Works

Architecture Flow

User checks address
       ↓
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ crypto_check_db  │ ← Queries local database ONLY
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜   (No external API calls)
         │
         ↓
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ Local SQLite DB      │
│ ~/.config/crypto-    │
│  scam-detector/      │
│                      │
│ • Addresses          │
│ • Transactions       │
│ • Risk scores        │
│ • Scam indicators    │
│ • Sync queue         │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā–²ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
         │
         │ Background sync
         │
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”“ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│ sync_worker.py       │ ← Pulls from Etherscan
│                      │   (Uses your API key)
│ • Reads queue        │
│ • Calls Etherscan    │
│ • Decodes TX data    │
│ • Analyzes messages  │
│ • Stores in DB       │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

User Flow

  1. Check address: python3 crypto_check_db.py 0x...
  2. If in database: Instant results with full analysis
  3. If NOT in database:
    • Returns "unknown" status
    • Automatically adds to sync queue
    • Shows: "ā³ Check again in a few minutes"
  4. Background worker syncs it (next cron run or manual trigger)
  5. Check again: Full analysis now available

šŸ” Detection Capabilities

Scam Types Detected

Type Detection Method
Phishing Keyword analysis: "private key", "seed phrase", "verify wallet"
Honeypot Contract code analysis (unverified contracts)
Rug Pull Transaction pattern analysis
Exploit Groups Keywords: "Lazarus", "hack", "exploit", "breach"
Social Engineering Keywords: "urgent", "claim reward", "airdrop winner"

Risk Scoring

Algorithm factors:

  • Suspicious transaction count (+25 per TX, max +50)
  • Account age (new addresses: +10)
  • Balance patterns (large balance + suspicious TX: +20)
  • Contract verification (unverified: +30)

Risk Levels:

  • 0-19: āœ… Low Risk
  • 20-49: ā„¹ļø Medium Risk
  • 50-79: āš ļø High Risk
  • 80-100: 🚨 Critical Risk

šŸ“‹ Commands Reference

Check Address

# Human-readable output
python3 crypto_check_db.py 0x...

# JSON output
python3 crypto_check_db.py 0x... --json

Sync Worker

# Add address to queue
python3 sync_worker.py --add-address 0x...

# Run worker (continuous)
python3 sync_worker.py

# Process N addresses then stop
python3 sync_worker.py --max-jobs 20

# Custom delay between addresses
python3 sync_worker.py --delay 2.0

# Show database stats
python3 sync_worker.py --stats

Convenience Script

# Check and auto-sync if needed
./check_address.sh 0x...
# Automatically syncs if not in DB, then shows results

šŸŽÆ Example Output

Critical Risk Address

🚨 Analysis for 0x098b716b8aaf21512996dc57eb0615e2383e2f96

Risk Score: 100/100 - CRITICAL RISK
Last Updated: 2026-02-20 07:14:32

🚨 KNOWN SCAM DETECTED!

āš™ļø Smart Contract
āš ļø NOT VERIFIED on Etherscan
   Transactions: 38
   Balance: 101.802430 ETH

🚨 5 Scam Indicator(s) Detected:
   • Suspicious keyword detected: 'lazarus' (confidence: 80%)
   • Suspicious keyword detected: 'hack' (confidence: 80%)
   • Suspicious keyword detected: 'exploit' (confidence: 80%)
   • Suspicious keyword detected: 'private key' (confidence: 80%)

āš ļø 5 Suspicious Transaction(s):
   • 0x74f7fbfe5a0bd3...
     Reason: Suspicious keyword detected: 'lazarus'
     Message: "Greetings Lazarus Vanguard..."

šŸ“‹ Recommendations:
  🚫 DO NOT send funds to this address
  āš ļø This address has been flagged as high risk
  šŸ“ž Report the source that gave you this address

Unknown Address (Not Yet Synced)

ā³ Analysis for 0xnew_address_not_in_db

Risk Score: 0/100 - UNKNOWN
Last Updated: N/A

ā³ Address not yet in database
   Address not in database. Added to sync queue.

šŸ“‹ Recommendations:
  ā³ This address will be analyzed soon
  šŸ” Check again in a few minutes
  āš ļø Exercise caution until analysis completes

āš™ļø Configuration

Database Location

Default: ~/.config/crypto-genie/crypto_data.db

Etherscan API Rate Limits

  • Free tier: 5 calls/second, 100,000 calls/day
  • Each address: 4 API calls (balance, TX count, TX list, code)
  • Default delay: 1.5 seconds between addresses (safe for free tier)

Recommended Cron Schedule

# Every 10 minutes, process 30 addresses
*/10 * * * * cd ~/.openclaw/workspace/skills/crypto-genie && source venv/bin/activate && ETHERSCAN_API_KEY="key" python3 sync_worker.py --max-jobs 30 --delay 2.0

# Handles ~4,320 addresses per day

šŸ›”ļø Security

  • āœ… Encrypted API key storage - AES-256 with PBKDF2
  • āœ… No third-party sharing - API key only sent to Etherscan
  • āœ… Local processing - All analysis happens on your machine
  • āœ… No telemetry - Zero data collection
  • āœ… Open source - Fully auditable code

šŸ“Š Database Schema

Tables

  • addresses - Address info, risk scores, balances, metadata
  • transactions - Suspicious transactions with decoded messages
  • scam_indicators - Individual red flags per address
  • sync_queue - Addresses waiting to be synced

See DATABASE_ARCHITECTURE.md for full technical details.

šŸ”„ Sync Frequency

Default behavior:

  • First check → address queued for sync
  • Worker processes queue (manual or cron)
  • Subsequent checks → instant from database

Recommended: Run worker via cron every 5-10 minutes

šŸ’» OpenClaw Integration

Via Chat

"Check if 0x1234... is a scam"
"Is this address safe: 0xabc..."
"Verify 0xdef... before I send ETH"

Automatic Detection

When you check an address, OpenClaw:

  1. Runs crypto_check_db.py
  2. If not in DB → queues for sync
  3. Returns current status
  4. Suggests checking again after sync

šŸ› Troubleshooting

"Address not in database"

Solution: Wait for background worker to sync it, or manually trigger:

python3 sync_worker.py --add-address 0x...
python3 sync_worker.py --max-jobs 1

"Etherscan API key not configured"

Solution: Set API key via environment or setup wizard:

./setup.sh  # or
export ETHERSCAN_API_KEY="your_key"

Rate limit errors

Solution: Increase delay between addresses:

python3 sync_worker.py --delay 3.0

šŸ“ˆ Performance

  • āœ… Check latency: <5ms (database query)
  • āœ… Sync time: ~2 seconds per address (4 API calls)
  • āœ… Database size: ~1KB per address
  • āœ… Capacity: Handles millions of addresses

šŸ†š Comparison: v1 vs v2

Feature v1.1.3 (Old) v2.0.0 (New)
Check speed 2-5 seconds (API calls) <5ms (database)
Rate limits Yes (every check) No (checks only query DB)
TX message analysis āŒ Not analyzed āœ… Fully analyzed
False negatives High (missed scams) Low (deep analysis)
Architecture Direct API calls Database + background worker
API key usage Every check Only background worker

šŸ“œ License

MIT License - Free and open source

šŸ¤ Support

šŸ† Credits

Developed by Trust Claw Team for NeoClaw Hackathon 2026

Built with:

  • SQLite - Local database
  • Etherscan API - Blockchain data
  • ChainAbuse API - Community scam reports
  • Python asyncio - Async operations

šŸ” Stay safe in crypto! Always verify addresses before sending funds.

ClawHub Registry URL: https://clawhub.ai/princedoss77/skills/crypto-genie

Related skills

If this matches your use case, these are close alternatives in the same category.