How ahm21st/identia-mvp works
Identia is a Solana skill-learning and attestation app. A user connects a wallet, studies React lessons, completes a timed quiz, and submits a score-based attestation request. An authenticated admin reviews requests and asks the backend to emit attestations; users can view certificate-style records. The sampled frontend shows request storage and admin actions, but the emission backend is not in this tree, and the attestation list is currently hardcoded. The README documents SAS on Solana; edges to that external issuance path rely on that documentation.
Main entry points: App.tsx App navigation · AdminPanel.tsx Request review · adminAuth.ts Admin sign-in · supabase.ts Supabase client
Components 17
Learning and profile
- Profile form
src/components/ProfileForm.tsx - Lessons and quiz
src/components/LearnReact.tsx - Certificate view
src/components/AttestationsList.tsx - Browser storage
Frontend application
- App navigation
src/App.tsx - Wallet control
src/components/WalletButton.tsx - Wallet setup
src/main.tsx - Solana network config
src/lib/solana.ts
Admin workflow
- Admin sign-in
src/lib/adminAuth.ts - Request review
src/components/AdminPanel.tsx
Data and issuance
- Admin verification
supabase/functions/verify-admin/index.ts - Supabase client
src/lib/supabase.ts - Supabase records
- Attestation API
- SAS on Solana
Other components
- Learner
- Admin
Connections 20
- Learner → App navigation: uses
README.md - Admin → App navigation: uses
README.md - Wallet setup → App navigation: provides wallet context
src/main.tsx - Wallet setup → Solana network config: gets endpoint
src/main.tsx - App navigation → Wallet control: renders
src/App.tsx - App navigation → Profile form: renders
src/App.tsx - App navigation → Lessons and quiz: routes to
src/App.tsx - App navigation → Certificate view: routes to
src/App.tsx - App navigation → Request review: routes to
src/App.tsx - App navigation → Admin sign-in: calls
src/App.tsx - Profile form → Browser storage: reads and writes
src/components/ProfileForm.tsx - Admin sign-in → Browser storage: stores token
src/lib/adminAuth.ts - Admin sign-in → Admin verification: posts signature
src/lib/adminAuth.ts - Admin verification → Supabase records: checks admin
supabase/functions/verify-admin/index.ts - Lessons and quiz → Supabase client: uses
src/components/LearnReact.tsx - Supabase client → Supabase records: inserts request
- Request review → Supabase client: uses
src/components/AdminPanel.tsx - Request review → Supabase records: reads and updates
src/components/AdminPanel.tsx - Request review → Attestation API: requests emission
src/components/AdminPanel.tsx - Attestation API → SAS on Solana: emits attestation
README.md