https://github.com/zeroxbrock/dammit-bobby
bob the builder
https://github.com/zeroxbrock/dammit-bobby
Last synced: 6 months ago
JSON representation
bob the builder
- Host: GitHub
- URL: https://github.com/zeroxbrock/dammit-bobby
- Owner: zeroXbrock
- Created: 2024-06-12T19:13:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T00:39:38.000Z (about 2 years ago)
- Last Synced: 2025-04-07T15:12:31.581Z (about 1 year ago)
- Language: Solidity
- Size: 5.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yack Runner Bob
POC of bottom of the block arbitrage using YakSwap on SUAVE.

## Requirements
* Foundry
* Synced Holesky node
## Setup
### SUAVE
Consult [SUAVE docs](https://suave-alpha.flashbots.net/) to set up local SUAVE network and connect it to the builder node (suave-execution-geth).
Instead of using vanilla suave-execution-geth, this repo uses a forked version of it: [suave-execution-geth](https://github.com/eden-network/suave-execution-geth).
### Trading account
Add private key used in end-to-end test into `TRADER_PK` in `.env` file. Note that account associated with the private key needs to hold sufficient assets specified in `test/config/deployment-test.json`, as well as have sufficient allowance of those assets to the `YakSwap` router contract.
Note that currently setting up the account without sufficient privilliges involves deploying a new assets, pairs, adapter and router. In the future this should be more approachable.
## Usage
Run end-to-end test:
```bash
forge test --match-test test_run --ffi -vv
```
Example output:

## Contributing
Feel free to contribute by opening an issue or a pull request.
## Authors
[Brock](https://x.com/zeroXbrock) & [Miha](https://twitter.com/MihaLotric)