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
When checking prices on the Ethereum blockchain, you can use a variety of methods to get the current price of ETH. Here are some options:
-
Use a non-blockchain API: You can use an API from a cryptocurrency data provider like CoinGecko or CoinMarketCap to get the current price of ETH. These APIs provide real-time and historical price data for a wide range of cryptocurrencies, including ETH.
-
Use an oracle: An oracle is a smart contract that provides external data to the blockchain. You can use an oracle to get the current price of ETH from a trusted source. Some popular oracles include ChainLink and Provable.
-
Query a contract from a decentralized exchange: You can query a contract from a decentralized exchange like Uniswap to get the current price of ETH. Uniswap is a popular decentralized exchange that allows users to trade ETH and other ERC-20 tokens.
Each of these methods has its own advantages and disadvantages. Using a non-blockchain API is the easiest and quickest way to get the current price of ETH, but it may not be the most accurate or reliable. Using an oracle or querying a contract from a decentralized exchange can provide more accurate and reliable price data, but it may require more technical knowledge and may be more complex to implement.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.