← Back to home

PowerPunk

Grassroots community protocol to fund local climate solutions

Problem Statement

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.

Solution

Frontend Framework:Next.js 14 with App Router for modern React developmentTypeScript for type safety across the entire codebaseTailwind CSS for responsive, utility-first stylingLucide React for consistent iconographyBlockchain Integration:Coinbase CDP (Customer Development Platform) as our primary Web3 infrastructureCDP React Hooks (@coinbase/cdp-hooks) for wallet connection and transaction handlingCDP AgentKit for AI-powered fund management (agent escrow option)Viem for low-level Ethereum transaction encoding and utilitiesHardhat for smart contract development and deploymentSmart Contracts:Solidity 0.8.28 with OpenZeppelin libraries for securityCoopEscrow.sol - Individual escrow contracts per projectProjectRegistry.sol - Central registry for project discoveryBase Sepolia testnet for development and testingBackend & Data:Supabase for PostgreSQL database and real-time subscriptionsWalrus for decentralized metadata storageNext.js API Routes for server-side logicPartner Technologies & BenefitsCoinbase CDPEmbedded Wallets: Eliminated the "connect wallet" friction - users sign in with emailTransaction Hooks:useSendEvmTransactionmade complex multi-step flows possibleAgentKit Integration: Enabled AI-powered fund management as an escrow optionBase Network: Low fees and fast confirmation times for our transactionsNoraused Nora IDE to help with escrow contract creationHardhat EcosystemDevelopment: Local testingDeployment Scripts: Automated contract deployment with verificationIntegration Testing: End-to-end test suites with transaction flowsNotable SolutionsTechnical InnovationsIndividual Escrow Contracts: Each project gets its own contractDual Escrow Options: First platform offering both AI-agent and smart contract escrowSeamless Multi-Step Flows: Complex blockchain operations feel like simple form submissionsProgressive Web3 Enhancement: Works for browsing without wallet, enhances with connectionPerformance OptimizationsGas Optimization: Reduced deployment costs through efficient constructor patternsBundle Splitting: Dynamic imports for heavy Web3 librariesState Management: Efficient React patterns to minimize re-rendersTransaction Batching: Where possible, combined operations to reduce gas costsSecurity ConsiderationsReentrancy Protection: All state-changing functions protectedInput Validation: Comprehensive parameter checking in contractsAccess Controls: Only creators can finalize their projectsFail-Safe Mechanisms: Automatic refunds if projects don't meet goals

Hackathon

ETHGlobal New York 2025

2025

Contributors