Kleros Bot contains bots that interact with Kleros contracts. Currently there is only one bot, called KlerosPOC
Install dependencies
yarn
You must provide a 64 character hex private key in a .env file in order to sign and broadcast transactions. The address must also have enough funds for gas costs.
You also need to include an address for the arbitrator contract and an eth provider
PRIVATE_KEY=...
ETH_PROVIDER=https://kovan.infura.io/...
ARBITRATOR_CONTRACT_ADDRESS=0x...
That's it!
yarn dev <bot-type>
yarn prod <bot-type>
bot-type | Use | Contract |
---|---|---|
KlerosPOC | Pass periods, repartition tokens and execute rulings | Link |