This file summarizes what has been completed in the LearnVault repository so far. It focuses on the implemented protocol, backend services, frontend experience, and supporting documentation.
-
LearnToken (LRN)
- Soulbound SEP-41 fungible token
- Non-transferable reputation token for learners
- Minting on verified milestone completion
- Admin role management and transfer capability
- Full transfer prevention and event emission
-
GovernanceToken
- Transferable SEP-41 fungible token
- Distributed to donors and top learners
- Used for DAO voting on scholarship proposals
-
CourseMilestone contract
- Tracks learner progress per course
- Supports checkpoint verification and milestone completion
- Triggers LearnToken minting on verified completion
-
ScholarshipTreasury contract
- Holds donor funds in stablecoins (USDC)
- Tracks treasury statistics and contributions
- Supports proposal-driven disbursements
-
MilestoneEscrow and ScholarNFT
- Secure milestone-based scholarship disbursements
- Soulbound NFT credentials for scholarship completion
-
Other supporting contracts
- Upgrade timelock vault for secure upgrades
- Fungible allowlist for controlled distributions
- Event indexer system
- Database migration and schema for indexed blockchain events
- Event poller service and worker implementation
- API controller exposing event queries by contract and address
- Database pooling and monitoring
- Production, staging, and development pool configurations
- Connection timeout and idle timeout settings
- Health checks and pool metrics endpoints
- Health and metrics
GET /api/healthendpoint for DB and pool statusGET /api/metrics/pooland alert reset endpoint
- Treasury API
GET /api/treasury/statsGET /api/treasury/activity- Real-time USDC formatting and pagination
- Learner profile endpoint
GET /api/me- Authenticated profile retrieval
- Admin panel
- Course and milestone management
- Treasury oversight
- Emergency controls and audit tracking
- Treasury dashboard
- Real-time scholarship treasury data
- Active disbursement tracking and donation history
- ScholarNFT viewer
- Credential verification and display
- Social sharing support
- Quiz and assessment engine
- Reusable component for learner validation
- Integrated with milestone contract calls
- Dashboard data wiring
- Real data from APIs and contract queries
- Learner profile, LRN balance, course progress, and loading states
- Community events calendar
- Event listing and categorization UI
- Backend endpoint for events data
- Multi-language support
- React i18next integration across interfaces
- Locale-aware formatting and language switching
- Helmet security middleware
- Content Security Policy and allowlist enforcement
- GitLeaks pre-commit integration
- Prevents accidental secret leaks in commits
- Open-source governance
- Existing documentation and contribution guidelines
- Root-level
README.mdand supporting docs already present
README.md— main project documentation and architecture overviewCOMPLETED_WORK.md— detailed feature and implementation summaryTODO.md— pending work and implementation notesdocs/— architecture, API, security, and contract references
- The project is actively documented and includes both formal design material and implementation tracking.
- This summary is intended as a snapshot of completed work and high-level progress.
- For full technical details, see
README.mdandCOMPLETED_WORK.md.