Features
Every interactive surface ships against real contracts and a real TEE — no mock data.
edited & set
by Ezra Nahumury
Core dApp Features
| Claim SGD | 1,000 / 24 h, anti-Sybil cooldown, no KYC |
| Wrap SGD → cSGD | Approve + wrap via iExec ERC-7984 wrapper |
| Reveal balance | Gasless EIP-712 signature via Nox gateway |
| Browse campaigns | Paginated, parallel encryptedTotal fetch |
| Donate privately | Client-side encrypt + setOperator + donate (2 tx) |
| Live total raised | publicDecrypt with auto-retry on gateway sync |
| Settle / withdraw / refund | Full state machine on chain |
| Create campaign | Metadata 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.
/api/ai/draft-campaign — Web3 LLM (general_assistant). Input a one-line brief, get a title + 3-paragraph story.
/api/ai/generate-hero — NFT/Image Generator (velogen). 768×432 banner cached in localStorage per campaign.
/api/ai/audit-contract — Smart Contract Auditor. Cached server-side; rendered on the standalone /audit page.
/api/ai/review-campaign — analyses goal, deadline, EOA-vs-contract recipient, donor traction.
/api/ai/impact-report— state-aware narrative (“Projected Impact” → “Final Impact Report”).