Skip to content

Finland93/ChainLens

Repository files navigation

ChainLens β€” Free multi-chain token safety scanner

ChainLens

Free, open-source token safety scanner β€” 90+ checks Β· 9 scam patterns Β· 10+ APIs Β· zero signup

Live Demo β€” open ChainLens in your browser

Live demo Β· Quick start Β· What it detects Β· How it works Β· Data sources Β· Contributing

90+ checks 10+ APIs 9 patterns 4 chains Free No API keys No build step PRs welcome


What is ChainLens?

ChainLens is a client-side-only crypto token safety scanner. Paste any token address and it cross-references 10+ independent data sources to detect scams, honeypots, rug pulls, wash trading and insider manipulation β€” then returns a single 0–100 trust score with a plain-English verdict.

  • No signup. No API keys. No wallet connection. No backend.
  • Pure HTML/CSS/JS β€” clone it, open index.html, done.
  • Every API call goes directly from your browser to public data sources. Your scans never touch a server.

Try it now: finland93.github.io/ChainLens β€” nothing to install, runs entirely in your browser.

Every token is guilty until proven innocent.

ChainLens scan result β€” trust score, breakdown and risk pattern analysis


Why ChainLens?

Feature ChainLens Typical scanners
Checks per token 90+ 10–25
Independent API sources 10+ 1–2
Bot / wash-trade detection βœ… ❌
300-trade pattern analysis βœ… ❌
Deployer "serial rugger" detection βœ… ❌
LP lock expiry warning βœ… ❌
Copycat / clone detection βœ… ❌
Scam pattern matching 9 patterns 0–2
Price Free Freemium
API keys required None Often
Backend / data collection None Varies

Supported chains

Paste any address β€” ChainLens auto-detects the chain via DexScreener.

Chain Security sources
Solana RugCheck + GoPlus + Jupiter + Solscan + Birdeye
Ethereum Honeypot.is + GoPlus + De.Fi
BNB Chain Honeypot.is + GoPlus
Base Honeypot.is + GoPlus

πŸ” What it detects

90+ individual checks, grouped into 8 categories

Category Checks What it catches
πŸ€– Bot Activity 12 Buy/buyer ratio, volume/liquidity, zero sells, spam
πŸ“Š Trade Patterns 12 Identical volumes, same-second trades, buy streaks, size uniformity
πŸ”’ Contract Security 25+ Honeypot, hidden owner, mint, freeze, blacklist, proxy, tax
πŸ‘₯ Holder Distribution 12 Concentration, clusters, insiders, burn tricks, exchange filtering
πŸ’§ Liquidity Health 8 LP lock/burn, lock expiry, deployer ownership, FDV ratio
πŸ“ˆ Price Behavior 7 Pump & dump, crash, volatility, Jupiter cross-validation
🌐 Social / Meta 5 Logo, website, Twitter, Telegram, CoinGecko listing
πŸ•΅οΈ Deployer History 8 Previous tokens, dead-token rate, GoPlus wallet flags

9 scam patterns

  1. 🍯 Sell Restriction (Honeypot) β€” cross-validated by up to 3 sources
  2. πŸ’§ Unprotected Liquidity β€” LP lock/burn verification
  3. πŸ“ˆ Rapid Rise & Fall β€” pump & dump detection
  4. πŸ”„ Artificial Volume β€” wash-trading indicators
  5. πŸ‘₯ Supply Concentration β€” sybil / insider clustering
  6. πŸ” Serial Rugger β€” deployer track record
  7. 🎭 Copycat / Minimal Presence β€” clone detection
  8. πŸ•³οΈ Gradual Liquidity Drain β€” slow-rug detection
  9. πŸ₯ͺ MEV / Sandwich Risk β€” vulnerability assessment

βš™οΈ How it works

ChainLens data flow architecture

  1. DexScreener identifies the chain and finds the most-liquid trading pair.
  2. GeckoTerminal provides pool data and up to 300 recent trades (with a CORS-proxy fallback).
  3. Security APIs are queried in parallel β€” RugCheck, Honeypot.is, four GoPlus endpoints, Jupiter, Solscan, Birdeye, De.Fi and CoinGecko.
  4. The analysis engine runs all 90+ checks across 8 categories and matches the 9 scam patterns.
  5. A 0–100 score with a narrative verdict is rendered across 8 result tabs, plus a downloadable share card.

Every scan is resilient: any API can fail and the scan still completes, with an API Transparency tab showing exactly which sources responded.


πŸš€ Quick start

Fastest way β€” open the live version β†’ No install, no clone; it runs entirely in your browser at finland93.github.io/ChainLens.

Prefer to run it yourself? It's static β€” no build tools, no dependencies.

# Clone
git clone https://github.com/Finland93/ChainLens.git
cd ChainLens

# Option A β€” just open it
open index.html            # macOS  (use "start index.html" on Windows)

# Option B β€” serve locally (recommended; avoids file:// CORS quirks)
python3 -m http.server 8000
#   β†’ http://localhost:8000

# Option C β€” any static server
npx serve .

Then paste a token address (try BONK on Solana or PEPE on Ethereum) and hit Scan.

Deploy your own

Because it's fully static, you can host it anywhere β€” GitHub Pages, Netlify, Vercel, Cloudflare Pages β€” by serving the repository root. No environment variables, no server. (The live demo itself runs on GitHub Pages straight from this repo.)


πŸ—‚οΈ Project structure

ChainLens/
β”œβ”€β”€ index.html              # Scanner app (single page)
β”œβ”€β”€ css/
β”‚   └── core.css            # All styles
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ chains.js           # Chain config + token-logo fallbacks
β”‚   β”œβ”€β”€ api.js              # API layer β€” 10+ sources, CORS proxy, retry
β”‚   β”œβ”€β”€ analysis.js         # Analysis engine β€” 90+ checks, 9 patterns
β”‚   β”œβ”€β”€ feed.js             # Live "new tokens" feed (60s refresh)
β”‚   β”œβ”€β”€ render.js           # UI rendering β€” 8 tabs + share card
β”‚   β”œβ”€β”€ storage.js          # localStorage history/watchlist (zero-knowledge)
β”‚   └── app.js              # App controller β€” scan flow, rate limiting
β”œβ”€β”€ sw.js                   # Service worker (offline shell cache)
β”œβ”€β”€ site.webmanifest        # PWA manifest
β”œβ”€β”€ robots.txt
└── docs/                   # README images

πŸ“ Scoring methodology

Score Verdict Meaning
85–100 LOW RISK Few concerns. Standard due diligence applies.
65–84 MODERATE RISK Some concerns detected. Research further.
35–64 ELEVATED RISK Multiple warning signs. Extreme caution.
15–34 HIGH RISK Serious issues. Warning banner shown.
0–14 EXTREME RISK Critical issues. Do not interact.

Critical override β€” a single critical issue caps the score at 40, two at 25, three or more at 15. When no security data is available, the score is capped at 40 with a warning so a lack of data never reads as "safe."


πŸ” Privacy

Zero-knowledge by design:

  • No backend server, no database, no accounts, no wallet connection.
  • No analytics, no ads, no tracking.
  • History and watchlist live in your browser's localStorage β€” on your device only.
  • All API requests go straight from your browser to the public data sources.

🀝 Contributing

Contributions are welcome β€” see CONTRIBUTING.md.

  • πŸ› Report a bug β€” open an issue
  • πŸ’‘ Suggest a feature β€” open an issue
  • πŸ”§ Submit code β€” fork β†’ branch β†’ PR
  • 🌍 Translate β€” help reach more people
  • ⭐ Star the repo β€” it genuinely helps visibility

Please also read the Code of Conduct and Security Policy.


⚠️ Disclaimer

ChainLens is an independent research tool. It does not constitute financial advice. No score guarantees a token's safety or profitability. Cryptocurrency carries significant risk, including total loss of capital. Always do your own research.


πŸ“„ License

MIT License with Attribution β€” free to use, modify and distribute, with a request to credit ChainLens and link back to this repository in public-facing derivatives.


Built for traders who'd rather verify than trust. ⭐ the repo if it saved you from a bad trade.