Fhunder is a decentralized crowdfunding platform built on the Fhenix Network that ensures backer confidentiality through Fully Homomorphic Encryption (FHE). Users can anonymously contribute to campaigns and claim rewards without revealing their funding amounts, providing a privacy-focused crowdfunding experience.
- Private Contributions: Using FHE technology, contribution amounts remain confidential while still verifying funding goals
- NFT Rewards: Contributors receive NFTs as proof of participation without exposing contribution amounts
- Campaign Management: Create and manage crowdfunding campaigns with encrypted funding goals
- MetaMask Integration: Seamless wallet connection and transaction signing
- Confidential Progress: Campaign progress shown in buckets (1/3, 2/3, 3/3) to maintain privacy
- Frontend: Next.js, RainbowKit, Wagmi, Viem
- Smart Contracts: Solidity with Fhenix FHE extensions
- Blockchain: Fhenix Network (L2)
- Development Tools: Hardhat, TypeScript, fhenixjs
Before you begin, you need to install the following tools:
- Install dependencies:
pnpm install
cd packages/backend
pnpm install
cd ../frontend
pnpm install
- Start local Fhenix node:
cd packages/backend
pnpm chain:start
- Deploy contracts:
cd packages/backend
pnpm deploy:contracts
- Start the frontend:
cd packages/frontend
pnpm start
Visit your app on: http://localhost:3000
- Smart contracts are located in
packages/backend/contracts/
- Frontend components in
packages/frontend/components/
- Contract deployment scripts in
packages/backend/deploy/
- All contribution amounts are encrypted using FHE
- Campaign funds are locked in smart contracts until goals are met
- NFT rewards preserve contributor privacy
- Role-based access control for administrative functions
MIT