2022

MEV-Boost Bot

Sep 25, 2022

In a tweet

I built a bot that tweets out blocks with large rewards from mev-boost relays.

Challenge

Solution

I used Flashbot's Relay API to write a script that scans for block rewards greater than 2e18 (2 ETH). I packaged the script into a Serverless Lambda and hooked it up to Twitter's API. Every block, the bot fetches and stores the latest validator payments using DynamoDB. If a new reward is found and is greater than 2e18, it will throw an alert via Twitter.

As always, you can find the source code on GitHub.

Results

Alberto Cevallos

Author