Hardhat-First
Aligned with Zama's official FHEVM plugin workflow for compilation, testing, and deployment.
A Hardhat-based FHEVM curriculum. 4 weeks from FHE theory to confidential smart contracts on mainnet.
| Week | Focus | What You Build | Homework |
|---|---|---|---|
| 1 | Foundations & First Contract | FHECounter.sol | EncryptedPoll |
| 2 | Encrypted State & Access Control | EncryptedVault.sol | EncryptedTipJar |
| 3 | Confidential DeFi | ConfidentialERC20.sol | Extended ERC20 |
| 4 | Capstone & Production | SealedBidAuction.sol | Vickrey Auction |
Total: 4 weeks | ~8-10 hours per week | 30 tests across 4 contracts
This bootcamp is organized around the supported FHEVM development path:
hardhat-deploygit clone --recurse-submodules https://github.com/0xNana/fhevm-bootcamp.git
cd fhevm-bootcamp
npm install
npm run compile
npm test