Guides
Setup
Everything you need to run the project locally — contracts, frontend, and AI integration.
A working manual,
edited & set
by Ezra Nahumury
Clone & Install
Clone the monorepo
── bash ──git clone https://github.com/EzraNahumury/iexec.git stealthgive cd stealthgiveInstall both workspaces
── bash ──cd sc-StealthGive && forge install && cd .. cd fe-stealthgive && npm install && cd ..
Environment Variables
Two env files: one for contracts, one for the frontend.
| sc-StealthGive/.env | PRIVATE_KEY, ARB_SEPOLIA_RPC, ARBISCAN_API_KEY |
| fe-stealthgive/.env.local | CHAINGPT_API_KEY (server-side only) |
── bash ──
# sc-StealthGive/.env
PRIVATE_KEY=0x...
ARB_SEPOLIA_RPC=https://sepolia-rollup.arbitrum.io/rpc
ARBISCAN_API_KEY=...
# fe-stealthgive/.env.local
CHAINGPT_API_KEY=...Useful Scripts
| forge build | Compile all contracts |
| forge test -vv | Run the 24-test Foundry suite |
| forge script Deploy.s.sol --broadcast | Deploy to Arbitrum Sepolia |
| npm run dev | Start frontend on http://localhost:3000 |
| npm run build | Production build |
| npm run lint | ESLint check |