Video thumbnail

DAOScape

Privacy-preserving DAO with reputation-based governance using ZKP. Bringing accountability to DAOs.

DAOScape

Created At

ETHGlobal Prague

Winner of

Blockscout - Big Blockscout Explorer Pool Prize

Prize Pool

Project Description

This project is a comprehensive decentralised autonomous organisation (DAO) platform that revolutionises governance through advanced identity verification and reputation-based voting. The system leverages vlayer's cutting-edge Web Proof technology to enable privacy-preserving verification of social media accounts, email domains, and GitHub contributions, creating a sophisticated governance mechanism that rewards genuine participation over pure capital holdings. Key Product Features: ๐Ÿ” Zero-Knowledge Identity Verification: Users can cryptographically prove their social media activities, email domain ownership, and GitHub contributions without revealing sensitive information or requiring API access. ๐Ÿ† Advanced Reputation System: The platform implements a multi-dimensional reputation scoring system that considers verified activities across Twitter, GitHub, and email domains, with time-based decay mechanisms to encourage ongoing participation. โš–๏ธ Sophisticated Voting Weights: Unlike traditional token-weighted DAOs, this system uses a complex mathematical formula that balances reputation (weighted highest), token holdings, participation rates, verification diversity, and domain authority to calculate voting power. ๐Ÿ—ณ๏ธ Dynamic Governance: Support for multiple proposal types (Technical, Financial, Community, Parameter) with category-specific multipliers that emphasise relevant verification types for different proposal categories.

How it's Made

Frontend: React 18 with TypeScript, Vite build system, and Tailwind CSS for a beautiful, responsive UI. Integration with wagmi v2 and viem v2 for Ethereum interactions, plus React Query for state management. Backend: Node.js with Express, TypeScript, and a microservices architecture. Modular design with separate services for DAO operations, swap functionality, membership management, and external API integrations. Smart Contracts: Written in Solidity using Foundry framework, deployed and verified on Base Sepolia testnet.

vlayer๐Ÿ” vlayer is the cornerstone of our identity verification system, providing: Zero-Knowledge Web Proofs: Generate cryptographic proofs of web activities without revealing sensitive data Three Verification Types: Twitter: Verify profile ownership, follows, likes, and retweets using dynamic action configurations GitHub: Prove repository contributions and commit history through commit API verification Email: Validate domain ownership through DKIM signature verification Privacy-Preserving: No API keys, passwords, or sensitive data exposure required Smart Contract Integration: Prover and Verifier contract pairs for each verification type enable on-chain proof validation The vlayer integration includes sophisticated prover contracts (DynamicTwitterProver.sol, GitHubProver.sol, EmailDomainProver.sol) that parse JSON responses from web APIs and generate cryptographic proofs, paired with verifier contracts that validate these proofs on-chain and emit events for reputation tracking.

Blockscout Integration ๐Ÿ” Blockscout serves as our primary blockchain explorer and verification platform: Contract Verification: All 7 smart contracts verified using Foundry's forge verify-contract command with Blockscout's API Analytics Integration: Backend service connects to Blockscout Merits API for enhanced user authentication and reputation tracking Developer Experience: Provides transparent, open-source block exploration with advanced analytics Real-time Monitoring: Frontend integration shows live transaction status with direct Blockscout links

1inch Protocol Integration ๐Ÿ’ฑ 1inch powers the DAO's treasury management and token operations: Swap Functionality: Backend microservice provides quote generation and swap execution through 1inch v6.0 API Token Price Data: Real-time token pricing for accurate governance token valuation and portfolio management Balance Checking: Multi-chain token balance verification for membership validation Treasury Operations: Enables the DAO to manage assets across different tokens with optimal pricing efficiently.

Notable Technical Innovations ๐Ÿงฎ Mathematical Voting Weight Formula: Implemented a sophisticated voting weight calculation: VW = (R^2.5 ร— T^0.8 ร— P^1.2 ร— V^1.0 ร— D^0.6) ร— M ร— S where reputation (R) is the primary factor, ensuring genuine contributors have more influence than token holders alone. ๐Ÿ”„ Dynamic Action Configuration: The Twitter verification system uses configurable action types stored on-chain, allowing the DAO to vote on new verification methods without contract upgrades. โšก Real-time State Management: Custom React contexts and hooks provide seamless state synchronisation between wallet connections, verification status, and contract interactions. ๐Ÿ›ก๏ธ Multi-Layer Security: Combining smart contract access controls, time locks for governance execution, and vlayer's cryptographic proofs creates a robust security model. ๐Ÿ“ฑ Progressive Web App: Built with modern web standards for mobile-responsive governance participation with offline capability.

Deployment & Infrastructure Blockchain: Base Sepolia testnet chosen for low costs and Ethereum compatibility Frontend Hosting: Vercel with automatic deployments Backend: Microservices deployed with Vercel serverless functions Database: Supabase for user data and reputation tracking Monitoring: Sentry integration for error tracking and performance monitoring

PS: We used vlayer's starter repo and backend boilerplate template to init the repo.

background image mobile

Join the mailing list

Get the latest news and updates