Bots
PoolTogether v5 uses incentives to automate liquidating yield to be used as prizes, claiming prizes and generating random numbers for draws.
Last updated
PoolTogether v5 uses incentives to automate liquidating yield to be used as prizes, claiming prizes and generating random numbers for draws.
Last updated
Anyone can run bots to earn these incentives. We've tried to make it as simple as possible to run these bots on GitHub Actions. What you will need: 1. Your own GitHub account 2. The private key of an account you want to use as your transaction relayer - DO NOT share this publicly or with anyone! 3. JSON RPC URIs for the networks you want to run on (currently: Optimism, Arbitrum and Base) from a provider such as Alchemy, Infura, etc. 4. A Covalent API key
Once you have those, head on over to one of the bot repositories on GitHub and fork (deploy) your own copy of the bot:
1. Liquidator bot 2. Prize Claimer bot 3. Draw Auction bot
These bots are meant for intermediates & experts to run and modify to their liking. There is a lot of prerequisite knowledge about blockchains, private keys, swaps, and GitHub infrastructure that should be known before running a bot.
If anyone ever asks you for your private key do not give it to them. Nobody from Generation Software, Pooltime, or PoolTogether will ever ask you for your private key.
Feel free to reach out to the PoolTogether community on Discord with any questions or help required with running PoolTogether bots.
PoolTogether accrues yield on prize vaults which can then be given away to depositors as prizes. The Liquidator bots can earn by finding profitable trades and swapping WETH for the yield tokens (DAI, USDC, LUSD, etc.). Profitable yield opportunities happen numerous times each day.
Many prizes are claimed automatically each day on behalf of depositors by incentivized bots. Prize Claiming bots will earn rewards (in WETH, accrued in the Prize Pool contract) for each prize claimed.
Once per day a random number is required to choose who the winners are. Draw Auction bots are rewarded (rewards accrue as WETH on the Prize Pool contract) for getting the random number and completing the daily draw.