Automating Mina Rewards Distribution: A Go-based Solution with Blockberry API Integration.
Tech Proposal Overview
The proposal introduces a Go-based solution aimed at automating Mina rewards distribution through seamless integration with the Blockberry API. This innovative script caters to Mina validators, offering a reliable and compliant mechanism for automating reward distributions as per the Mina Foundation Delegation Program requirements. The solution not only simplifies the intricate process of manual reward distribution but also guarantees precision, efficiency, and strict adherence to Mina’s guidelines.
Problem Statement
Validators operating within the Mina network currently grapple with the laborious task of manually computing and distributing rewards to delegators at the conclusion of each epoch. This manual approach is susceptible to errors and poses operational challenges, necessitating a more streamlined and automated solution.
Solution
The proposed Go-based script intricately utilizes the Blockberry API to automate the entire reward calculation and distribution process. Key features include the handling of substitute payments, negotiated fees, burn rates, and alignment with familiar manual processes that validators are accustomed to.
Architecture & Design
This section delves into the detailed architecture and design of the proposed solution, serving as a reference for electors evaluating criteria such as Scalability, Architecture, and Feasibility.
Architecture
The script intelligently leverages Blockberry API endpoints to fetch essential data such as block data, canonical blocks, delegator lists, and account nonces. It then computes rewards based on this data. Custom files (.substitutePayTo, .negotiatedFees, .negotiatedBurn, .burnSupercharged) have been incorporated, allowing validators to define unique payout conditions. These files are based on the @jrwashburn payout script (https://github.com/jrwashburn/mina-pool-payout) to ensure a seamless transition between scripts without encountering issues.
Read the original proposal visit >
Ducca Staketab (Discord: duccaofficial)
Github Link: https://github.com/Staketab/go-mina-payout