Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 1.28 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.28 KB

Rewards Withdraw Bot

JavaScript Style Guide Conventional Commits Commitizen Friendly Styled with Prettier

On the Token² Curated List, users can contribute to dispute appeal fees to the side they believe is correct and get a chance to win rewards.

This bot is a convenience tool that withdraws those fee contributions and rewards to users so they don't have to do it themselves.

Usage

The bot needs to query every round of the requests a user contributed to. As the TCRs grow, this could result in too many requests being sent to the node and result in rate limiting. To avoid this we use local storage to not query blocks already checked.

To clear the cache, use yarn clear.