( Merit Prize-Winning App for Seamless Transactions, Infinite Possibilities โ hosted by Google Cloud Web3 x PayPal )
For the best experience, install the APK on your Android device and explore all features in real-time!
๐ Experience real-time blockchain analytics, secure wallet, and AI-powered insights on your mobile device.
Watch our comprehensive demo video showcasing all features in action!
๐ฎ See the wallet, analytics, PYUSD City, and AI features live
- Overview
- Getting Started
- Core Features & GCP Integration
- Technical Architecture
- Advanced Features
- User Interface
- Testing & Development
- Support & Legal
PYUSD Hub revolutionizes PYUSD token management by combining enterprise-grade security with advanced blockchain analytics powered by Google Cloud Platform's RPC services. Our application stands out through:
- ๐ผ Secure multi-factor authenticated wallet management
- ๐ Real-time network analytics and gas optimization
- ๐ Interactive 3D blockchain visualization ("PYUSD City")
- ๐ Advanced MEV protection using GCP's
debug_traceTransaction - ๐ค AI-powered transaction analysis with Google Gemini
Want to try PYUSD Hub right away? Download the APK and start exploring:
- Download from Google Drive or GitHub Releases
- Install on your Android device
- Choose Demo Mode to explore without a wallet, or create a new wallet for the full experience
- Experience real-time blockchain analytics and AI-powered insights
๐ฑ For a quick overview of all features, check out our Demo Video
Note: For security reasons, always download from our official links above.
Flutter SDK โฅ3.4.0
Dart โฅ3.0.0
Android Studio / VS Code
Git-
GCP Blockchain RPC Setup
- Visit Google Cloud Blockchain RPC Console
- Follow the Quickstart Guide
- Copy both HTTP and WebSocket endpoints for Mainnet and Sepolia
-
Gemini API Key
- Visit Google AI Studio
- Create a new API key
- Copy the key for Gemini AI integration
-
Etherscan API Key
- Go to Etherscan
- Create an account and generate an API key
- Copy the key for transaction verification
- Get Environment Template
# Copy the example environment file
cp .env.example .env- Configure Environment Variables
# GCP RPC Endpoints (from Google Cloud Console)
MAINNET_HTTP_RPC_URL=https://your-mainnet-http-endpoint
MAINNET_WSS_RPC_URL=wss://your-mainnet-websocket-endpoint
SEPOLIA_HTTP_RPC_URL=https://your-sepolia-http-endpoint
SEPOLIA_WSS_RPC_URL=wss://your-sepolia-websocket-endpoint
# Contract Configuration
PYUSD_CONTRACT_ADDRESS=0x6c3ea9036406c555b959dc03447c4f087d6d91fa
# API Keys
GEMINI_API_KEY=your_gemini_key_from_ai_studio
ETHERSCAN_API_KEY=your_etherscan_api_keyNote: Never commit your
.envfile to version control. The.env.examplefile is provided as a template.
- Clone Repository
git clone https://github.com/amandangol/PYUSD-Hub.git
cd PYUSD-Hub- Install Dependencies
flutter pub get- Configure Environment
Create a
.envfile:
# GCP RPC Endpoints
MAINNET_HTTP_RPC_URL=your_mainnet_http_rpc_url
MAINNET_WSS_RPC_URL=your_mainnet_wss_rpc_url
SEPOLIA_HTTP_RPC_URL=your_sepolia_http_rpc_url
SEPOLIA_WSS_RPC_URL=your_sepolia_wss_rpc_url
# Contract Configuration
PYUSD_CONTRACT_ADDRESS=your_pyusd_contract_address
# API Keys
GEMINI_API_KEY=your_gemini_key
ETHERSCAN_API_KEY=your_etherscan_key- Run Application
flutter run-
Account & Balance Methods
eth_getBalance- Get ETH balanceeth_getTransactionCount- Get account nonceeth_call- Call smart contracts (PYUSD balance)eth_estimateGas- Estimate transaction gaseth_gasPrice- Get current gas priceeth_maxPriorityFeePerGas- Get max priority feeeth_feeHistory- Get historical fee data
-
Transaction Management
eth_sendRawTransaction- Send transactionseth_getTransactionByHash- Get transaction detailseth_getTransactionReceipt- Get transaction receiptseth_getBlockByHash- Get block details by hasheth_getBlockByNumber- Get block details by number
-
Network State
eth_blockNumber- Get latest block numbereth_syncing- Check sync statuseth_chainId- Get network chain IDnet_version- Get network versionnet_peerCount- Get connected peers
-
Tracing & Debug
debug_traceTransaction- Detailed transaction tracedebug_traceBlockByNumber- Trace entire blockdebug_traceBlockByHash- Trace block by hashdebug_traceCall- Simulate transaction tracetrace_block- Get block tracestrace_transaction- Get transaction tracestrace_call- Trace contract callstrace_rawTransaction- Trace raw transactions
-
WebSocket Subscriptions
eth_subscribe- Subscribe to eventsnewHeads- New block headersnewPendingTransactions- Pending transactionslogs- Contract event logs
eth_unsubscribe- Unsubscribe from events
-
State & Storage
eth_getCode- Get contract codeeth_getStorageAt- Get contract storageeth_getLogs- Get contract event logs
Our non-custodial wallet leverages GCP RPC methods for secure asset management:
- Real-time ETH & PYUSD balance tracking
- QR code generation for receiving funds
- Comprehensive transaction history
- Network switching (Mainnet/Sepolia)
- Gas optimization using GCP data
Multi-layer security implementation with:
- Biometric authentication
- Custom PIN encryption
- 12-word recovery phrase
- Secure key storage
- Session management
- Import/Export functionality
- Gas price tracking
- Block production analysis
- Network congestion metrics
- Transaction pool insights
- MEV activity detection
- Detailed transaction tracing
- Sandwich attack detection
- Frontrunning prevention
- Block replay analysis
- Smart contract interaction tracking
- Interactive 3D blockchain visualization
- Real-time transaction flows
- Network congestion weather effects
- Block building visualization
- Transaction vehicle animations
- Transaction pattern recognition
- Risk assessment
- Gas optimization recommendations
- Smart contract interaction analysis
- Natural language explanations
- Simulated wallet with test transactions
- Pre-populated transaction history
- Real-time network data access
- Full MEV protection testing
- AI analysis demonstration
- PYUSD City exploration
- Network switching capability
- All features accessible without real funds
- Custom RPC endpoint configuration
- Network management (Mainnet/Testnet)
- Security settings (Biometric, PIN, Session)
- Notification preferences
- UI customization (Dark/Light theme)
- Connection quality monitoring
- Fallback providers configuration
- Market trend analysis
- Historical data visualization
- Price impact predictions
- Network health monitoring
- Gas price alerts
- Transaction confirmations
- Network congestion warnings
- Custom alert thresholds
- PYUSD ecosystem updates
- Market news integration
- Protocol announcements
- Educational content
-
Processing Engine
- Parallel transaction trace processing
- Real-time block analysis
- MEV pattern detection
- State reconstruction
- Blockchain data stream processing
- Pattern recognition
- Predictive modeling
Note: Some advanced analytics features requiring BigQuery are not implemented due to billing constraints. The application focuses on real-time data analysis using GCP's Blockchain RPC services.
-
Visualization Engine
- 3D blockchain state rendering
- Real-time transaction flows
- Interactive exploration
- Weather effects system
- Clear Sky: Low congestion (<30%)
- Cloudy: Moderate congestion (30-60%)
- Foggy: High congestion (60-80%)
- Rain: Severe congestion (>80%)
-
System Optimizations
- Caching System
- Transaction and balance caching
- Network data and RPC response caching
- Image caching
- Background Processing
- Parallel RPC requests
- Transaction queue management
- WebSocket connection handling
- Resource Management
- Memory and battery optimization
- Network bandwidth management
- Storage optimization
- Caching System
- Transaction pattern recognition
- Risk assessment
- Gas optimization recommendations
- Smart contract interaction analysis
๐ Due to billing constraints, BigQuery integration features are currently not implemented. These features would have included:
- Historical transaction analysis
- Advanced MEV pattern detection
- Cross-chain analytics
- Custom SQL queries for blockchain data
The application currently uses GCP's Blockchain RPC services for real-time data analysis.
-
WebSocket Connection Failed
- Check GCP credentials
- Verify network connectivity
- Ensure correct WSS endpoint
-
RPC Errors
- Verify API keys
- Check rate limits
- Confirm endpoint availability
MIT License - see LICENSE for details
- GCP Blockchain RPC Overview
- Quickstart Guide
- Ethereum API Methods
- Crypto Public Datasets on BigQuery (Note: BigQuery features not implemented due to billing constraints)
- Google Faucet (Sepolia & Holesky)
- Google AI Studio
- About PYUSD
- PYUSD Contract on Paxos
- PYUSD Contract ABI on Ethereum
- PYUSD Contract ABI on Sourcify
- PYUSD Faucet on Paxos
This project is built upon the incredible work of several organizations and their technologies:
PYUSD is a trademark of PayPal, Inc. This project utilizes the PYUSD smart contract and infrastructure provided by PayPal and Paxos. For more information about PYUSD, visit pyusd.com.
This project leverages Google Cloud's Blockchain Node Engine and various Web3 services. Special thanks to the GCP team for providing robust blockchain infrastructure and documentation.
Built on Ethereum's technology and standards. Thanks to the Ethereum Foundation and community for maintaining the backbone of decentralized finance.
This project uses various open-source libraries and tools. We're grateful to all the developers who maintain these resources.
- PYUSDโข is a trademark of PayPal, Inc.
- Google Cloudโข and related marks are trademarks of Google LLC
- Ethereumโข is a trademark of Ethereum Foundation
This project is not officially associated with PayPal, Google, or the Ethereum Foundation. It is an independent implementation utilizing their public APIs and services.



























