Skip to content

Hackathon Entry for StackTooDeepV2 @IITR - UNIDAO Track Winner๐ŸŽ–๏ธ

Notifications You must be signed in to change notification settings

sneaxhuh/CryptoConnect

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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: support@cryptoconnect.io ๐Ÿ“ง
  • Discord: CryptoConnect Community ๐ŸŽง
  • Twitter: @CryptoConnect ๐Ÿฆ

About

Hackathon Entry for StackTooDeepV2 @IITR - UNIDAO Track Winner๐ŸŽ–๏ธ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.8%
  • Solidity 17.4%
  • JavaScript 1.6%
  • Other 1.2%