
PowerPunk
Grassroots community protocol to fund local climate solutions
Demo
About
PowerPunk is a decentralized coordination platform designed to make it simple for communities to fund and launch climate-positive actions together. The goal is to give anyone the tools to organize, fundraise, and execute collective sustainability projects using Web3 primitives. With PowerPunk, anyone can start a campaign that leverages the power of pooled resources, transparency, and smart contracts to create real-world impact. The types of campaigns PowerPunk enables include: - Community Microgrid: neighbors raise funds to build a shared renewable microgrid for local resilience. - Community Garden: residents pool funds to convert an empty lot into a green space. - Tree Planting Initiatives: backers sponsor urban tree planting and can track progress. - HVAC Bulk Buying: households pool funds to bulk-purchase energy-efficient HVAC units at discounted rates. - Co-op Solar Installations: multiple homes coordinate to install rooftop solar panels together, lowering costs and increasing adoption. Each campaign is owned by the community and governed through transparent, verifiable on-chain actions.
How it's made
Frontend Framework: - Next.js 14 with App Router for modern React development - TypeScript for type safety across the entire codebase - Tailwind CSS for responsive, utility-first styling - Lucide React for consistent iconography Blockchain Integration: - Coinbase CDP (Customer Development Platform) as our primary Web3 infrastructure - CDP React Hooks (`@coinbase/cdp-hooks`) for wallet connection and transaction handling - CDP AgentKit for AI-powered fund management (agent escrow option) - Viem for low-level Ethereum transaction encoding and utilities - Hardhat for smart contract development and deployment Smart Contracts: - Solidity 0.8.28 with OpenZeppelin libraries for security - CoopEscrow.sol - Individual escrow contracts per project - ProjectRegistry.sol - Central registry for project discovery - Base Sepolia testnet for development and testing Backend & Data: - Supabase for PostgreSQL database and real-time subscriptions - Walrus for decentralized metadata storage - Next.js API Routes for server-side logic ### Partner Technologies & Benefits ### Coinbase CDP - Embedded Wallets: Eliminated the "connect wallet" friction - users sign in with email - Transaction Hooks: `useSendEvmTransaction` made complex multi-step flows possible - AgentKit Integration: Enabled AI-powered fund management as an escrow option - Base Network: Low fees and fast confirmation times for our transactions ### Nora - used Nora IDE to help with escrow contract creation ### Hardhat Ecosystem - Development: Local testing - Deployment Scripts: Automated contract deployment with verification - Integration Testing: End-to-end test suites with transaction flows ### Notable Solutions ### Technical Innovations 1. Individual Escrow Contracts: Each project gets its own contract 2. Dual Escrow Options: First platform offering both AI-agent and smart contract escrow 3. Seamless Multi-Step Flows: Complex blockchain operations feel like simple form submissions 4. Progressive Web3 Enhancement: Works for browsing without wallet, enhances with connection ### Performance Optimizations - Gas Optimization: Reduced deployment costs through efficient constructor patterns - Bundle Splitting: Dynamic imports for heavy Web3 libraries - State Management: Efficient React patterns to minimize re-renders - Transaction Batching: Where possible, combined operations to reduce gas costs ### Security Considerations - Reentrancy Protection: All state-changing functions protected - Input Validation: Comprehensive parameter checking in contracts - Access Controls: Only creators can finalize their projects - Fail-Safe Mechanisms: Automatic refunds if projects don't meet goals