https://github.com/zeroxbrock/devcon-backrunner
a simple Ethereum mempool backrunner written in Typescript for educational purposes at devcon. assume there are LOTS of bugs!
https://github.com/zeroxbrock/devcon-backrunner
Last synced: 4 months ago
JSON representation
a simple Ethereum mempool backrunner written in Typescript for educational purposes at devcon. assume there are LOTS of bugs!
- Host: GitHub
- URL: https://github.com/zeroxbrock/devcon-backrunner
- Owner: zeroXbrock
- Created: 2022-10-06T00:21:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T16:26:10.000Z (over 3 years ago)
- Last Synced: 2025-02-28T03:14:37.517Z (over 1 year ago)
- Language: Shell
- Homepage: https://hackmd.io/@b8bYaUGVRhObLsqvl_gVoA/H1Mn7AXQo#
- Size: 125 KB
- Stars: 37
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# backrunner
- [x] watch transactions from specific addresses in the mempool
- [x] uniswap trades; addresses TBD
- [x] craft a backrun arb
- [x] write arb executor contract
- [x] ~~execute~~ simulate arb using Flashbots
## iterations
The base repo is empty. Check out one of the following branches:
None of these are quite done or functional, but they provide a general structure and approach for backrunning, and may be useful for learning.
* [empty project](https://github.com/zeroXbrock/backrunner/tree/skeleton)
* [the one I made at home for practice](https://github.com/zeroXbrock/backrunner/tree/hack1)
* [the one I wrote live](https://github.com/zeroXbrock/backrunner/tree/hack2)
> :warning: Running a mempool backrunner can be risky. There are poison tokens that drain your liquidity when you trade them. See [salmonella](https://github.com/Defi-Cartel/salmonella) for an example.