A sophisticated automation framework for managing multiple Gradient Network Sentry Nodes simultaneously. This tool streamlines the deployment and monitoring of browser-based edge compute nodes on the Solana blockchain, enabling efficient participation in the decentralized physical infrastructure (DePIN) ecosystem.
Gradient Network represents a cutting-edge decentralized edge computing platform built on Solana, where participants operate lightweight browser-based nodes to earn rewards through computational resource sharing. The network focuses on AI inference, content delivery, and serverless functions, backed by prominent investors including Multicoin Capital, Pantera Capital, and Sequoia Capital.
This automation framework addresses the challenge of managing multiple Gradient Network accounts efficiently, providing enterprise-grade deployment capabilities with comprehensive monitoring and automatic recovery mechanisms.
- Concurrent Deployment: Deploy multiple accounts simultaneously with intelligent staggered intervals
- Individual Proxy Assignment: Each account operates through its dedicated proxy for enhanced security
- Resource Optimization: Memory-optimized Chrome instances for maximum scalability
- Account Isolation: Complete separation between accounts to prevent cross-contamination
- Intelligent Retry Logic: Automatic recovery from connection failures and UI interaction issues
- Health Monitoring: Real-time status tracking with visual indicators
- Error Handling: Comprehensive error management with detailed logging
- UI Interaction Resilience: Advanced click retry mechanisms for unstable web elements
- Real-time Health Status: Live monitoring of node connectivity and uptime
- Visual Progress Tracking: Enhanced progress bars and status indicators
- Comprehensive Logging: Detailed logs for debugging and performance analysis
- Account Performance Metrics: Individual account statistics and health reports
- Proxy Integration: Full support for authenticated HTTP proxies
- Browser Optimization: Memory-efficient Chrome configurations
- Headless Operation: Background execution without GUI overhead
- Customizable Parameters: Flexible configuration options for various deployment scenarios
git clone https://github.com/Defi-Alchemist/gradient-bot
cd gradient-botpython3 -m venv gradient
source gradient/bin/activate pip install -r requirements.txtCreate a file containing your Gradient Network credentials:
email1@example.com:password1
email2@example.com:password2
email3@example.com:password3
Configure HTTP proxies (one per account, matching line numbers):
http://username1:password1@proxy1.example.com:8080
http://username2:password2@proxy2.example.com:8080
http://username3:password3@proxy3.example.com:8080
python main.pyAccount 1: Immediate deployment
Account 2: Deploys after 30 seconds
Account 3: Deploys after 60 seconds
...
Account N: Deploys after (N-1) Γ 30 seconds
- Purpose: Individual account management
- Responsibilities: Browser control, extension setup, health monitoring
- Features: Retry logic, error handling, resource cleanup
- Purpose: Orchestrates multiple account deployments
- Responsibilities: Resource allocation, concurrent execution, monitoring coordination
- Features: Thread management, resource validation, cleanup coordination
graph TD
A[Start] --> B[Parse Configurations]
B --> C[Validate Resources]
C --> D[Create Account Instances]
D --> E[Deploy with Staggered Intervals]
E --> F[Monitor Health Status]
F --> G{Connection Issues?}
G -->|Yes| H[Initiate Retry]
G -->|No| I[Continue Monitoring]
H --> J[Cleanup Resources]
J --> K[Restart Account]
K --> F
I --> F
- π’ Good: Node is connected and operational
- π΄ Disconnected: Node requires attention or retry
β οΈ Warning: Minor issues detected- βΉοΈ Info: General status updates
- Account Status: Individual node connectivity
- Uptime Tracking: Connection duration monitoring
- Retry Statistics: Failure and recovery counts
- Resource Usage: Memory and CPU utilization
Comprehensive logging includes:
- Deployment progress and status
- Error details with stack traces
- Performance metrics and timing
- Health check results and trends
We welcome contributions to improve the automation framework. Please follow these guidelines:
- Fork the repository
- Create a feature branch
- Implement changes with comprehensive testing
- Submit pull request with detailed description
This project is licensed under the MIT License - see the LICENSE file for details.
This automation tool is designed for educational and research purposes. Users are responsible for:
- Compliance with Gradient Network terms of service
- Proper proxy usage and legal considerations
- Account security and credential management
- Resource usage and system performance monitoring
The developers assume no responsibility for account suspensions, financial losses, or system damage resulting from the use of this software.
Built with β€οΈ for the decentralized future