Docker Container for Bidder Node
The MEV-Commit Bidder setup leverages Docker to deploy a bidder node service within a single container, the repository can be found here . This bidder node connects to the mev-commit chain, enabling users to submit bids seamlessly. By containerizing the service, you ensure a consistent and reproducible environment, simplifying deployment and scaling.Prerequisites
Before you begin, ensure you have the following:- Docker: Install Docker on your machine. You can download it from the official Docker website.
- Docker Compose: Ensure Docker Compose is installed. It typically comes bundled with Docker Desktop, but you can verify by running docker-compose —version.
- Afunded MEV-Commit address.
- A valid Holesky private key for authentication. If you need funds, use the MEV-Commit faucet.
Setup Instructions
Follow these steps to set up and run your MEV-Commit bidder node.- Clone the Repository Begin by cloning the repository to your local machine:
- Configure Environment Variables Create a .env file in the root directory of the repository to store your environment variables securely.
- Build and Run Docker Containers With the environment configured, proceed to build and run the Docker containers.
- Builds the Docker image based on Ubuntu 20.04.
- Installs necessary dependencies such as curl and jq.
- Downloads and installs the latest MEV-Commit binary from the official repository.
- Starts the bidder node service within the container.