Welcome to FHEVM Bootcamp
Build smart contracts where data stays encrypted during computation. No decryption needed. No trusted third parties. Just math.What you’ll learn
This comprehensive, hands-on training program teaches you to design, develop, audit, and deploy FHE-powered smart contracts using Zama’s fhEVM stack and the latestFHE Solidity library.
Quick start
Get up and running in under 10 minutes
Installation
Detailed setup instructions for your development environment
Curriculum overview
Explore the full 4-week, 20-module program
Learning paths
Choose your pace: intensive, part-time, or self-paced
What is FHEVM?
FHEVM brings Fully Homomorphic Encryption (FHE) to the Ethereum Virtual Machine. It allows smart contracts to operate on encrypted data without ever decrypting it. This enables a new class of on-chain applications where sensitive data—balances, votes, bids, medical records—remains confidential throughout the entire computation lifecycle.Your first encrypted contract
Here’s what a simple encrypted contract looks like:HelloFHEVM.sol
Program structure
The bootcamp consists of 20 modules organized into a 4-week progressive program:Week 1: Foundation & operations
Master FHE fundamentals, encrypted types, and all operations (arithmetic, bitwise, comparison)
Week 2: Core patterns
Learn access control, encrypted inputs, decryption patterns, conditional logic, and randomness
Week 3: Applications & testing
Build confidential tokens, voting systems, and auctions. Master testing and debugging
What makes this bootcamp unique
35 production contracts
All deployed and verified on Ethereum Sepolia testnet
328 passing tests
Comprehensive test coverage demonstrating best practices
Hands-on exercises
20 modules with starter templates and complete solutions
Real-world projects
Build confidential ERC-20 tokens, voting systems, auctions, and a DAO
Technology stack
| Layer | Technology |
|---|---|
| Encryption library | Zama TFHE-rs (underlying FHE engine) |
| Solidity library | @fhevm/solidity (FHE library) |
| Configuration | ZamaEthereumConfig base contract |
| Development framework | Hardhat + fhEVM plugin |
| Testing | Hardhat test / Foundry (mock mode) |
| Frontend encryption | @zama-fhe/relayer-sdk (Relayer SDK) |
| Network | Ethereum Sepolia / local fhEVM node |
Key FHE operations
The bootcamp uses the new FHEVM API throughout:Learning outcomes
By completing this bootcamp, you will be able to:- Design and implement confidential smart contracts using FHEVM
- Manage encrypted types (
ebool,euint8-euint256,eaddress) - Perform operations on encrypted data without decryption
- Implement proper access control for encrypted values
- Build complete dApps with encrypted frontend integration
- Test and debug FHE contracts effectively
- Optimize gas costs for FHE operations
- Apply security best practices for confidential contracts
- Build production-ready confidential DeFi applications
Assessment system
| Component | Weight | Description |
|---|---|---|
| Quizzes | 20% | End-of-module knowledge checks (multiple choice + short answer) |
| Exercises | 40% | Hands-on coding exercises graded on correctness, style, and security |
| Capstone project | 40% | Original FHE application with documentation and presentation |
All 328 tests run locally in mock FHE mode—no testnet connection needed for development.
Ready to start?
Quick start guide
Get set up in 10 minutes
Full installation
Detailed environment setup