A mobile application that generates Zero-Knowledge (ZK) proofs of crypto wallet balances without revealing exact amounts, addresses, or transaction history.
- Connect with MetaMask Android SDK
- Real wallet connection and balance fetching
- Secure and private wallet connection
- Display total portfolio value
- Show individual token balances
- Wallet address information
- Navigation to proof generation
Users can choose from different types of proofs:
- Minimum Balance: Prove you have at least $X in your wallet
- Range Proof: Prove your balance is between $X and $Y
- Whale Status: Prove you're a crypto whale (>$100K)
- Top Holder: Prove you're in the top X% of token holders
- Configure parameters for the selected proof type
- Set minimum/maximum amounts
- Specify token symbols
- Set percentage thresholds
- Display generated ZK proof as QR code
- Share proof via social platforms (X, WhatsApp, etc.)
- Copy proof data as text
- Proof verification information
- Frontend: Jetpack Compose (Android)
- Navigation: Navigation Compose
- State Management: ViewModel with StateFlow
- ZK Proof Generation: Mopro library with Circom
- QR Code Generation: ZXing library
- Navigation Compose for screen navigation
- ZXing for QR code generation
- Material Icons Extended for UI icons
- ViewModel Compose for state management
- Coroutines for async operations
- MetaMask Android SDK for wallet connectivity
The app uses the existing demo proof generation logic from the original MainActivity:
- Loads
multiplier2_final.zkeyfrom assets - Generates Circom proof with sample input
- Creates QR code with proof data
- Displays proof for sharing
- Clone the repository
- Open the project in Android Studio
- Build and run the app on an Android device or emulator
- Install MetaMask mobile app on your device
- Connect your MetaMask wallet to view balances
- Navigate through the screens to generate and share ZK proofs
- Real balance proof generation (currently uses demo)
- Token balance fetching from blockchain
- Proof verification on-chain
- Additional proof types
- Enhanced UI/UX improvements
- Multi-chain support
- Zero-knowledge proofs ensure privacy
- No sensitive data is revealed
- Cryptographic verification of claims
- Secure QR code sharing
This project is part of the ETHGlobal Cannes 2025 hackathon.