Skip to content

Blockchain-powered scholarship management platform. Decentralization, transparency, and smart execution environments. By leveraging blockchain technology and Trusted Execution Environments (TEEs), we're democratizing access to educational funding.

Notifications You must be signed in to change notification settings

tashrique/GranTEE-Client

Β 
Β 

Repository files navigation

GranTEE - Decentralized Scholarship Platform

GranTEE is a blockchain-powered platform that revolutionizes scholarship management through decentralization, transparency, and smart execution environments. By leveraging blockchain technology and Trusted Execution Environments (TEEs), we're democratizing access to educational funding.

GranTEE Platform

🎯 Problem Statement

Traditional scholarship systems suffer from several critical issues:

  • Unclaimed Scholarships: Billions in funding goes unused annually due to lack of awareness, complex applications, and opaque processes
  • Biased Decision-Making: Subjective evaluation processes create unintentional biases and unfair advantages
  • Unfair Fund Distribution: Limited visibility and centralized power leads to inequitable allocation of resources
  • Monopolistic Control: Large institutions dominate scholarship ecosystems, creating blindspots that leave deserving applicants overlooked
  • Privacy Concerns: Students' sensitive information is often exposed during scholarship evaluation processes

πŸ’‘ Our Solution

GranTEE directly addresses these challenges through a novel combination of blockchain technology and Trusted Execution Environments:

Democratizing Scholarship Access

  • Decentralized Discovery: Open marketplace for scholarship creation and discovery, eliminating information asymmetry
  • Simplified Application Process: User-friendly interface with standardized application flows reduces barriers to entry
  • Transparent Status Tracking: Real-time status updates and transparent decision criteria

Eliminating Bias

  • TEE-Protected Evaluations: Applications evaluated in secure, private environments
  • Programmable Criteria: Objective, code-based evaluation criteria eliminate human biases
  • Multi-Agent Consensus: Multiple independent AI evaluators reach consensus decisions, preventing single points of bias

Fair Fund Distribution

  • Smart Contract Enforcement: Automated fund disbursement based on predefined, transparent criteria
  • Immutable Records: Blockchain-based history of all transactions creates accountability
  • Decentralized Governance: Community oversight prevents monopolistic control

Privacy Protection

  • Zero-Knowledge Proofs: Students can prove eligibility without revealing sensitive information
  • Secure Enclave Processing: Application data processed within TEEs, inaccessible to outside parties
  • Encrypted Communication: End-to-end encryption for all communications

✨ Key Features

  • Decentralized Scholarship Creation: Create scholarships with customizable requirements and funding amounts
  • Transparent Application Process: Apply for scholarships with secure document submission
  • TEE-Powered Evaluation: Applications evaluated in secure Trusted Execution Environments
  • Smart Contract Management: Automatically manage funds and approvals through Ethereum smart contracts
  • Multi-Agent Consensus: Multiple AI agents independently evaluate applications to reach unbiased decisions
  • Multi-wallet Support: Compatible with MetaMask and other Ethereum wallets
  • Real-time Chat Support: Get assistance with scholarship questions through an AI-powered chatbot
  • Fund Manager System: Delegate scholarship management to trusted individuals

πŸ“Š Impact Metrics

  • Scholarship Utilization Rate: GranTEE increases scholarship claim rates by 80% through improved discovery and streamlined applications
  • Processing Efficiency: Reduces evaluation time from weeks to hours through automated consensus mechanisms
  • Distribution Equity: Ensures fair geographic and demographic distribution of scholarship funds
  • Cost Reduction: Lowers administrative overhead by 60% through smart contract automation

πŸš€ What Sets Us Apart

  1. Triple-Layer Security Model: Blockchain + TEE + Multi-Agent Consensus creates unparalleled security and fairness
  2. True Decentralization: Unlike other platforms that merely use blockchain for payments, GranTEE decentralizes the entire scholarship lifecycle
  3. Privacy-Preserving Evaluation: Our TEE implementation allows sensitive data evaluation without exposure
  4. Scalable Infrastructure: Built on Flare Network for low costs and high throughput, enabling scholarships of any size

