PhadPublish Your Docs๐Ÿˆ Setup Environment

๐Ÿˆ Setup Environment

1. Clone the Phad SDK Repository

Clone the Phad SDK project and switch to the fhe-module branch, which contains FHE-related functionality:

git clone https://github.com/Phad-labs/Phad-sdk
cd Phad-sdk
git checkout fhe-modules

This will download the necessary files and get you into the project directory.

2. Set Environment Variables

We use an optimistic-like rollup configuration since applying a zk prover to FHE is still under development.

export SKIP_GUEST_BUILD=1
export SOV_PROVER_MODE=skip

These settings ensure Phad SDK skips unnecessary guest builds and runs in an optimized prover mode.

Thatโ€™s it! Youโ€™ve now completed the initial setup for Phad SDK.