FlapScanner is a cutting-edge blockchain intelligence platform engineered for the BNB Smart Chain ecosystem. It aggregates data from multiple on-chain and off-chain sources into a unified, real-time dashboard โ empowering traders and researchers with actionable insights.
"See the chain before the chain sees you."
| ๐ฎ FlapScanner v2.0 | |||
|---|---|---|---|
| Real-time BSC token detection + security auditing | Top 50 transactions by USD volume w/ address resolution | 7d / 30d / 90d performance rankings + win rates | Crypto news aggregator with live updates |
| Token Security โข Rugpull Detection โข Phishing Protection | |||
| Index Updater โข GraphQL Bridge โข Cache Layer | |||
graph TD
A["๐ค User"] --> B["Next.js 15 Frontend"]
B --> C{"API Layer"}
C --> D["api/trending"]
C --> E["api/whale"]
C --> F["api/kol"]
C --> G["api/token-profiles"]
C --> H["api/batch-scan"]
C --> I["api/search"]
C --> J["api/news"]
D --> K["FastAPI Backend"]
G --> K
H --> K
K --> L[("Index Cache")]
K --> M["Security Auditor"]
E --> N["Whale Data Source"]
F --> O["KOL Analytics Source"]
J --> P["News Aggregator"]
style A fill:#6C3CE1,color:#fff
style B fill:#0070F3,color:#fff
style K fill:#009688,color:#fff
style M fill:#EF4444,color:#fff
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | SSR + App Router | |
| Language | Type-safe codebase | |
| Styling | Utility-first + Radix | |
| Backend | High-perf API server | |
| Data | Multi-source aggregation | |
| Infra | Edge + VPS deployment |
# Clone the repository
git clone https://github.com/your-org/flap-scanner.git
cd flap-scanner
# Install frontend dependencies
pnpm install
# Setup environment
cp .env.example .env
# Start the backend
cd backend && pip install -r requirements.txt
uvicorn main:app --port 8001 --reload &
# Start the frontend
cd .. && pnpm dev๐ Open http://localhost:3000 to view the dashboard.
flap-scanner/
โโโ app/ # Next.js 15 App Router
โ โโโ api/ # API proxy routes (9 endpoints)
โ โ โโโ trending/ # Live token feed
โ โ โโโ whale/ # Whale movement tracker
โ โ โโโ kol/ # KOL performance rankings
โ โ โโโ token-profiles/ # Token enrichment
โ โ โโโ batch-scan/ # Multi-source security scan
โ โ โโโ search/ # Pair search
โ โ โโโ news/ # News aggregator
โ โ โโโ worst/ # Worst performer data
โ โ โโโ pairs/ # Dynamic pair lookup
โ โโโ whale/ # Whale tracking page
โ โโโ kol/ # KOL rankings page
โ โโโ feed/ # News feed page
โ โโโ about/ # About page
โ โโโ token/ # Token detail pages
โโโ backend/ # FastAPI Python backend
โ โโโ main.py # API server with caching
โโโ components/ # React components
โ โโโ ui/ # shadcn/ui primitives (50+)
โ โโโ coin-list.tsx # Main scanner table
โ โโโ whale-list.tsx # Whale transactions
โ โโโ kol-list.tsx # KOL rankings
โ โโโ ... # 15+ custom components
โโโ hooks/ # Custom React hooks
โโโ lib/ # Utilities & API clients
โ โโโ i18n/ # Internationalization (EN/ZH)
โ โโโ types.ts # Shared TypeScript types
โโโ styles/ # Global stylesheets
|
|
|
FlapScanner ships with built-in multi-language support:
| Language | Status | Coverage |
|---|---|---|
| ๐บ๐ธ English | โ Complete | 100% |
| ๐จ๐ณ ไธญๆ | โ Complete | 100% |
| Method | Endpoint | Description | Cache |
|---|---|---|---|
GET |
/api/trending |
Live trending tokens feed | 3min |
GET |
/api/token-profiles |
Enriched token profiles (1000) | 3min |
GET |
/api/whale |
Top 50 whale transactions | None |
GET |
/api/kol?duration=7d |
KOL performance rankings | None |
GET |
/api/search?q=TOKEN |
Pair search | 1min |
GET |
/api/news?page=1 |
Crypto news feed | 5min |
GET |
/api/pairs/:chain/:pair |
Specific pair data | 2min |
GET/POST |
/api/batch-scan |
Multi-source security scan | None |
GET |
/api/worst |
Worst performers | None |
We welcome contributions! Please see our Contributing Guide for details.
1. Fork the repository
2. Create your feature branch (git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add amazing feature')
4. Push to the branch (git push origin feature/amazing-feature)
5. Open a Pull Request