Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
/ t2cr-rewards-bot Public archive

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

License

Notifications You must be signed in to change notification settings

kleros/t2cr-rewards-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •