How superteamdao/earn works
Superteam Earn connects crypto project sponsors with talent through opportunity listings, applications/submissions, sponsor review, grants, and payment-related wallet features. The graph highlights discovery and participation, sponsor-side publishing/review, grant administration, and supporting engagement and account capabilities. The README establishes MySQL, Privy, Cloudinary, Resend, Jupiter, and Solana RPC as integrations; only the wallet-to-RPC and sampled API-to-feature relationships are shown where evidence supports them. Most source excerpts are incomplete, so unsampled endpoint wiring is intentionally left out.
Main entry points: route.ts Wallet Transactions · useSearchState.ts Listing Search State · home-feed.ts Home Feed · ListingBuilder.tsx Listing Builder
Components 24
Discover Opportunities
- Listing Search State
src/features/search/hooks/useSearchState.ts - Listings API
src/app/api/listings/route.ts - Home Feed
src/features/feed/queries/home-feed.ts - Homepage Feed API
src/app/api/homepage/feed/route.ts - Hackathon Discovery
src/features/hackathon/components/HackathonSection.tsx
Sponsor Operations
- Listing Builder
src/features/listing-builder/components/ListingBuilder.tsx - Sponsor Listing Actions
src/app/api/sponsor-dashboard/listing/[id]/publish/route.ts - Listing AI Generation
src/app/api/sponsor-dashboard/ai-generate/title/route.ts - Submission Review
src/features/sponsor-dashboard/mutations/useCommitReviewsSubmissions.ts - Commit Submission Reviews
src/app/api/sponsor-dashboard/submissions/ai/commit-reviewed/route.ts - Grant AI Review
src/features/sponsor-dashboard/mutations/useCommitReviewsGrantApplications.ts - Commit Grant Reviews
src/app/api/sponsor-dashboard/grant-application/ai/commit-reviewed/route.ts
Grant Programs
- Grant Programs
src/features/grants/components/GrantsSection.tsx - Grant Applications API
src/app/api/grant-application/create/route.ts - Grant Tranches
src/app/api/grant-application/request-tranche/route.ts
Accounts And Support
- Authentication
src/features/auth/components/SignIn.tsx - User Session
src/features/auth/utils/getUserSession.ts - Wallet Transactions
src/app/api/wallet/create-signed-transaction/route.ts - Credits And Disputes
src/app/api/spam-dispute/route.ts - Identity Verification
src/features/kyc/utils/checkVerificationStatus.ts
Other components
- Talent
- Sponsor
- Solana RPC
- Dispute Notification Service
Connections 20
- Talent → Listing Search State: filters listings
- Listing Search State → Listings API: requests listings
- Talent → Home Feed: views activity
- Home Feed → Homepage Feed API: loads feed
- Talent → Hackathon Discovery: explores events
- Sponsor → Listing Builder: creates opportunity
- Listing Builder → Listing AI Generation: requests content
- Sponsor → Sponsor Listing Actions: publishes listing
- Submission Review → Commit Submission Reviews: commits reviews
- Grant AI Review → Commit Grant Reviews: commits reviews
- Talent → Grant Programs: explores grants
- Talent → Grant Applications API: applies for grant
- Talent → Grant Tranches: requests tranche
- Talent → Authentication: signs in
- Authentication → User Session: establishes session
- Wallet Transactions → User Session: validates session
- Wallet Transactions → Solana RPC: submits transaction
- Talent → Credits And Disputes: disputes credit
- Credits And Disputes → Dispute Notification Service: notifies dispute
- Sponsor → Identity Verification: verifies identity