flashbots / simple-arbitrage

Example arbitrage bot using Flashbots
1.97k stars 743 forks source link

Submitting bundle, but no transactions are ever started. #18

Open flashbotpirate opened 3 years ago

flashbotpirate commented 3 years ago

First off, thanks for open-sourcing this. Thought I give it a try and created the contracts. However, no transactions are ever started by the contract.

I see this log, which looks like it is submitted via the relay.

Submitting bundle, profit sent to miner: 0.0003, effective gas price: 2.1664 GWEI

I have these environment variables set.

FLASHBOTS_RELAY_SIGNING_KEY=0x....
PRIVATE_KEY=0x.....
BUNDLE_EXECUTOR_ADDRESS=0xfC54bf73483d28619E43479551140939380B0e1b
ETHEREUM_RPC_URL=https://mainnet.infura.io/v3/mykey
MINER_REWARD_PERCENTAGE=20

I just found the discord, but there's a lot going on there. Figure I'd start here. Any direction or guidance is appreciated! 🙏