flashbots / simple-arbitrage

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

About "npm run start" #12

Open ozgurk78 opened 3 years ago

ozgurk78 commented 3 years ago

Hello

How should I run the part below?

For example, should I type the Private Key on the command line? Or should I write it in Index.js?

$ PRIVATE_KEY=PRIVATE_KEY_FROM_ABOVE \ BUNDLE_EXECUTOR_ADDRESS=DEPLOYED_ADDRESS_FROM_ABOVE \ FLASHBOTS_RELAY_SIGNING_KEY=__RANDOM_ETHEREUM_PRIVATE_KEY__ \ npm run start


angelo-di-marzio commented 3 years ago

You should run the commands in the terminal, then run 'npm run start'

DaggerToothCaster commented 3 years ago

You can use "dotenv" which allows us to use configuration files

Nirvs1 commented 2 years ago

Hello, I keep running this in the terminal and I get these errors. please help. Screenshot 2022-05-06 160959