Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/0xW1re/solvedocs/llms.txt

Use this file to discover all available pages before exploring further.

Alpha Leak is a production-grade, multi-phase trading intelligence system built for Pump.fun on Solana. This page covers what the system does, the scale it operates at, and how these docs are structured.

What it does

Real-Time Ingestion

Processes every trade, token creation, and graduation event the moment it lands on-chain. No polling, no delays — the pipeline sees everything as it happens.

Wallet Intelligence

Builds a scored, feature-rich profile for every wallet it observes — graduation rate, win rate, entry timing, hold behaviour, return consistency — updated on a rolling 30-minute cycle across up to 5,000 wallets per pass.

Adversarial Detection

Detects bots, coordinated bundles, copy-traders, serial ruggers, wash traders, and exit-liquidity setups in real time. Adversarial signals feed directly into ML features and live position management.

ONNX ML Inference

Runs LightGBM models compiled to ONNX for sub-millisecond inference. Models are calibrated with Platt scaling and scored every 5 seconds against a 68-feature vector. Both standard and genesis models run concurrently.

Genesis Scoring

A dedicated subsystem observes every newly created token for 60 seconds, accumulates early buyer behaviour and price dynamics in memory, then runs a separate family of genesis models to identify tokens likely to 3x, 5x, or 10x shortly after launch.

Live Execution

Executes buys and sells on the Pump.fun bonding curve using atomic transaction bundles. Position sizing, strategy selection, take-profit, stop-loss, and forced exits on anti-signals are all handled automatically, with full trade history persisted to the database.

System scale

The numbers below reflect the operational depth of the system at steady state.
DimensionDetail
Pipeline services30+ concurrent background services
ML feature vector68 features (standard), 75 features (genesis)
Wallet scoring cadenceUp to 5,000 wallets every 30 minutes
Bundle detection window5-second clustering, 10-minute interval
Anti-signal scanEvery 30 seconds, across all active tokens
Signal crowding checkEvery 60 seconds, cached in the cache layer
Alpha decay profiling8 delay buckets per wallet, hourly
Market regime4 states, reclassified every 10 minutes
Copy-trade classification3 types (bot, alert, manual), 15-minute cycle
Data archiveAutomatic archive after 60 days

Mintlify folder structure

If you are deploying these docs to Mintlify, place files exactly as shown below. Mintlify resolves navigation paths directly from the filesystem, so the folder structure must match the paths defined in docs.json.
your-mintlify-repo/
├── docs.json                          # Navigation config — place at root
├── favicon.svg
├── logo/
│   ├── dark.svg
│   └── light.svg

├── introduction.mdx                   # "Get Started" group
├── architecture.mdx
├── quickstart.mdx

├── pipeline/                          # "The Pipeline" group
│   ├── ingestion.mdx
│   ├── phase1.mdx
│   ├── phase2.mdx
│   └── phase3.mdx

├── intelligence/                      # "Intelligence" group
│   ├── wallet-intelligence.mdx
│   ├── adversarial-detection.mdx
│   ├── genesis-watcher.mdx
│   └── market-regime.mdx

├── ml/                                # "ML System" group
│   ├── models.mdx
│   ├── features.mdx
│   └── training.mdx

├── live-trader/                       # "Live Trader" group
│   ├── overview.mdx
│   ├── strategies.mdx
│   ├── circuit-breakers.mdx
│   └── monitoring.mdx

└── api/                               # "API Reference" group
    └── overview.mdx
The docs.json navigation config references each page by its path relative to the repo root, without the .mdx extension — for example, "pipeline/ingestion". Adding a new page is as simple as creating the file in the right folder and adding its path to the navigation array in docs.json.

How to navigate these docs

Start with Architecture for a high-level view of the full pipeline as a single diagram, with every service mapped to its phase. To run the system, go to Quickstart. For in-depth coverage of a specific subsystem — wallet scoring, bundle detection, ML model serving — each subsystem has its own dedicated page under The Pipeline, Intelligence, and ML System. For live trader configuration — strategies, position sizing, circuit breakers, and monitoring — see the Live Trader section.

Build docs developers (and LLMs) love