Skip to content

Conversation

@imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Nov 19, 2025

addresses:
https://app.asana.com/1/1208976916964769/project/1211758952171173/task/1211759626866306
https://app.asana.com/1/1208976916964769/project/1211758952171173/task/1211759626866304
https://app.asana.com/1/1208976916964769/project/1211758952171173/task/1211759626866308

This PR:

  • Adds /wallet/:address/rewards/:block API endpoint to query rewards earned by validator/delegator
  • Implements reward distribution logic using RewardDistributor to allocate block reward
  • Queries reward balances from Espresso API at service startup and for new accounts

@imabdulbasit imabdulbasit changed the title implement rewards distributions implement rewards distribution Nov 19, 2025
@imabdulbasit imabdulbasit changed the title implement rewards distribution Implement rewards tracking and distribution Nov 20, 2025
@imabdulbasit imabdulbasit requested a review from jbearer November 20, 2025 12:09
@imabdulbasit imabdulbasit marked this pull request as ready for review November 20, 2025 12:23
@imabdulbasit imabdulbasit changed the title Implement rewards tracking and distribution Implement wallet rewards calculation, catchup, and API Nov 20, 2025
Copy link
Member

@jbearer jbearer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one more question but overall this looks good. Also please switch back to main branch of espresso-network before merging, I think the PR over there should be mergable now

@imabdulbasit imabdulbasit merged commit b68c629 into main Nov 25, 2025
10 checks passed
@imabdulbasit imabdulbasit deleted the ab/wallet-rewards branch November 25, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants