ZakoBox/ZakoPako

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

ZakoBox/ZakoPako

Created At

ETHOnline 2025

Project Description

  1. 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.

  1. The Problem We're Solving

2.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 governance
  • Funding Transparency Issues: Traditional donation platforms take high fees and provide little transparency about fund usage
  • Governance Inefficiency: Decision-making is often informal, undocumented, and controlled by a few individuals
  • Trust Barriers: Donors hesitate to contribute without clear visibility into how funds are managed and allocated

2.2 Our Solution

ZakoBox provides a unified platform that brings together:

2.2.1 Smart Contract Architecture

  • ZakoBox Treasury Contract: Secure multi-token fund storage and management
  • ZakoBoxFactory Contract: One-click deployment of customized DAO treasuries
  • Pre-configured unlock periods and fund allocation rules
  • Built-in safety mechanisms with multisig protection

2.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 repositories
  • Automatic contributor verification and tracking
  • Project milestone-based fund release
  • Native integration with existing developer workflows

2.2.3 Multi-Channel Fundraising

  • PYUSD stablecoin priority integration for reduced volatility
  • Support for major tokens (ETH, USDC, USDT)
  • Cross-chain asset bridging via Jumper integration
  • Recurring subscription donations for sustainable funding
  • Crowdfunding campaigns with milestone-based releases

2.2.4 Transparent Fund Management

  • Real-time treasury balance display
  • Automated fund distribution based on pre-set rules
  • Complete transaction history with Blockscout SDK integration
  • Visual fund flow tracking (Sankey diagrams)
  • Donor contribution leaderboards and NFT certificates

2.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 proposals
  • Permanent on-chain record of all decisions

2.2.6 Capital Efficiency

  • Automatic staking integration for idle funds (AAVE, Compound)
  • Yield optimization with auto-compounding
  • Risk assessment and alerts for treasury management
  1. Technical Implementation

3.1 Smart Contracts:

  • Solidity 0.8.20+ with Hardhat 3.0.0+ framework
  • OpenZeppelin contracts for security
  • UUPS upgradeable proxy pattern
  • Multi-chain deployment ready

3.2 Frontend:

  • TypeScript + Vue 3 + Vite for modern, fast development
  • Shadcn UI components for consistent design
  • Multi-wallet support (MetaMask, WalletConnect, Coinbase Wallet)
  • Responsive, mobile-first design
  • i18n support for global accessibility

3.3 Integrations:

  • Blockscout SDK for enhanced blockchain data visualization
  • PYUSD payment gateway for stable transactions
  • GitHub API for repository and contributor data
  • IPFS for decentralized storage of governance data
  1. What Makes Us Different

4.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.

  1. Use Cases
  • Open Source Projects: Accept donations, manage funds transparently, make collective decisions
  • Developer DAOs: Coordinate team payments, vote on technical directions, manage community treasury
  • Hackathon Teams: Quick setup for prize distribution, continued project funding, team equity management
  • Research Groups: Grant management, milestone-based fund release, transparent budget allocation
  1. Current Status & Hackathon Goals

6.1 For ETHOnline 2025, our MVP focuses on:

  • Smart contract infrastructure for treasury management
  • GitHub-integrated donation flow
  • PYUSD stablecoin payments
  • Blockscout integration for data transparency
  • Basic multisig treasury with configurable thresholds
  • Clean, intuitive UI for donation and fund tracking

6.2 Future Vision

Post-hackathon, we plan to expand with:

  • Full governance module with on-chain voting
  • Token economics system with staking incentives
  • Cross-chain deployment on Polygon, Arbitrum, Base
  • Advanced automation for milestone-based releases
  • Integration with more development platforms beyond GitHub
  • Mobile app for on-the-go treasury management
  1. Why This Matters

Open 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.

How it's Made

How ZakoBox is gonna to be Built

  1. Architecture Overview

We 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.

  1. Smart Contract Layer

2.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 optimizations
  • Hardhat 3.0.0+ as our development framework for its superior testing and debugging capabilities
  • OpenZeppelin Contracts 5.0 for battle-tested implementations of ERC20, AccessControl, and ReentrancyGuard
  • UUPS proxy pattern for upgradeability with reduced gas costs compared to transparent proxies