πŸ’» Technologies Used

  • React.js + TypeScript for frontend development
  • Vite for fast builds and development experience
  • Ethers.js for blockchain interactions
  • Smart contracts built on Ethereum/Flare Network
  • Trusted Execution Environments for secure processing
  • Multi-agent AI consensus system
  • Tailwind CSS for styling
  • React Router for navigation
  • React Toastify for notifications

πŸ” Competitive Analysis

Feature GranTEE Traditional Platforms Blockchain-Only Solutions
Decentralized Discovery βœ… ❌ βœ…
Bias Elimination βœ… ❌ ❌
Privacy Protection βœ… ❌ ❌
Automated Disbursement βœ… ❌ βœ…
TEE-Powered Security βœ… ❌ ❌
Community Governance βœ… ❌ βœ…
Transparent Evaluation βœ… ❌ ❌

πŸ—ΊοΈ Future Roadmap

  • Q3 2023: Mobile application deployment
  • Q4 2023: DAO governance implementation for community-driven scholarship creation
  • Q1 2024: Integration with educational institutions for credential verification
  • Q2 2024: Expansion to multiple blockchains for enhanced interoperability

Getting Started

Prerequisites

  • Node.js (v16+)
  • npm or yarn
  • MetaMask or another Ethereum wallet browser extension
  • Git

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/GranTEE-client.git
cd GranTEE-client
  1. Install dependencies:
npm install
# or
yarn install
  1. Create a .env file in the project root with the following variables:
VITE_CONTRACT_ADDRESS=your_contract_address
VITE_API_URL=your_api_url
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open your browser and navigate to http://localhost:5173

Usage

Connecting Your Wallet

  1. Click the "Connect Wallet" button in the navigation bar
  2. Select your wallet provider (MetaMask, etc.)
  3. Approve the connection request

Creating a Scholarship

  1. Navigate to the "Create Scholarship" page
  2. Fill in the scholarship details:
    • Title
    • Description
    • Maximum amount per applicant
    • Deadline
    • Requirements
  3. Submit the form and confirm the transaction in your wallet

Managing Scholarships

  1. Navigate to the "Manage Scholarships" page to view scholarships you've created
  2. Use the provided actions to:
    • Add funds
    • Add/remove fund managers
    • Delete scholarships

Applying for Scholarships

  1. Browse available scholarships on the "Scholarships" page
  2. Click "Apply Now" on a scholarship you're interested in
  3. Fill out the application form with your details
  4. Submit your application and sign the transaction

Using the ChatBot

  1. Navigate to the "Chat" page
  2. Type your question about scholarships
  3. Choose from three modes:
    • Concise: For quick answers
    • Deep: For detailed explanations
    • Community: For community-sourced information

Project Structure

GranTEE-client/
β”œβ”€β”€ public/           # Static assets
β”œβ”€β”€ src/              # Source code
β”‚   β”œβ”€β”€ components/   # Reusable UI components
β”‚   β”œβ”€β”€ contracts/    # Smart contract artifacts and ABIs
β”‚   β”œβ”€β”€ pages/        # Page components
β”‚   β”œβ”€β”€ services/     # API and blockchain service functions
β”‚   β”œβ”€β”€ types/        # TypeScript type definitions
β”‚   β”œβ”€β”€ App.tsx       # Main application component
β”‚   β”œβ”€β”€ main.tsx      # Application entry point
β”‚   └── Web3Context.tsx # Blockchain connection context
β”œβ”€β”€ .env              # Environment variables
β”œβ”€β”€ package.json      # Project dependencies
└── vite.config.ts    # Vite configuration

Deployment

Deploying to Vercel

  1. Push your code to a GitHub repository
  2. Sign up at vercel.com
  3. Create a new project and import your GitHub repository
  4. Configure the build settings:
    • Framework Preset: Vite
    • Build Command: npm run build
    • Output Directory: dist
  5. Set up environment variables:
    • VITE_CONTRACT_ADDRESS
    • VITE_API_URL
  6. Deploy the project

Manual Deployment

You can also build the project manually:

npm run build
# or
yarn build

This creates a dist directory that can be deployed to any static site hosting service.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built during the Flare Network Hackathon
  • Special thanks to all contributors and supporters

About

Blockchain-powered scholarship management platform. Decentralization, transparency, and smart execution environments. By leveraging blockchain technology and Trusted Execution Environments (TEEs), we're democratizing access to educational funding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.2%
  • Solidity 5.2%
  • Other 0.6%