Scholar-Fi
Building your child's financial freedom with total data privacy.
Problem Statement
ScholarFi is the first decentralized educational savings protocol designed to protect the future of the next generation without compromising their privacy.In the current Web3 landscape, creating a savings account for a child forces parents to make a difficult choice: expose their child's financial future and personal data on a public ledger, or rely on centralized custodial solutions that lack programmability. ScholarFi solves this dilemma by introducing a "Privacy-First, Verify-Later" architecture.How it works: ScholarFi acts as a programmable trust fund with a smart-splitting mechanism. Parents deposit USDC directly on the Oasis Network, and the protocol automatically divides the fundsbased on a percentage defined exclusively by the parents. The "Savings" portion serves as a frozen Vault that is automatically invested in Aave to generate yield, while the remainder is routed to a "Spending" address for the child's daily allowance. The Vault remains locked and compounding until the child meets specific requirements (like turning 18).To make this possible, we combine three cutting-edge technologies:Frictionless Onboarding (Privy): We use Privy to create embedded, gasless wallets. This allows parents and students to manage both the locked savings and the daily spending funds using just an email or social login, removing the complexity of seed phrases and making the dual-address system invisible and easy to use.Data Privacy (Oasis Sapphire): This is our "Secret Vault". We use Oasis Sapphire's Trusted Execution Environments (TEEs) to encrypt and store the sensitive data of the frozen savings. The network computes the yield and total balance privately; the blockchain knows the rules are being followed, but the public never sees the child's total net worth.Sovereign Identity (Self Protocol): This is our "Gatekeeper". We integrate the Self Onchain SDK to verify that the beneficiary is a unique, living human (Sybil resistance) and meets age requirements (e.g., over 18) to unlock the frozen Vault. This is done via Zero-Knowledge Proofs, ensuring that while we verify eligibility to release the funds, we never expose the user's actual identity documents or birthdate to the blockchain.
Solution
ScholarFi is a multi-chain architecture orchestrated to leverage the best strengths of Base, Oasis, and Celo.1. User Experience (Privy): The frontend is built with React and integrates Privy for wallet management. We utilize Privy's embedded wallet features to abstract away gas fees on Base and allow users to sign transactions on Celo seamlessly. This ensures that non-crypto-native parents can set up a vault in seconds.2. Privacy Layer (Oasis Sapphire): We deployed our ChildDataStore contract on Oasis Sapphire. This contract utilizes the network's confidentiality features to ingest sensitive data (school transcripts, growth metrics) via encrypted transactions. We use Oasis as a decentralized backend that can run logic on private data (e.g., if (GPA > 3.0) return true) and output only the boolean result to the settlement layer.3. Identity & Verification (Self Protocol - Prize Integration): We implemented the Self Onchain SDK on the Celo network to handle the critical "Proof of Humanity" and age verification steps. When a beneficiary attempts to claim their scholarship funds, the smart contract on Celo calls the Self SDK to verify a ZK-proof. This confirms the user is a unique human and satisfies the age criteria (e.g., age >= 18) without revealing their actual ID. This creates a Sybil-resistant mechanism for distributing educational grants.4. Settlement & Interoperability:Base Sepolia: Handles the deposits and value accumulation (Value Layer).Celo Sepolia: Acts as the Settlement Layer where the ScholarFiVault lives. We use Chainlink CCIP to bridge the state and value between Base and Celo, ensuring that when the Self Protocol verification passes on Celo, the funds are unlocked efficiently.ROFL Service: An off-chain Rust service monitors the encrypted state on Oasis and triggers the cross-chain messages when milestones are reached.
Hackathon
ETHGlobal Buenos Aires
2025
Contributors
- fabriciojallaza
43 contributions
- Joaquinmes18
10 contributions