https://github.com/zeroxbrock/flashbots-for-dummies
The simplest possible Flashbots bundle example.
https://github.com/zeroxbrock/flashbots-for-dummies
Last synced: over 1 year ago
JSON representation
The simplest possible Flashbots bundle example.
- Host: GitHub
- URL: https://github.com/zeroxbrock/flashbots-for-dummies
- Owner: zeroXbrock
- Created: 2022-01-15T01:10:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T01:10:35.000Z (over 4 years ago)
- Last Synced: 2025-02-28T02:23:09.580Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flashbots for dummies
The simplest possible example I could come up with to demonstrate how to send tx bundles to Flashbots.
## quick start
1. Get a valid provider URL (key) from [Alchemy](https://dashboard.alchemyapi.io/).
2. Copy that URL into the PROVIDER_URL variable in .env.
3. Have fun!
```sh
# get ENV variable template
cp .env.example .env
# add your own vars
vim .env
# install node dependencies
npm install
# run the script
node index.js
```