2.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 gas
  • Signature aggregation system that allows collecting multisig approvals off-chain before executing on-chain, dramatically reducing transaction costs
  1. Frontend Implementation

3.1 Tech Stack:

  • Vue 3 with Composition API for reactive, maintainable component architecture
  • TypeScript for type safety across the entire frontend codebase
  • Vite for lightning-fast HMR and optimized production builds
  • UnoCSS for atomic CSS with minimal bundle size
  • Shadcn-vue for accessible, customizable UI components
  • Pinia for state management with built-in devtools support

3.2 Web3 Integration:

  • Wagmi/Viem for robust Ethereum interactions with automatic type generation from ABIs
  • WalletConnect v2 for broad wallet compatibility
  • Custom hooks for transaction management with optimistic updates and automatic retry logic
  • IndexedDB for local caching of on-chain data to reduce RPC calls
  1. Partner Technology Integrations

4.1 PYUSD Integration: We prioritized PYUSD as our primary payment method, implementing:

  • Direct PYUSD transfer handlers in our smart contracts
  • Automatic conversion estimation for non-USD donations
  • Special gas optimization for PYUSD transfers using their specific transfer hooks
  • Compliance-friendly transaction metadata storage for PYUSD payments

4.2 Blockscout SDK Integration:

  • Deep integration with Blockscout's API for real-time transaction monitoring
  • Custom dashboard components using Blockscout's data visualization tools
  • Transaction history export functionality leveraging Blockscout's CSV generation
  • Smart contract verification automation through Blockscout's API

4.3 GitHub Integration:

  • OAuth2 flow for secure GitHub authentication
  • Webhook listeners for repository events (new contributors, milestones, releases)
  • Custom GitHub App that adds a "Donate with Crypto" button to repository pages
  • Automatic contributor verification using GitHub's commit signature verification

4.4 Jumper (LI.FI) Integration (optional in MVP):

  • Cross-chain swaps enabling donations from any chain to be consolidated in the treasury
  • Automatic route optimization for best exchange rates
  • Fallback mechanisms when bridge liquidity is low
  1. The Hacky Parts Worth Mentioning

5.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.

  1. Data Layer

6.1 On-chain Data:

  • Events for every significant action (donations, withdrawals, proposals, votes)
  • IPFS for storing large governance documents with on-chain hash verification
  • ENS integration for human-readable treasury addresses

6.2 Off-chain Data:

  • PostgreSQL for caching on-chain data and storing user preferences
  • Redis for session management and real-time notification queuing
  • IPFS pinning service for permanent storage of governance artifacts
  1. Security Measures

7.1 Smart Contract Security:

  • Comprehensive test suite with 95%+ code coverage
  • Fuzzing tests using Foundry for edge case discovery
  • Slither and Mythril for automated vulnerability scanning
  • Manual review focusing on reentrancy, overflow, and access control

7.2 Frontend Security:

  • Content Security Policy (CSP) headers preventing XSS attacks
  • Subresource Integrity (SRI) for all external dependencies
  • Input validation and sanitization using DOMPurify
  • Rate limiting on all API endpoints
  1. Development Workflow

8.1 CI/CD Pipeline:

  • GitHub Actions for automated testing on every PR
  • Automatic contract deployment to testnets on merge to main
  • Frontend preview deployments using Vercel
  • Automated security scanning using Dependabot and Snyk

8.2 Monitoring:

  • Custom Grafana dashboards tracking treasury metrics
  • Sentry for error tracking and performance monitoring
  • On-chain monitoring using Tenderly for anomaly detection
  1. Performance Optimizations
  • Lazy loading of heavy components (charts, analytics)
  • Service Worker for offline capability and caching
  • GraphQL with DataLoader pattern for efficient data fetching
  • Contract optimization reducing deployment costs by 30% through bytecode optimization
  1. The Ideal Output

By carefully selecting and integrating these technologies, we are going to create a platform that:

  • Deploys a fully functional DAO treasury in under 30 seconds
  • Handles donations from both crypto-native and traditional GitHub users
  • Processes governance decisions transparently on-chain
  • Scales to support thousands of DAOs without infrastructure changes

The 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.

background image mobile

Join the mailing list

Get the latest news and updates