StealthGiveStealthGive
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

  1. Clone the monorepo

    ── bash ──
    git clone https://github.com/EzraNahumury/iexec.git stealthgive
    cd stealthgive
  2. Install 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/.envPRIVATE_KEY, ARB_SEPOLIA_RPC, ARBISCAN_API_KEY
fe-stealthgive/.env.localCHAINGPT_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 buildCompile all contracts
forge test -vvRun the 24-test Foundry suite
forge script Deploy.s.sol --broadcastDeploy to Arbitrum Sepolia
npm run devStart frontend on http://localhost:3000
npm run buildProduction build
npm run lintESLint check