Skip to content

mohitagarwal24/CryptoConnect

Repository files navigation

🚀 CryptoConnect

🔗 Introduction

CryptoConnect is a decentralized social and financial platform that allows users to:

  • Seamlessly connect their MetaMask wallet 🦊
  • Register with a unique username 📛
  • Perform secure transactions without invoking MetaMask ⚡
  • Chat with Gemini AI 💬
  • Detect money transfers & swaps via AI 📈
  • Maintain a real-time transaction history 📜
  • Add & connect with friends on the platform 👥

📸 Screenshots & Workflow

🏗️ How It Works

1️⃣ User Authentication

  • User connects their MetaMask wallet 🦊
  • If the wallet is already in Firebase, it's verified ✅
  • If not, the user must register with a unique username 📛
  • The username and wallet address are stored in Firebase 🔥

2️⃣ Secondary Wallet Creation

  • A secondary wallet is automatically created for transactions 🔐
  • This reduces the hassle of using the main wallet for frequent transfers 🎯

3️⃣ Fund Management & Chain Abstraction

  • Users can add funds to their main wallet 💰
  • Supports multi-chain abstraction for seamless transactions 🔄

4️⃣ AI-Powered Chat Interface

  • Chat with Gemini AI for financial queries 🤖
  • Recognizes swap & transfer commands in natural language 🎙️
    • Example: "Send 50 USD to Shawn on Polygon" 💵
    • Calls a backend function to execute the transaction 🔄

5️⃣ Transaction History

  • Keeps a real-time record of all transactions 📊
  • No need to manually check wallet transactions ✅

6️⃣ Friend System

  • Users can add friends by their unique username 🤝
  • If the username exists in Firebase, the friend is added 👥
  • When sending money, Gemini AI can retrieve the recipient's primary wallet address automatically 🏦

🛠️ Tech Stack

  • Frontend: React ⚛️, TypeScript 📝, TailwindCSS 🎨
  • Backend: Firebase 🔥, Google Cloud Functions ☁️, AWS (Polly, Transcribe) 🎙️
  • Blockchain: MetaMask 🦊, Ethers.js ⛓️
  • AI Integration: Gemini AI 🤖

📦 Installation & Setup

1️⃣ Clone the repository:

 git clone https://github.com/mohitagarwal24/cryptoconnect.git

2️⃣ Install dependencies:

 cd cryptoconnect
 npm install

3️⃣ Set up environment variables:

  • VITE_GEMINI_API_KEY → Gemini AI API key 🔑
  • FIREBASE_CONFIG → Firebase config details 🔥

4️⃣ Run the development server:

 npm run dev

🛡️ Security Measures

  • End-to-end encrypted chat 🔐
  • Secure Firebase authentication
  • Transaction verification & validation 🔄

🎯 Future Enhancements

  • Multi-chain support 🌐
  • Enhanced AI features for better financial insights 📊
  • Mobile App for on-the-go transactions 📱

🤝 Contributing

We welcome contributions! To contribute:

  1. Fork the repository 🍴
  2. Create a feature branch 🔀
  3. Commit changes & push 📌
  4. Open a Pull Request 🚀

📜 License

This project is licensed under the MIT License 📜


📞 Contact

For queries, contact:

  • Email: [email protected] 📧
  • Discord: CryptoConnect Community 🎧
  • Twitter: @CryptoConnect 🐦

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •