Skip to content

Getting Started

Prerequisites

This bootcamp is designed for:

  • Web3 developers with basic Ethereum and Solidity knowledge
  • Smart contract developers adding privacy-preserving capabilities
  • Technical educators running FHEVM workshops

You should have:

  • Basic understanding of Ethereum and smart contracts
  • Familiarity with Solidity syntax
  • A recent Node.js setup for Hardhat development

No prior FHE or cryptography knowledge is required. Week 1 covers the theory you need.

Install Node.js

Use an even-numbered LTS release such as Node 20.

bash
node -v
npm -v

Clone the Repository

bash
git clone --recurse-submodules https://github.com/0xNana/fhevm-bootcamp.git
cd fhevm-bootcamp

Build and Test

bash
npm install
npm run compile
npm test

That runs the solution suite in the Hardhat mock FHEVM runtime.

Useful Commands

bash
npm run test:week1
npm run test:week2
npm run test:week3
npm run test:week4

npm run test:starter:week1
npm run test:starter:week2
npm run test:starter:week3
npm run test:starter:week4

Project Structure

text
fhevm-bootcamp/
├── contracts/              # Hardhat entrypoints
├── src/                    # Solution contracts
├── starter/                # Homework starter templates
├── test/                   # Hardhat TypeScript test suites
├── deploy/                 # hardhat-deploy scripts
├── hardhat.config.ts       # Hardhat + FHEVM plugin config
├── package.json            # Scripts and dependencies
└── website/                # This learning platform

Next Step

Begin with Week 1: Foundations & First Contract.

Built for the Zama Developer Program — Bounty Track