I want to create a MEV bot for the Ethereum blockchain. I am looking for advice on how…
- User
I want to create a MEV bot for the Ethereum blockchain.
I am looking for advice on how to start my journey.
First question is about querying the blockchain.
What node provider is the best to use for the quickest respones or is better to host a full node myself?
On what cloud provider can I best host a full node? Mostly looking for the lowest latency times.
Or is it better to host a full node on my home network? Do you have any other general advice for reducing latency as much as possible looking from a hardware standpoint.
Assistant
One common practice is to host your own Ethereum full node on your home computer, or on a cloud provider such as Amazon Web Services or Microsoft Azure. This gives you the lowest latency and most reliable connection to the Ethereum blockchain. You could also use an Ethereum node provider such as Infura or Blocknative, but these services may have higher latency and may not always be available.
- User
What about the software requirements. I want to create a bot that is as fast as possible. What programming language do you suggest? Keep in mind that it needs to be able to use exisiting libraries that are used within web3 Ethereum programming.
Assistant
I recommend using Python, which is the most widely used language for developing Ethereum-based applications. You can use the popular web3.py library for interacting with the Ethereum blockchain.
- User
What are the hardware requirements for running a full ethereum node?
Assistant
The recommended minimum hardware requirements for running an Ethereum full node are a computer with at least 8 GB of RAM and a multi-core processor. You can run a full Ethereum node on a laptop or desktop computer, or on a server in the cloud.
- User
how much storage space do I need to download the complete ethereum state/chain?
Assistant
The Ethereum blockchain currently requires about 10 GB of disk space to store the full chain. This can grow over time, so you may want to keep some extra space available for future growth.
- User
When checking prices on the eth blockchain do I use a non blockchain api from e.g. coingecko to get the eth prices or do I get them from an oracle or do I query some contract from let's say uniswap?
Assistant
You can use a non-blockchain API like CoinGecko to get the current price of Ethereum (ETH) in real-time. However, if you want to get the price of a specific token or asset on the Ethereum blockchain, you may need to use an oracle or query a contract from a decentralized exchange (DEX) like Uniswap.
Oracles are smart contracts that retrieve data from external sources and make it available on the blockchain. They can be used to retrieve the current price of an asset from a centralized exchange or a price feed provider like Chainlink.
Querying a contract from a DEX like Uniswap can also provide you with the current price of a token, as the DEX uses a decentralized order book to determine the price of an asset.
It's important to note that the price of an asset can vary depending on the source you use, and that the prices on the blockchain may not always be up-to-date or accurate. Therefore, it's important to do your own research and use multiple sources to get a more accurate picture of the current market conditions.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.