5 min setupGetting Started
Quick Start
Clone the repo, install dependencies, and run the full stack locally in under five minutes.
A working manual,
edited & set
by Ezra Nahumury
Prerequisites
| Node.js | ≥ 20 |
| npm | ≥ 9 |
| Foundry | forge, cast, anvil — install via foundryup |
| Wallet | Any EVM wallet with Arbitrum Sepolia ETH |
Install
The repo is a monorepo with two workspaces: contracts and frontend.
Clone the repository
── bash ──git clone https://github.com/EzraNahumury/iexec.git stealthgive cd stealthgiveInstall Foundry dependencies
── bash ──cd sc-StealthGive forge install cd ..Install frontend dependencies
── bash ──cd fe-stealthgive npm install cd ..
Run the Stack
The contracts are already live on Arbitrum Sepolia, so you only need the frontend dev server.
── bash ──
cd fe-stealthgive
npm run dev
# → http://localhost:3000Verify the Walkthrough
Open http://localhost:3000, connect your wallet, and walk through the demo flow:
Claim 1,000 SGD
On/dashboardclick Claim 1,000 SGD. There's a 24-hour cooldown per address.Wrap into cSGD
Type100, click Approve, then Wrap. You now hold 100 cSGD encrypted in the TEE.Donate privately
Open the demo campaign on/campaigns. Donate any amount — your contribution is encrypted client-side; only the aggregate total is public.