Milestone-based crowdfunding with on-chain governance andENS verification.
TrustLock is a trustless crowdfunding protocol that solves the fundamental problem in Web3 fundraising: how do you ensure creators deliver on their promises while protecting contributors from rug pulls? The Problem: Traditional crowdfunding platforms like Kickstarter have no accountability - once funded, creators can disappear. Existing Web3 solutions either release all funds upfront (high risk) or use centralized arbitration (defeats the purpose of decentralization). Our Solution: TrustLock implements milestone-based fund release with contributor governance:
Campaign Creation with ENS Verification: Only creators with ENS names can launch campaigns, adding a reputation layer and economic barrier to bad actors ($5-15 ENS cost vs $0 for throwaway wallets). Progressive Fund Release: Funds are locked in a treasury and released in 5-25% increments as creators complete milestones, ensuring continuous delivery. Contributor Governance: Contributors vote on each milestone (25% quorum, 50%+1 approval). Each contributor's vote is weighted by their contribution amount. Dual Failure Protection: Campaigns fail after either 3 consecutive milestone rejections OR 5 total rejections, preventing gaming through occasional approvals. Fair Economics: 2% protocol fee is only collected on successful campaign completion. Failed campaigns enable 100% refunds (minus any released milestones). Multi-Asset Support: Campaigns can accept ETH or Stable tokens with 2% max contribution limit to prevent whale control.
Key Features:
ENS-gated campaign creation (reputation & anti-spam) Milestone-based fund escrow Weighted contributor voting Dual failure tracking (3 consecutive OR 5 total) Deferred protocol fees (only on success) Proportional refunds on failure 2-day voting delay + 7-day voting period Supports ETH and whitelisted ERC20s (Stables)
Tech Innovation:
Clean contract architecture with separation of concerns (Core, CampaignManager, Voting, Treasury) ENS reverse resolution for creator verification Gas-optimized voting with contribution-weighted power Built-in anti-gaming mechanisms Comprehensive fuzz testing suite
Impact: TrustLock makes crowdfunding actually work on-chain by aligning incentives: creators are motivated to deliver (to unlock funds), contributors are protected (voting power + refunds), and the protocol is sustainable (fees only on success). Perfect for: indie game development, DApp launches, research projects, creative works, community initiatives, and any project requiring milestone-based funding with accountability.
TrustLock is built with a modular smart-contract architecture on Sepolia, separating concerns across four contracts: a core orchestrator, campaign manager, voting logic, and treasury for fund custody and fee handling. Contracts are written in Solidity 0.8.19 using Foundry and OpenZeppelin primitives, with gas-optimized storage and extensive unit, integration, and fuzz testing. Creators are verified using native ENS integration via reverse resolution and forward validation, preventing anonymous or spoofed campaigns while preserving decentralization. The frontend is a Next.js 14 app using wagmi/viem, RainbowKit, and custom React hooks for real-time state updates and clean UX. Funds are released through contribution-weighted milestone voting, with refunds and protocol fees handled safely and transparently.

