Skip to main content
All 35 FHEVM Bootcamp contracts have been deployed and verified on Ethereum Sepolia testnet.

Network Details

Network
string
Ethereum Sepolia (chainId: 11155111)
Deployer
address
0xF505e2E71df58D7244189072008f25f6b6aaE5ae
Date
date
February 2026

Deployment Results

35/35 contracts deployed successfully. All on-chain scenarios PASS.328 local tests passing (Hardhat mock environment).

Phase 1: Foundation (Modules 00-03)

#ContractModuleAddressEtherscan
1SimpleStorage000x8B7D25a45890d214db56790ae59afaE72273c1D3View
2BasicToken000x790f57EA01ec1f903645723D6990Eeaa2a36a814View
3HelloFHEVM020xbFd008661B7222Dd974074f986D1eb18dD4dF1F1View
4EncryptedTypes030x56c52A3b621346DC47B7B2A4bE0230721EE48c12View
5TypeConversions030x11c8ebc9A95B2A1DA4155b167dadA9B5925dde8fView

Phase 2: Core (Modules 04-09)

#ContractModuleAddressEtherscan
6ArithmeticOps040xB6D81352EA3Cd0426838B655D15097E0FaE80177View
7BitwiseOps040xb0bd1D30eDfaAbA1fc02F7A917820fD9edB24438View
8ComparisonOps040xB1141F0b2588aAb0C1fe819b1B6AF1C0a7564490View
9ACLDemo050xc4f08eB557DF912E3D1FdE79bf3465d5242ea53dView
10MultiUserVault050xa988F5BFD7Fc19481Fdac5b55027b7Dc126a67e6View
11SecureInput060x27d2b5247949606f913Db8c314EABB917fcffd96View
12PublicDecrypt070x605002BbB689457101104e8Ee3C76a8d5D23e5c8View
13UserDecrypt070x5E3ef9A91AD33270f84B32ACFF91068Eea44c5eeView
14ConditionalDemo080x0A206f2BC275012703BA262B9577ABC49A4f6782View
15EncryptedMinMax080xbA5c38093CefBbFA08577b08b0494D5c7738E4F6View
16RandomDemo090xe473aF953d269601402DEBcB2cc899aB594Ad31eView

Phase 3: Applications (Modules 10-13)

#ContractModuleAddressEtherscan
17SimpleCounter100x17B6209385c2e36E6095b89572273175902547f9View
18ConfidentialERC20110x623b1653AB004661BC7832AC2930Eb42607C4013View
19ConfidentialVoting120xd80537D04652E1B4B591319d83812BbA6a9c1B14View
20PrivateVoting120x70Aa742C113218a12A6582f60155c2B299551A43View
21SealedBidAuction130xC53c8E05661450919951f51E4da829a3AABD76A2View
22RevealableAuction130x8F1ae8209156C22dFD972352A415880040fB0b0cView
23EncryptedMarketplace130x1E44074dF559E4f46De367ddbA0793fC710DB3a7View
24EncryptedLottery090x32D3012EEE7e14175CA24Fc8e8dAb5b1Cebf929eView

Phase 4: Mastery (Modules 14-18)

#ContractModuleAddressEtherscan
25TestableVault140xfa2a63616aDe3E5BE4abFEdAF8E58780eaF0feE9View
26GasOptimized150x86daECb1Cc9Ce4862A8baFaF1f01aBe979a9b582View
27GasBenchmark150x76da41a5bD46F428E32E79a081065697C5151693View
28SecurityPatterns160x59f51Da1Df210745bf64aABA55D1b874B26001f2View
29VulnerableDemo160x5AC6485D93CD0b90A7cF94eC706ef6e70DAEB778View
30EncryptedStateMachine170x17259782D5dB2C13a8A385211f8BE6b1001d0378View
31LastErrorPattern170x7f12c6D6b13C1E985D0efD1d79873c3e7F9c6c41View
32EncryptedRegistry170xBF472B66b331303d9d7dF83195F7C355E332E137View
33ConfidentialLending180x8B5526092F6a230E23651f0Eb559fd758C42967AView
34EncryptedOrderBook180xB0fcA1f21d598006c5Bd327c44140a3471787E82View

Phase 5: Capstone (Module 19)

#ContractModuleAddressEtherscan
35ConfidentialDAO190x6C41b7E9b4e8fe2366Ba842f04E975ed7a4e9d72View

On-Chain Verification Scenarios

Each contract was deployed and tested with real transactions on Sepolia.

Example Scenarios

Test: set(42) then get()Result: PASS - returned 42
Test: mint(1000000) → verify totalSupply and encrypted balanceResult: PASS - totalSupply=1000000, encrypted balance handle non-zero
Test: createProposal("Fund dev team?", 3600) → verify proposalCountResult: PASS - proposalCount=1
Test: mintTokens(1000) + createProposal() → verify supply and proposalCountResult: PASS - supply=1000, proposalCount=1

FHE Operations Verified On-Chain

Type Conversion

  • Plaintext → encrypted (FHE.asEuint32)
  • External input conversion (FHE.fromExternal)
  • Type casting (euint8 → euint32)

Arithmetic

  • FHE.add, FHE.mul
  • Mixed encrypted/plaintext operands

Bitwise & Comparison

  • FHE.and, FHE.or
  • FHE.gt, FHE.ge, FHE.eq

Conditional Logic

  • FHE.select (encrypted ternary)
  • Nested selects

Access Control

  • FHE.allowThis()
  • FHE.allow(ciphertext, address)

Randomness

  • FHE.randEuint32()
  • Bounded random values

Confidential Tokens

  • Encrypted minting
  • Encrypted balance tracking
  • Silent fail transfers

Applications

  • Confidential voting
  • Sealed-bid auctions
  • DAO governance

Gas Usage

Total gas spent: ~0.39 ETH (deployment + on-chain interactions)Deployer wallet: 0xF505e2E71df58D7244189072008f25f6b6aaE5ae

How to Reproduce

# 1. Ensure .env has PRIVATE_KEY with Sepolia ETH
# 2. Deploy all 35 contracts
npx hardhat run scripts/deploy-all.ts --network sepolia

# 3. Run on-chain verification scenarios
npx hardhat run scripts/test-onchain.ts --network sepolia

Summary

35 PASS / 0 FAIL / 0 ERROR

35 deployed contracts
35 on-chain scenarios
328 local tests passing

Build docs developers (and LLMs) love