StealthGiveStealthGive
Frontend

Features

Every interactive surface ships against real contracts and a real TEE — no mock data.

A working manual,

edited & set
by Ezra Nahumury

Core dApp Features

Claim SGD1,000 / 24 h, anti-Sybil cooldown, no KYC
Wrap SGD → cSGDApprove + wrap via iExec ERC-7984 wrapper
Reveal balanceGasless EIP-712 signature via Nox gateway
Browse campaignsPaginated, parallel encryptedTotal fetch
Donate privatelyClient-side encrypt + setOperator + donate (2 tx)
Live total raisedpublicDecrypt with auto-retry on gateway sync
Settle / withdraw / refundFull state machine on chain
Create campaignMetadata encoded as on-chain data URI

AI Touchpoints

Five ChainGPT endpoints. All proxied through Next.js Route Handlers so the API key never lands in the browser bundle.

fig.
Campaign copy assist

/api/ai/draft-campaign — Web3 LLM (general_assistant). Input a one-line brief, get a title + 3-paragraph story.

fig.
Hero image generator

/api/ai/generate-hero — NFT/Image Generator (velogen). 768×432 banner cached in localStorage per campaign.

fig.
Smart contract audit

/api/ai/audit-contract — Smart Contract Auditor. Cached server-side; rendered on the standalone /audit page.

fig.
AI risk review

/api/ai/review-campaign — analyses goal, deadline, EOA-vs-contract recipient, donor traction.

fig.
Impact report

/api/ai/impact-report— state-aware narrative (“Projected Impact” → “Final Impact Report”).

Diagnostics