💎 Cryptarity

Inspiration ✨

The Cryptarity project was born from the need for more transparency in charitable giving, especially as cryptocurrency adoption grows. By leveraging blockchain technology, we offer a secure, transparent way for donors to ensure their contributions can be tracked in real-time. Every donation is recorded on a public ledger, ensuring funds are used effectively and ethically. This transparency builds trust, allowing donors to see exactly how their money makes an impact and bridging the gap between cryptocurrency and meaningful charitable action.

Why utilize Blockchain? ⛓️

Blockchain technology offers unprecedented transparency in financial transactions. Through immutable records and public verification, donors can trace exactly where their funds go and how they're used by charitable organizations. This eliminates traditional opacity in charitable giving and builds donor confidence through verifiable impact tracking and automated fraud detection.

What it does 🛠️

Cryptarity is a comprehensive platform that enables users to:

  • Make cryptocurrency donations to verified charitable organizations
  • Track where donations go in real-time using blockchain verification via Etherscan API and web3.js
  • View detailed impact reports showing how funds are allocated and used
  • Monitor charity spending patterns through transaction tracking
  • Receive alerts through our automatic fraud detection system if suspicious activities are detected
  • Explore an interactive dashboard visualizing global donation impacts

How we built it 👨‍💻

We built Cryptarity using a modern tech stack designed for reliability, security, and scalability:

  • Frontend: React (Next.JS) with TypeScript, styled with Tailwind CSS and enhanced with Framer Motion for smooth animations
  • Blockchain Integration: Implemented web3.js for direct blockchain interaction and smart contract calls
  • Transaction Verification: Integrated the Etherscan API for real-time transaction verification and tracking
  • Database & Fraud Detection: Preprocessed and normalized data then used approximate nearest neighbours model with 20 key datapoints on Datastax AstraDB's vector embeddings for a machine learning model that analyzes transaction patterns to flag potential suspicious activities:
    • _id: Unique identifier for each transaction record
    • transactionTime: Timestamp when the transaction was initiated
    • description: Purpose or description of the transaction as entered by the user
    • amount: Value of the cryptocurrency transferred in the transaction
    • recepientWalletAddress: Destination wallet address of the charitable organization
    • senderWalletAddress: Source wallet address of the donor
    • transactionStatus: Current status of the transaction (pending, completed, failed)
    • ip_address: IP address from which the transaction was initiated
    • device_id: Unique identifier of the device used for transaction
    • user_agent: Browser and device information
    • vpn_detected: Boolean flag indicating if a VPN was detected during transaction
    • previous_transaction_count: Number of previous transactions by the same user
    • account_creation_date: When the user account was first created
    • velocity_check: Rate of transactions within a specified time window
    • is_high_risk_country: Boolean flag for transactions from high-risk regions
    • similar_fraudulent_patterns: Similarity score compared to known fraud patterns
    • mismatch_flags: Count of inconsistencies between user behavior and normal patterns
    • time_between_transactions: Duration between consecutive transactions from same source
  • DevOps: Implemented CI/CD using and deployed on Vercel for reliability and performance

Challenges we ran into 🧗

Our journey wasn't without obstacles:

  • Ensuring real-time transaction verification while maintaining app performance
  • Building a fraud detection system that minimizes false positives while effectively identifying suspicious behavior
  • Creating an intuitive user experience for people unfamiliar with cryptocurrency transactions
  • Optimizing performance across various devices despite the complex blockchain interactions

Accomplishments that we're proud of 🏆

Despite the challenges, we achieved several significant milestones:

  • Successfully created a system that provides 100% transparency for donation tracking
  • Developed an ML-based fraud detection system with a 90% accuracy in identifying suspicious transactions based on test data
  • Built an elegant, responsive UI that makes cryptocurrency donations accessible to non-technical users

What we learned 📚

This project was a tremendous learning experience for our team:

  • Deep insights into blockchain transaction tracking and optimization techniques
  • Advanced strategies for integrating and optimizing multiple API calls
  • Using AstraDB for ML model training for fraud detection in financial transactions
  • Balancing user experience with technical blockchain functionalities

What's next for Cryptarity 🔮

We're just getting started! Our roadmap includes:

  • Expanding supported cryptocurrencies beyond Ethereum-based tokens
  • Implementing direct donation pools for emergency relief situations
  • Developing an API for charities to integrate their impact metrics directly
  • Creating a mobile application for on-the-go donation tracking
  • Building educational resources about cryptocurrency philanthropy
  • Enhancing our fraud detection system with more sophisticated ML models
  • Establishing partnerships with major charitable organizations worldwide
  • Implementing governance tokens to allow community participation in platform decisions

Built With

  • astradb
  • etherscan
  • framermotion
  • langflow
  • next.js
  • react
  • shadcn
  • tailwindcss
  • typescript
  • web3.js
+ 47 more
Share this project:

Updates