🌾YieldSprout

Harvesting Airdrops with Ease! πŸ’ͺ🌾

YieldSprout is a sophisticated backend framework, pivotal to the SproutExchange ecosystem, dedicated to automating protocol interactions for various L1/L2 chains. Acting as a bridge between users' farming requests and the actual execution of these requests, YieldSprout ensures streamlined, efficient, and accurate operations.

Core Functionalities:

  1. Automated Protocol Interaction: YieldSprout is designed to interface seamlessly with a range of L1/L2 chains including, but not limited to, zksync, zkevm, base, and linea.

  2. RabbitMQ Integration: All user farming requests are fetched from RabbitMQ, ensuring robust, scalable, and real-time processing of multiple simultaneous requests.

  3. Database Interaction: Once the farming actions are completed, relevant data and transactional details are systematically stored in a PostgreSQL database. This ensures data integrity, quick retrieval, and organized storage of transactional history.

  4. SproutNote Notifications: YieldSprout seamlessly integrates with SproutNote for asynchronous transaction notifications. Whether a farming request is successful, pending, or encounters an issue, users are instantly notified via SproutNote, enhancing user experience and keeping them informed.

Operational Flow:

  1. Request Reception: YieldSprout listens for incoming farming requests from RabbitMQ.

  2. Chain Identification: Based on the details in the request, YieldSprout identifies the relevant L1/L2 chain.

  3. Farming Execution: YieldSprout interfaces with the appropriate chain (e.g., zksync, zkevm) and executes the farming request through various routes.

  4. Database Storage: Post-execution, all relevant data, transactional details, and outcomes are saved to the PostgreSQL database.

  5. Notification Handling: Leveraging the power of SproutNote, YieldSprout sends out notifications to users, updating them about the status and outcome of their farming request.

Key Benefits:

  • Scalability: Designed to handle a surge in requests, thanks to the RabbitMQ integration.

  • Accuracy & Efficiency: Ensures each farming request is executed accurately, interfacing with the correct protocol, and providing timely feedback.

  • Data Integrity: The PostgreSQL integration ensures all data is stored securely, maintaining the integrity and history of all transactions.

  • Enhanced User Experience: Integration with SproutNote ensures users are always in the loop, elevating the overall user experience.

Conclusion: YieldSprout, as an integral module of the SproutExchange ecosystem, exemplifies efficiency and automation in the world of DeFi protocol interactions. Its strategic integration with RabbitMQ, PostgreSQL, and SproutNote positions it as a reliable, accurate, and user-centric solution for Chain/DeFi farming requests.

Last updated