A decentralized educational platform on Stacks (Bitcoin L2) where users can share knowledge and earn STX.
- Share Educational Resources - Upload and share study materials, courses, and educational content
- Earn with Tips - Receive STX tips from the community for quality content
- Review System - Rate and review resources to help others find quality content
- Reputation System - Build your on-chain reputation through contributions
- Categories - Organize resources by subject (Computer Science, Mathematics, Physics, etc.)
- Analytics - Track resource performance, views, and engagement
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, React 19, TypeScript, Tailwind CSS |
| Backend | Next.js API Routes |
| Blockchain | Stacks (Clarity smart contracts) |
| Testing | Jest, Playwright, Clarinet |
stack-knowledge/
├── frontend/ # Next.js frontend application
│ ├── app/ # Next.js App Router pages
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ └── lib/ # Utilities and libraries
├── backend/ # Stacks smart contracts
│ ├── contracts/ # Clarity contract files
│ └── tests/ # Contract tests
├── docs/ # Detailed documentation
└── scripts/ # Deployment and utility scripts
- Node.js 20+
- npm or pnpm
- Clarinet (for smart contract development)
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install# Frontend development
cd frontend
npm run dev
# Run smart contract tests
cd backend
clarinet testThe main Clarity contract (knowledge-registry.clar) provides:
- Resource registration and management
- Tip mechanism with 5% platform fee
- Review and rating system
- User reputation tracking
- Resource categories and tags
- Verified educators
MIT License - see LICENSE for details.
Built on Stacks - The Bitcoin Layer 2 for smart contracts