Skip to content

mayurwagh66/XCrunchHub

Repository files navigation

🚀 XCrunchHub

XCrunchHub is a powerful DeFi analytics platform that empowers users with blockchain-driven financial insights. Experience next-gen DeFi analytics, smart contract integrations, and AI-powered market analysis—all in one place.

📺 Watch Demo Video

Dashboard_1 1 Dashboard_1 3 Dashboard_1 4 Dashboard_1 5

Your Trusted DeFi Platform


🔍 Features

🪙 Token Analysis

  • Comprehensive token data (price history, market cap, volume)
  • DeFi safety scores for risk evaluation
  • Multi-chain support (Ethereum, Polygon, Avalanche, Linea)
  • Detailed technical indicators and trends
Token

🏦 Pool Details

  • DeFi pool metrics with liquidity insights
  • Yield/APY calculations and historical data
  • Risk evaluation of liquidity pools
  • Support for major DeFi protocols
Pool

🤖 AI Analytics

  • Wallet activity & holding analysis
  • NFT collection insights and performance
  • AI-driven risk and threat detection
  • Predictive analysis for market trends AI_ANALYSIS

🛡️ Fraud Detection

  • Real-time alerts for smart contract risks
  • Contract vulnerability scanning
  • Risk analysis of NFTs and wallets
  • Multilingual support for global users Fraud_dec1 Fraud_2

🎨 NFT Market Analytics

  • NFT auditing and trend tracking
  • Whale wallet monitoring
  • Interactive dashboards powered by Recharts & D3.js
  • AI-generated recommendations NFT_Analytics
NFT_Analytics2

💬 Telegram Bot Integration

  • Access our AI-powered NFT Bot: @xcrunch_bot
  • Real-time DeFi alerts in Telegram
  • Smart investment suggestions
  • Instant fraud detection alerts
  • Interactive bot commands & multilingual support
image image

🧭 Core Principles

  1. Full Transparency — Public ledger accountability
  2. Military-grade Security — Advanced protection protocols
  3. AI-Powered Analytics — Smart, data-driven decisions
  4. Multi-Chain Support — Ethereum, Polygon, Avalanche, Linea

Smart Contract Integration

XCrunchHub utilizes blockchain technology for secure and transparent subscription management:

Subscription Smart Contract

Our Subscription.sol contract manages user subscriptions with the following features:

  • Flexible Subscription Plans: Weekly, monthly, and yearly options with different pricing tiers
  • Automatic Duration Management: Extends existing subscriptions or creates new ones
  • Transparent Pricing: All subscription costs are publicly visible on the blockchain
  • Owner Controls: Allows for price updates and fund management by contract owner
  • Event Logging: Emits events for subscriptions, price updates, and withdrawals for full transparency
// Key functions include:
function subscribe(uint8 _plan) external payable;
function isSubscribed(address _user) external view returns (bool);
function updatePrices(uint256 _priceWeek, uint256 _priceMonth, uint256 _priceYear) external onlyOwner;

Subscription Model

XCrunchHub offers flexible subscription options to access premium features:

  • Weekly plans for short-term needs (0.01 ETH)

  • Monthly subscriptions for regular users (0.03 ETH)

  • Annual plans with the best value (0.3 ETH)

  • All subscriptions are managed through our secure blockchain-based subscription system, ensuring transparency and control over your membership.

image

🔗 API Integration

🔄 Backend Endpoints

/Token                             → Token data across chains  
/Pool                              → Pool analytics and liquidity info  
/Token/:blockchain/:tokenId       → Token detail view  
/pooldetails/:blockchain/:address → Pool-level insights  
/poolmetadata/:blockchain/:addr   → Pool metadata  
/api/wallet-balance/:address      → Wallet cross-chain analyzer  


### External API Integrations

- **UnleashNFTs API** - Powers our NFT analytics and blockchain data
- **Etherscan API** - Provides transaction and contract verification data
- **Google Generative AI** - Enhances our AI analytics capabilities
- **Gemini API** - Powers advanced natural language processing for insights

## Project Structure
image ```

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • MetaMask or other Web3 wallet

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/XCrunchHub.git
    cd XCrunchHub
  2. Install dependencies for the frontend

    cd thirdweb-app
    npm install
    # or
    yarn install
  3. Install dependencies for the backend

    cd ../Backend
    npm install
    # or
    yarn install
  4. Set up environment variables

    • Create a .env file in the thirdweb-app directory based on the .env.example template
    • Create a .env file in the Backend directory based on the .env.example template

Running the Application

  1. Start the backend server

    cd Backend
    npm run dev
    # or
    yarn dev
  2. Start the frontend application

    cd thirdweb-app
    npm run dev
    # or
    yarn dev
  3. Open your browser and navigate to `http://localhost:5173

🧱 Technologies Used

  • 🚀 Frontend: React, Tailwind CSS, Vite
  • ⚙️ Backend: Node.js, Express
  • ⛓️ Blockchain: Ethereum, Polygon, Avalanche, Linea
  • 💾 Smart Contracts: Solidity
  • 🌐 Web3 Integration: Thirdweb SDK
  • 📊 Data Visualization: Recharts, D3.js

🤝 Contributing

We welcome contributions to XCrunchHub!
Feel free to fork the repo, make changes, and submit a Pull Request.
Let’s build the future of DeFi together 💪


👨‍💻 Creators

🧠 Ronak Agrawal

🧠 Mayur Wagh


© 2025 XCrunchHub — All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors