An open API service indexing awesome lists of open source software.

https://github.com/kleros/t2cr-rewards-bot

Convenience bot that watches the T2CR for withdrawable rewards and withdraws for them user.
https://github.com/kleros/t2cr-rewards-bot

backend token-list

Last synced: 3 months ago
JSON representation

Convenience bot that watches the T2CR for withdrawable rewards and withdraws for them user.

Awesome Lists containing this project

README

          


Rewards Withdraw Bot


JavaScript Style Guide
Conventional Commits
Commitizen Friendly
Styled with Prettier

On the [Token² Curated List](tokens.kleros.io), 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`.