Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
/ draw-bot Public archive

Service to find all jurors who deposited tokens in a session and preload their draws into the kleros store cache.

License

Notifications You must be signed in to change notification settings

kleros/draw-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kleros Draw Bot

Service to find all jurors who deposited tokens in a session and preload their draws into the kleros store cache.

Usage

For Python 3.x

It is recommended that you use a virtualenv.

Create a config.py in the format:

config = {
    "ETH_PROVIDER": "https://mainnet.infura.io/<api key>",
    "INFURA_API_KEY": "",
    "KLEROS_CONTRACT_ADDRESS": "",
    "ETHERSCAN_API_KEY": ""
}
pip install requirements.txt
python3 run.py

Notes

  • Uses etherscan API to fetch transactions and events
  • This daemon will be deprecated with the release of Kleros Athena

About

Service to find all jurors who deposited tokens in a session and preload their draws into the kleros store cache.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages