Skip to content

NishantCoder108/stake2learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stake2Learn – Stake → Learn → Earn

Stake2Learn is a decentralized learning platform built on Solana where learners stake SOL to access expert mentorship, and both mentors and learners earn yield through staking.


🚀 What is Stake2Learn?

Stake2Learn is a Web3 education platform where:

  • Learners stake SOL to learn from mentors.
  • Mentors earn a portion instantly and unlock full funds after completing mentorship.
  • ✅ The platform takes a small cut to sustain and grow.
  • ✅ Learners earn yield rewards while learning.

🔧 Tech Stack

  • Smart Contracts: Anchor (Rust, Solana)
  • Frontend: Next.js, TailwindCSS, shadcn/ui
  • Backend: tRPC, Prisma, PostgreSQL
  • Auth: NextAuth.js + Solana wallet (Phantom)
  • Deployment: Vercel (Frontend) & Solana cluster (Smart Contracts)

✅ Completed Functionality

  • Mentor registration (on-chain & off-chain)
  • Learner wallet login (Phantom)
  • Stake-to-learn transaction with SOL split:
    • 10% to Mentor
    • 5% to Platform(Admin)
    • 85% to Treasury (for yield)
  • Mentor dashboard (Track learners, staking stats)
  • Admin verification flow for mentors
  • Figma wireframe & project architecture
  • Localnet testing via solana-test-validator

🔜 Upcoming Features

  • Learner dashboard (Track yield, mentor classes)
  • Integrate Jito Pools for earn Yield
  • Class scheduling & completion logic
  • Mentor unstaking after class ends
  • Email/SMS notifications
  • Platform analytics for Admin
  • Cross-platform responsive UI

📂 Project Structure

stake2learn/
├── anchor/             # Smart contract (Anchor)
├── app/                # T3 Stack app (Next.js + Tailwind + tRPC)
└── README.md

✨ Vision

Stake2Learn aims to bridge learning and earning using DeFi and blockchain. In future, we plan to:

  • Add DAO governance for mentor approvals

  • Enable NFT certificates for learners

  • Integrate Jito stake pools for yield optimization

👨‍💻 Author

Made with ❤️ by Nishant – Blockchain Developer focused on Solana, Rust, and Web3 Frontend.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published