Skip to content

morsyxbt/Zama-Dev-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

🧩 Zama Developer Program – Level 2 & 3 Guide

Complete Level 2 and 3 of the Zama Developer Program

Environment

Windows: Use Linux Ubuntu OS ( Run in admin )

Install Dependencies

# Packages:
sudo apt update && sudo apt upgrade -y
sudo apt install screen curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev  -y

# Install Nodejs, npm, yarn
sudo apt update
sudo curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
node -v
npm install -g yarn
yarn -v

Install Hardhat:

npm install --save-dev hardhat

Deploy FHECounter contract

git clone https://github.com/zama-ai/fhevm-hardhat-template
cd fhevm-hardhat-template

Install:

npm install

Replace hardhat.config.ts file:

curl -o hardhat.config.ts https://raw.githubusercontent.com/0xmoei/zama-fhe/refs/heads/main/hardhat.config.ts

Set Sepolia RPC:

npx hardhat vars set SEPOLIA_RPC_URL
  • It prompts you to enter a Sepolia RPC, you can use https://ethereum-sepolia-rpc.publicnode.com

Set Privatekey: Use Burner Wallet

npx hardhat vars set PRIVATE_KEY
  • It prompts you to enter a privatekey, enter without 0x perfix.

Verify your wallet:

npx hardhat accounts --network sepolia

Compile and Deploy:

# Compile
npx hardhat compile

# Deploy
npx hardhat deploy --network sepolia
  • It responds with your deployed contract address

Claim Level 3

Visit: https://guild.xyz/zama/developer-program

→ Find Level 3: Deploy your confidential contract → Paste your deployed contract address

🎉 You’ve completed Level 3!

Made with ❤️ by Morsyxbt

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors