This guide helps instructors prepare for and facilitate a successful FHEVM Developer Bootcamp cohort.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/0xchriswilder/journey/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The bootcamp platform supports two delivery modes:Cohort Mode
Self-Paced Mode
Pre-Bootcamp Preparation
1. Platform Setup
Deploy the Platform
Enable Instructor Mode
src/state/bootcampStore.ts, set default instructor mode:2. Customize Content
Review Curriculum
src/data/curriculum.ts and familiarize yourself with:- Learning objectives for each lesson
- Instructor notes (teaching tips and pacing)
- Interactive components and demos
- Quiz questions and homework requirements
Adapt to Your Audience
- For experienced developers: Skip basic setup, focus on FHE concepts
- For crypto newcomers: Add blockchain fundamentals content
- For security researchers: Deep dive into cryptography sections
Prepare Additional Resources
- Slide decks (Marp slides in
public/slides/) - Code repositories for live coding
- Q&A document for common questions
- Office hours scheduling tool (Calendly, etc.)
3. Student Onboarding Materials
Prepare these documents for students:Welcome Email Template
Welcome Email Template
Prerequisites Checklist
Prerequisites Checklist
Communication Channels Setup
Communication Channels Setup
#announcements- Instructor-only posting#general- General discussion#week-1through#week-4- Weekly channels#homework-help- Assignment questions#office-hours- Voice channel for live help#resources- Links and references
- Similar channel structure
- Use threads for organized discussions
- Create private repos for homework submissions
- Use Issues for Q&A
- Use Discussions for async collaboration
4-Week Cohort Schedule
Recommended Pacing
- Part-Time (Evening)
- Full-Time (Bootcamp)
- Weekend Workshop
Week 1: Foundations
Week 1: Foundations
- Lesson 1.1: Welcome to FHEVM (30 min lecture, 15 min Q&A)
- Lesson 1.2: Environment Setup (45 min guided setup, 30 min troubleshooting)
- Lesson 1.3: FHE Deep Dive (60 min lecture, 30 min interactive demos, 30 min Q&A)
- Homework 1 (8 hours self-paced)
- Office hours (Saturday, 2 hours)
Week 2: Smart Contracts
Week 2: Smart Contracts
- Lesson 2.1: Your First FHEVM Contract (45 min lecture, 45 min live coding, 30 min Q&A)
- Lesson 2.2: Contract Patterns (60 min lecture, 60 min code review)
- Lesson 2.3: Testing & Deployment (45 min lecture, 75 min hands-on)
- Homework 2 (10 hours self-paced)
- Office hours (Sunday, 2 hours)
Week 3: Full-Stack dApps
Week 3: Full-Stack dApps
- Lesson 3.1: Frontend Integration (75 min lecture, 75 min coding)
- Lesson 3.2: Private Voting dApp (60 min walkthrough, 90 min build)
- Lesson 3.3: Advanced Patterns (60 min lecture, 60 min examples)
- Homework 3 (12 hours self-paced)
- Office hours (Sunday, 3 hours)
Week 4: Production & Capstone
Week 4: Production & Capstone
- Lesson 4.1: Advanced Applications (90 min case studies, 30 min Q&A)
- Lesson 4.2: Gas Optimization (90 min deep dive, 30 min practice)
- Lesson 4.3: Production & Security (90 min lecture, 30 min checklist)
- Monday-Thursday: Building (15 hours)
- Friday: Presentations (3 hours)
- Office hours (3 sessions x 2 hours)
Teaching Tips by Lesson
Week 1: Foundations
Lesson 1.1: Welcome to FHEVM
Lesson 1.1: Welcome to FHEVM
- Start with the “why” - show public blockchain data on Etherscan
- Use the HTTPS analogy: “HTTPS encrypts in transit, FHE encrypts in compute”
- The coprocessor model is crucial - spend time here
- Ask: “Would you use Ethereum to pay your salary?” to motivate privacy
- Use ballot box analogy: “counts votes without peeking inside”
- Gauge audience crypto familiarity early
- Q: “How is this different from ZK proofs?” A: ZK proves correctness, FHE preserves privacy during computation. Complementary technologies.
- Q: “What’s the performance overhead?” A: FHE is slower, but Zama’s optimizations make it practical for many use cases.
Lesson 1.2: Environment Setup
Lesson 1.2: Environment Setup
- Test all setup steps on multiple OS (Mac, Windows, Linux)
- Prepare troubleshooting guide for common issues
- Have backup RPC URLs ready
- Do live setup alongside students
- Use screen sharing for troubleshooting
- Have TAs help with individual issues
- MetaMask not detecting network: Check chain ID
- Faucet not working: Use alternative faucets
- Node version too old: Use nvm to install 18+
Lesson 1.3: FHE Deep Dive
Lesson 1.3: FHE Deep Dive
- Focus on TFHE operations (add, sub, mul, eq, etc.)
- Emphasize ciphertext vs plaintext operations
- Show real examples from Zama documentation
- Use the FHE Basics Tabs component (in lesson)
- Live code a simple encrypted addition
- Show gas costs comparison
- 20 min: FHE theory
- 20 min: TFHE library walkthrough
- 20 min: Live demo
- 15 min: Q&A
Week 2: Smart Contracts
Lesson 2.1: Your First FHEVM Contract
Lesson 2.1: Your First FHEVM Contract
- Start with basic Solidity contract
- Add FHEVM imports
- Convert
uinttoeuint8 - Add encryption/decryption
- Deploy and test
- Stop after each step for questions
- Have students code along
- Use breakout rooms for pair programming
- Forgetting to import TFHE
- Using
+instead ofTFHE.add() - Not handling permissions correctly
Lesson 2.2: Contract Patterns
Lesson 2.2: Contract Patterns
- Show 3-4 real contract examples
- Discuss trade-offs of different patterns
- Security considerations
- Split into groups of 3-4
- Each group reviews one contract pattern
- Present findings to class (10 min each)
Lesson 2.3: Testing & Deployment
Lesson 2.3: Testing & Deployment
- Write tests together
- Deploy to testnet together
- Verify on block explorer
- Introduce bugs intentionally
- Have students debug together
- Teach troubleshooting techniques
Week 3: Full-Stack dApps
Lesson 3.1: Frontend Integration
Lesson 3.1: Frontend Integration
- Ensure students know React basics
- Review async/await patterns
- Explain wagmi hooks
- Create simple frontend step-by-step
- Connect to MetaMask
- Call encrypted functions
- Display decrypted results
Lesson 3.2: Private Voting dApp
Lesson 3.2: Private Voting dApp
- Morning: Contract development
- Afternoon: Frontend integration
- Evening: Testing and debugging
- The lesson includes a VotingSimulator component
- Demo it first
- Then build the real thing
Lesson 3.3: Advanced Patterns
Lesson 3.3: Advanced Patterns
- Show 3-4 production dApps
- Analyze architecture decisions
- Discuss scaling strategies
- Invite a Zama engineer
- Or a developer who built with FHEVM
Week 4: Production
Lesson 4.1: Advanced Applications
Lesson 4.1: Advanced Applications
- What can you build with FHE?
- Students propose ideas
- Class discusses feasibility
- Private auctions
- Confidential voting
- Encrypted DeFi
- Private gaming
Lesson 4.2: Gas Optimization
Lesson 4.2: Gas Optimization
- Measure gas costs
- Identify bottlenecks
- Optimize operations
- Re-measure and compare
- Give students a gas-heavy contract
- Competition to optimize it most
Lesson 4.3: Production & Security
Lesson 4.3: Production & Security
- Review a contract together
- Identify vulnerabilities
- Discuss fixes
- Go through production checklist
- Emphasize testing and audits
Grading Homework
Use the built-in grading rubrics for consistency:Review Submission
Use Grading Criteria
- Functionality (50%): Does the contract work?
- Code Quality (30%): Is it clean and readable?
- Documentation (20%): Is it well-documented?
Office Hours Best Practices
Scheduled Sessions
- Hold regular office hours (2-3x/week)
- Use Calendly for booking
- Limit to 15-30 min slots
- Record and share (with permission)
Async Support
- Monitor Discord/Slack daily
- Respond to questions within 24 hours
- Encourage peer-to-peer help
- Create FAQ document
Group Sessions
- Host group debugging sessions
- Review common issues together
- Live code solutions
- Build community
1-on-1 Help
- Offer individual sessions for struggling students
- Screen sharing for debugging
- Personalized learning paths
- Encouragement and motivation
Capstone Project Guidance
Project Ideation (Week 3)
- Private voting system (variations)
- Encrypted auction platform
- Confidential token transfers
- Private leaderboard/ranking
- Sealed-bid marketplace
- Can be built in 15 hours
- Uses 2-3 FHEVM concepts
- Has working frontend
- Deployable to testnet
Using Instructor Mode
The platform has built-in instructor features:- Teaching Notes
- Progress Tracking
- Quiz Results
- Pacing guidelines for each lesson
- Common student misconceptions
- Suggested activities and exercises
- Discussion prompts
Community Building
Icebreaker (Week 1)
- Student introductions
- Share background and goals
- Form study groups
- Exchange contact info
Peer Learning
- Pair programming exercises
- Code review partners
- Study groups (3-4 students)
- Peer mentoring
Social Events
- Virtual coffee chats
- End-of-week social hour
- Graduation celebration
- Alumni network
Showcase Work
- Share projects publicly
- Blog posts or Twitter threads
- Submit to hackathons
- Build portfolio
Post-Bootcamp
Issue Certificates
- Complete all 12 lessons
- Submit all 4 homework assignments
- Present capstone project
Gather Feedback
- What was most valuable?
- What could be improved?
- Would you recommend this bootcamp?
- Any additional topics to cover?
Alumni Community
- Create alumni channel on Discord
- Share job opportunities
- Invite to future events
- Encourage continued learning
Troubleshooting
Students Falling Behind
Students Falling Behind
- Missing homework deadlines
- Not participating in discussions
- Confused during lessons
- 1-on-1 check-in
- Adjust pacing if needed
- Pair with stronger student
- Provide extra resources
- Extend deadlines if necessary
Low Engagement
Low Engagement
- Quiet chat channels
- No questions during lessons
- Low homework quality
- Make lessons more interactive
- Use breakout rooms
- Gamify with leaderboards
- Increase social activities
Technical Issues
Technical Issues
- Students can’t access platform
- Contract deployments failing
- RPC errors
- Have backup RPC URLs
- Test all demos before sessions
- Maintain troubleshooting doc
- Have TA ready for tech support
Resources for Instructors
Zama Documentation
Instructor Mode
Student Experience
Customization Guide
src/data/curriculum.ts includes detailed instructor notes for every lesson. Review these before teaching!