With the rise of cryptocurrency transactions, protecting users from fraudulent activities has become increasingly critical. CryptoSecure helps achieve this by assigning each wallet a safety score, a metric that reflects the likelihood of a wallet being involved in suspicious behavior. This score enables users and platforms to assess the risk associated with specific wallets before engaging in transactions.
CryptoSecure uses a combination of Supervised and Unsupervised Machine Learning approaches:
- Supervised ML: Using XGBoost, a highly accurate gradient boosting algorithm, to detect anomalies and high-risk patterns associated with scams.
- Unsupervised ML: Using Auto-Encoders to identify suspicious wallet behaviors that deviate from normal transaction patterns.
The model processes wallet and transaction data to calculate a safety score for each wallet, representing the probability that the wallet is connected to scams or phishing schemes.
- XGBoost: Supervised learning algorithm for precise anomaly detection.
- Auto-Encoders: Unsupervised model to capture irregular patterns in transactions.
- MongoDB: A NoSQL database to store wallet and transaction information.
- FastAPI: A high-performance API framework for handling backend operations.
- Redis: Caching layer to boost the performance of frequently accessed data.
- ReactJS: Interactive UI for displaying wallet safety scores and transaction histories.
- TailwindCSS, ShadCN, Aceternity UI: CSS frameworks and libraries for a modern, responsive, and user-friendly design.
- Safety Score Calculation: CryptoSecure generates a safety score for each wallet, indicating the probability of it being involved in scams or phishing.
- Anomaly Detection: The system flags wallets that exhibit unusual transaction patterns based on supervised and unsupervised machine learning models.
- Real-Time API: FastAPI provides endpoints for querying wallet safety scores and transaction details, with Redis caching to optimize response times.
- User-Friendly Interface: Intuitive and accessible UI for users to check the safety scores of wallets before making transactions.
- Python 3.8+
- Node.js and npm
- Clone repository:
git clone https://github.com/harsh3dev/htfHackermen cd CryptoSecure
- Setting up Backend
- Dependency installation
pip install -r backend/requirements.txt
- Start Server
uvicorn backend.main:app --reload
- Setting up Frontend
- Navigation
cd frontend
- Install dependency
npm install
- Start server
npm run dev
- Navigation