Unifying crypto metrics, real-time analytics, and secure cloud power—CyberMatrix delivers seamless, all-in-one insights for the future of cryptocurrency management. 📊📈
💱 Inspiration
The explosive growth of stablecoins and the cryptocurrency market shows the world needs real-time, intelligent analytics. Inspired by PayPal’s PYUSD and new digital asset innovation, we envisioned a universal dashboard for everyone—small businesses and pro traders alike. We fused Google Gemini AI, fast news sentiment, and persistent storage via MongoDB to deliver actionable, contextual analytics. The “AI in Action” hackathon spotlighting Google Cloud, MongoDB, and GitLab was the catalyst for our CyberMatrix platform.
🛰️ What it does
CyberMatrix Analytics Dashboard v2.1 is an all-in-one cloud solution for multi-chain crypto analytics, powered by Streamlit on Google Cloud Run:
- Efficient Event Feeds: Track transactions (PYUSD, USDT, USDC, more), mint/burns, and smart contract events with fast MongoDB caching + GCP Blockchain RPC.
- In-depth Analysis: Volume, tagged address leaderboards, and asset flow networks via MongoDB and GCP.
- Historical Exploration: Explore events across block ranges—on-demand from cache or live blockchain.
- Blockchain Tools: Address balances, persistent MongoDB watchlists, contract states, transaction lookups.
- AI-Powered Insights (Gemini): Built-in AI assistant answers questions, surfaces news sentiment, and generates actionable summaries.
- Contextual News: Real-time news feeds from NewsAPI, stored/searchable.
- Innovative Simulation: Simulate bio-implant crypto payments to test future fintech concepts.
- User Perks: One-click CSV export, custom UI, emoji-rich theming.
🌌 How We Built It
Tech Stack:
- Frontend/UI: Streamlit dashboard
- Data: MongoDB Atlas + PyMongo for storage
-
Cloud: Google Cloud Run (serverless, scalable)
- Cloud Build & Artifact Registry for CI/CD
- Secret Manager for keys/secrets
- Blockchain Node Engine for Ethereum RPC
- Gemini API for AI
- Blockchain: Web3.py for live data
- External Data: NewsAPI for crypto news
- Visualization: Pandas, Plotly, Pyvis
- Version Control: GitLab auto-builds
📡 Challenges we ran into
- IAM Permissions: Cloud IAM tuning—deployment-blocking without precise roles.
- Resource Management: RAM/CPU balancing for analytics, avoiding timeouts.
- Schema Design: MongoDB schemas for events/news/watchlists optimizing speed/reliability.
- RPC Fallbacks: Cache-first/fallback logic keeps data instant.
- Performance: Query and indexing optimization for feeds.
- Previous Issues: ABI quirks, Streamlit state, Gemini prompt engineering.
🪐 Accomplishments we’re proud of
- End-to-End Deployment: Dockerized, CI/CD pipeline, encrypted secrets runtime.
- MongoDB Power: Fast caching/search for analytics and persistent user settings.
- News Indexing: Near-instant news storage/search.
- Persistent Watchlists: Watchlists persist across logins/sessions.
- Hybrid Fetch Model: Smart cache + RPC fallback data fetching.
- Actionable AI: Gemini powers fast sentiment/analysis.
🤖 What we learned
- Cloud Build Skills: Code-to-deploy Docker builds.
- Secret Hygiene: Safe secret management with Google Secret Manager.
- IAM Deep Dive: Role/service account security.
- Dockerization: Reproducible dev environments.
- Schema Skills: MongoDB indexing/schema design for analytics.
🚀👨🏻🚀 What's next for CyberMatrix Analytics
- Stablecoin Expansion: Add USDT, USDC, DAI (cross-chain support).
- Vector Search: Transaction/news embeddings in MongoDB for semantic search.
- Advanced Aggregation: MongoDB upstream analytics for richer stats.
- Live Sync: MongoDB Change Streams for real-time updates.
- BigQuery Integration: Offload big data to BigQuery, keep MongoDB for live ops.
- Personalized Accounts: Secure sign-in, custom dashboards, encrypted storage.
- Zero Ops CI/CD: GitLab push-to-deploy—fully automated.
Top comments (0)