Technical Stack

MoonSense is built on a modular and scalable architecture, ensuring performance, real-time data accuracy, and a smooth user experience.

Frontend

  • React.js → Core framework for building the dashboard.

  • TailwindCSS → For a modern, clean, and responsive UI.

  • Framer Motion → Smooth animations and transitions for a premium feel.

  • Web3.js / Ethers.js → Integration with Ethereum-compatible wallets (MetaMask, WalletConnect) for secure login.

  • State Management → Redux Toolkit for global state handling.

Key Features on Frontend:

  • Wallet login & authentication.

  • Interactive dashboards for prices, charts, and sentiment scores.

  • Token search and filtering by categories (Meme Coins, Altcoins, New Launches).

  • AI Insights page (visual predictions with graphs & scores).


Backend

  • Node.js + Express.js → Handles API requests, authentication, and user session management.

  • WebSockets (Socket.IO) → Real-time updates for live price feeds and sentiment data.

  • Rate Limiting & Caching → Redis for caching API responses and ensuring speed.

Backend Responsibilities:

  • Aggregates data from external APIs.

  • Normalizes and cleans data for AI model input.

  • Maintains user session & wallet authentication.

  • Provides endpoints for Moon Potential Score calculations.


Database

  • MongoDB → Stores user preferences, watchlists, and historical coin scoring.

  • Firebase (optional) → Push notifications & fast sync for mobile clients.

Stored Data Examples:

  • User wallet addresses & preferences.

  • Historical “Moon Potential” scores for backtesting.

  • Favorite coins and alert thresholds.


External APIs

  1. CoinGecko / CoinMarketCap

    • Real-time price data.

    • Trending tokens & new listings.

  2. CryptoPanic

    • News aggregation for crypto market events.

  3. LunarCrush (optional, free tier)

    • Social sentiment from Twitter & Reddit.

    • Engagement and hype metrics.

  4. Alternative Free APIs

    • DexScreener API for on-chain token listings.

    • Binance / Coinbase free price feeds.


AI Engine

  • Python-based models (deployed via Flask/FastAPI microservices).

  • Sentiment Analysis → Natural Language Processing (NLP) on tweets, Reddit, Telegram chats.

  • Coin Scoring Engine → Evaluates coins based on multiple metrics:

    • Market Potential (trading volume, liquidity, adoption).

    • Community Sentiment (hype factor from social platforms).

    • Tokenomics Health (supply, inflation, vesting schedules).

Output: Moon Potential Score (0–100)

  • Meme Coin Score → Evaluates virality & meme traction.

  • Altcoin Score → Utility, adoption, and growth analysis.

  • New Launch Score → Early-stage potential & hype detection.


Deployment & Infrastructure

  • Docker → Containerized services for backend + AI engine.

  • Nginx → Reverse proxy for API + load balancing.

  • Vercel / Netlify → Frontend hosting for the dashboard.

  • AWS / GCP → For scalable backend + AI microservices.


Security

  • Wallet Login → No email/password, only Web3 wallet authentication.

  • JWT Tokens → Session management.

  • API Gateway → Secure and rate-limited requests.

  • Data Encryption → MongoDB encrypted fields for sensitive data.

Last updated