← Back to home

ZakoBox/ZakoPako

All-in-one, on-chain, DAO-based and GitHub-integrated fundraising toolkit for open-source dev teams

Problem Statement

What is ZakoBox/ZakoPako?ZakoBox (or ZakoPako for the dev community who's familiar with japanese anime and comics) is an all-in-one on-chain governance and fundraising platform specifically designed for open-source development teams. Born from the real needs of Project Airi's Core-Dev-DAO (ZakoDAO), we're solving the critical pain points that distributed developer teams face: fragmented collaboration tools, opaque fund management, and inefficient decision-making processes.The Problem We're Solving2.1 Open-source projects today struggle with:Fragmented Tools: Teams juggle between multiple platforms - GitHub for code, Discord for communication, separate tools for fundraising, different platforms for governanceFunding Transparency Issues: Traditional donation platforms take high fees and provide little transparency about fund usageGovernance Inefficiency: Decision-making is often informal, undocumented, and controlled by a few individualsTrust Barriers: Donors hesitate to contribute without clear visibility into how funds are managed and allocated2.2 Our SolutionZakoBox provides a unified platform that brings together:2.2.1 Smart Contract ArchitectureZakoBox Treasury Contract: Secure multi-token fund storage and managementZakoBoxFactory Contract: One-click deployment of customized DAO treasuriesPre-configured unlock periods and fund allocation rulesBuilt-in safety mechanisms with multisig protection2.2.2 Seamless GitHub Integration Unlike traditional crypto fundraising that requires donors to navigate complex DeFi interfaces, ZakoBox enables:One-click donations directly from GitHub repositoriesAutomatic contributor verification and trackingProject milestone-based fund releaseNative integration with existing developer workflows2.2.3 Multi-Channel FundraisingPYUSD stablecoin priority integration for reduced volatilitySupport for major tokens (ETH, USDC, USDT)Cross-chain asset bridging via Jumper integrationRecurring subscription donations for sustainable fundingCrowdfunding campaigns with milestone-based releases2.2.4 Transparent Fund ManagementReal-time treasury balance displayAutomated fund distribution based on pre-set rulesComplete transaction history with Blockscout SDK integrationVisual fund flow tracking (Sankey diagrams)Donor contribution leaderboards and NFT certificates2.2.5 On-Chain Governance (Post-hackathon roadmap)Proposal templates for common decisions (technical, financial, personnel)Multiple voting mechanisms (simple majority, super majority, weighted)Automatic execution of passed proposalsPermanent on-chain record of all decisions2.2.6 Capital EfficiencyAutomatic staking integration for idle funds (AAVE, Compound)Yield optimization with auto-compoundingRisk assessment and alerts for treasury managementTechnical Implementation3.1 Smart Contracts:Solidity 0.8.20+ with Hardhat 3.0.0+ frameworkOpenZeppelin contracts for securityUUPS upgradeable proxy patternMulti-chain deployment ready3.2 Frontend:TypeScript + Vue 3 + Vite for modern, fast developmentShadcn UI components for consistent designMulti-wallet support (MetaMask, WalletConnect, Coinbase Wallet)Responsive, mobile-first designi18n support for global accessibility3.3 Integrations:Blockscout SDK for enhanced blockchain data visualizationPYUSD payment gateway for stable transactionsGitHub API for repository and contributor dataIPFS for decentralized storage of governance dataWhat Makes Us Different4.1 Developer-First Design: Built by developers, for developers. We understand the unique needs of technical teams.4.2 True All-in-One Solution: Unlike existing tools that only solve one piece of the puzzle, ZakoBox combines treasury management, fundraising, and governance in a single platform.4.3 GitHub-Native Experience: Donors can contribute directly from GitHub without leaving their familiar environment.4.4 Full Team Control: Unlike centralized platforms, teams maintain complete control over their funds and governance.4.5 Transparency by Default: Every transaction, vote, and decision is recorded on-chain and easily auditable.Use CasesOpen Source Projects: Accept donations, manage funds transparently, make collective decisionsDeveloper DAOs: Coordinate team payments, vote on technical directions, manage community treasuryHackathon Teams: Quick setup for prize distribution, continued project funding, team equity managementResearch Groups: Grant management, milestone-based fund release, transparent budget allocationCurrent Status & Hackathon Goals6.1 For ETHOnline 2025, our MVP focuses on:Smart contract infrastructure for treasury managementGitHub-integrated donation flowPYUSD stablecoin paymentsBlockscout integration for data transparencyBasic multisig treasury with configurable thresholdsClean, intuitive UI for donation and fund tracking6.2 Future VisionPost-hackathon, we plan to expand with:Full governance module with on-chain votingToken economics system with staking incentivesCross-chain deployment on Polygon, Arbitrum, BaseAdvanced automation for milestone-based releasesIntegration with more development platforms beyond GitHubMobile app for on-the-go treasury managementWhy This MattersOpen source software powers the internet, but its maintainers often struggle with sustainable funding. ZakoBox bridges the gap between the traditional developer ecosystem and Web3, making it dead simple for projects to accept crypto donations while maintaining full transparency and team control. We're not just building another DAO tool - we're creating the financial infrastructure for the next generation of open-source development.By removing barriers between donors and developers, automating tedious governance processes, and providing complete transparency, ZakoBox enables development teams to focus on what they do best: building amazing software.

Solution

How ZakoBox is gonna to be BuiltArchitecture OverviewWe built ZakoBox with a modular, upgradeable architecture that separates concerns between on-chain treasury management, off-chain data aggregation, and user interface layers. The system is designed to be self-deployable by any team while maintaining security and ease of use.Smart Contract Layer2.1 Core Contracts:ZakoBox.sol: The main treasury contract that handles multi-token deposits, withdrawal logic with configurable thresholds, and milestone-based fund releases. We implemented a custom access control system that goes beyond simple Ownable patterns to support weighted voting among core team members.ZakoBoxFactory.sol: A factory pattern implementation that allows one-click deployment of new ZakoBox instances with pre-configured parameters. Each deployment is deterministic using CREATE2, allowing teams to predict their treasury address before deployment.ZakoBoxRegistry.sol: An on-chain registry that tracks all deployed ZakoBox instances, making it easy to discover and verify legitimate treasuries.2.2 Technical Stack:Solidity 0.8.20+ for the latest security features and gas optimizationsHardhat 3.0.0+ as our development framework for its superior testing and debugging capabilitiesOpenZeppelin Contracts 5.0 for battle-tested implementations of ERC20, AccessControl, and ReentrancyGuardUUPS proxy pattern for upgradeability with reduced gas costs compared to transparent proxies2.3 Notable Hacks:Custom multicall implementation that batches multiple operations (like distributing funds to multiple recipients) in a single transaction, reducing gas costs by up to 40%Innovative "lazy initialization" pattern where complex DAO parameters are only set when first used, saving deployment gasSignature aggregation system that allows collecting multisig approvals off-chain before executing on-chain, dramatically reducing transaction costsFrontend Implementation3.1 Tech Stack:Vue 3 with Composition API for reactive, maintainable component architectureTypeScript for type safety across the entire frontend codebaseVite for lightning-fast HMR and optimized production buildsUnoCSS for atomic CSS with minimal bundle sizeShadcn-vue for accessible, customizable UI componentsPinia for state management with built-in devtools support3.2 Web3 Integration:Wagmi/Viem for robust Ethereum interactions with automatic type generation from ABIsWalletConnect v2 for broad wallet compatibilityCustom hooks for transaction management with optimistic updates and automatic retry logicIndexedDB for local caching of on-chain data to reduce RPC callsPartner Technology Integrations4.1 PYUSD Integration: We prioritized PYUSD as our primary payment method, implementing:Direct PYUSD transfer handlers in our smart contractsAutomatic conversion estimation for non-USD donationsSpecial gas optimization for PYUSD transfers using their specific transfer hooksCompliance-friendly transaction metadata storage for PYUSD payments4.2 Blockscout SDK Integration:Deep integration with Blockscout's API for real-time transaction monitoringCustom dashboard components using Blockscout's data visualization toolsTransaction history export functionality leveraging Blockscout's CSV generationSmart contract verification automation through Blockscout's API4.3 GitHub Integration:OAuth2 flow for secure GitHub authenticationWebhook listeners for repository events (new contributors, milestones, releases)Custom GitHub App that adds a "Donate with Crypto" button to repository pagesAutomatic contributor verification using GitHub's commit signature verification4.4 Jumper (LI.FI) Integration (optional in MVP):Cross-chain swaps enabling donations from any chain to be consolidated in the treasuryAutomatic route optimization for best exchange ratesFallback mechanisms when bridge liquidity is lowThe Hacky Parts Worth Mentioning5.1 GitHub Action as Oracle: We created a novel approach where GitHub Actions serve as a pseudo-oracle for milestone completion. When a GitHub milestone is closed, it triggers an Action that calls our smart contract through a relayer, automatically releasing funds. This bridges the Web2/Web3 gap without expensive oracle infrastructure.5.2 Gasless Donations for Small Contributors: We implemented a meta-transaction system where the DAO can sponsor gas fees for donations under $50, removing barriers for small contributors. The clever part: we batch these meta-transactions and execute them when gas prices are lowest, typically saving 60-80% on fees.5.3 "Shadow Treasury" Pattern: We developed a dual-treasury system where urgent payments can be made from a "hot" wallet with lower thresholds, while the main treasury requires full multisig. The hot wallet automatically replenishes from the main treasury using a time-weighted average algorithm.5.4 Progressive Decentralization Switch: Our contracts include a "training wheels" mode for new DAOs where certain administrative functions are initially controlled by a single admin, with automatic progression to full decentralization after set milestones (time-based or transaction volume-based).5.5 Iframe-able Donation Widget: We built a sandboxed donation widget that any website can embed with a single line of code. The hacky part: it uses postMessage API to communicate with our main app while maintaining security, and automatically inherits the host site's color scheme using CSS custom properties.Data Layer6.1 On-chain Data:Events for every significant action (donations, withdrawals, proposals, votes)IPFS for storing large governance documents with on-chain hash verificationENS integration for human-readable treasury addresses6.2 Off-chain Data:PostgreSQL for caching on-chain data and storing user preferencesRedis for session management and real-time notification queuingIPFS pinning service for permanent storage of governance artifactsSecurity Measures7.1 Smart Contract Security:Comprehensive test suite with 95%+ code coverageFuzzing tests using Foundry for edge case discoverySlither and Mythril for automated vulnerability scanningManual review focusing on reentrancy, overflow, and access control7.2 Frontend Security:Content Security Policy (CSP) headers preventing XSS attacksSubresource Integrity (SRI) for all external dependenciesInput validation and sanitization using DOMPurifyRate limiting on all API endpointsDevelopment Workflow8.1 CI/CD Pipeline:GitHub Actions for automated testing on every PRAutomatic contract deployment to testnets on merge to mainFrontend preview deployments using VercelAutomated security scanning using Dependabot and Snyk8.2 Monitoring:Custom Grafana dashboards tracking treasury metricsSentry for error tracking and performance monitoringOn-chain monitoring using Tenderly for anomaly detectionPerformance OptimizationsLazy loading of heavy components (charts, analytics)Service Worker for offline capability and cachingGraphQL with DataLoader pattern for efficient data fetchingContract optimization reducing deployment costs by 30% through bytecode optimizationThe Ideal OutputBy carefully selecting and integrating these technologies, we are going to create a platform that:Deploys a fully functional DAO treasury in under 30 secondsHandles donations from both crypto-native and traditional GitHub usersProcesses governance decisions transparently on-chainScales to support thousands of DAOs without infrastructure changesThe most innovative aspect is how we've bridged the Web2 developer world with Web3 infrastructure, making it feel native to both ecosystems. Developers can continue using GitHub while benefiting from blockchain's transparency and security, and crypto users get a familiar DeFi experience with additional developer-focused features.This architecture allows any team to fork and deploy their own instance while still benefiting from our shared infrastructure for things like cross-chain bridging and GitHub integration. It's truly decentralized, not just in governance, but in deployment and operation.

Hackathon

ETHOnline 2025

2025

Contributors