Skip to content

Latest commit

 

History

86 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 Solana-AlphaSniffer

Sniff out Solana alpha from tweets.
A Python tool that extracts Solana contract addresses (CAs) or token tickers ($XYZ) from tweets, analyzes price action via Flipside SQL/API, and surfaces high-potential investments.

Open in Streamlit


🚀 How It Works

  1. Input: Provide an X (Twitter) username and a time window (e.g., 7 days).
  2. Scan: The tool scrapes tweets for:
    • Solana Contract Addresses (CAs)
    • Token Tickers (words starting with $, e.g., $SOL)
  3. Analyze:
    • For CAs: Directly queries Flipside API for price action data.
    • For Tickers:
      • Fetches all associated CAs from Flipside.
      • Uses GeckoTerminal’s DEX API to identify the CA with the highest market cap.
      • Displays price trends for the top asset.
  4. Output: Clean visualizations of historical price action.

🛠️ Installation & Usage

Prerequisites

  • Python 3.10+
  • Flipside API key
  • Twitter/X API credentials (optional for public scraping)

Setup

  1. Clone the repo:
    git clone https://github.com/your-username/Solana-AlphaSniffer.git  
    cd Solana-AlphaSniffer
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Add API keys to .env:
    FLIPSIDE_API_KEY=your_key_here  
    TWITTER_BEARER_TOKEN=optional_if_scraping
    

Run Locally

streamlit run streamlit_app.py

🌌 Why It’s Cool

  • Automates alpha hunting – No manual address/ticker searches.

  • Prioritizes high-market-cap tokens – Filters out noise.

  • Built for Solana degens – Optimized for speed and reliability.

🤝 Contribute

PRs welcome! Ideas:

  • Add more DEX APIs (Birdeye, Orca).

  • Improve tweet filtering (e.g., ignore memecoins without CAs).

License: MIT

About

Sniff out Solana alpha from tweets. A Python tool that extracts Solana contract addresses (CAs) or token tickers ($XYZ) from tweets, analyzes price action via Flipside SQL/API, and surfaces high-potential investments.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages