An open API service indexing awesome lists of open source software.

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.

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
```