Skip to content

Latest commit

 

History

History
104 lines (80 loc) · 5.6 KB

File metadata and controls

104 lines (80 loc) · 5.6 KB
title Quickstart Your mev-commit Node
description Step into the Primev ecosystem with ease. This guide covers everything you need to set up your mev-commit node, whether you're aiming to be a bidder or a provider.
sidebarTitle Setup Node
mode wide
Make sure to check [System Requirements](/developers/system-requirements) to better understand what is needed to run mev-commit without any interruptions. ```bash ❯_ bidder curl -L -o launchmevcommit launch.mev-commit.xyz; chmod +x launchmevcommit; ./launchmevcommit --node-type bidder ```
## Script Overview

This script automates the setup and initialization of your Primev node, catering to both bidder and provider roles. Below is a detailed breakdown of the script's operations:

### 1. Initialization
- Sets up essential variables like the RPC URL (`https://chainrpc.testnet.mev-commit.xyz) for network communication and the node type (either `bidder` or `provider`).
- Establishes the root directory (`$HOME/.mev-commit`) where the mev-commit node will be installed.

### 2. Download
- Fetches the appropriate mev-commit binary for your system from the [Primev GitHub releases page](https://github.com/primev/mev-commit/releases/latest), considering your operating system and architecture.

### 3. Installation
- Extracts the downloaded binary into the specified root directory, ensuring all necessary executables are correctly placed for the node's operation.

### 4. Configuration
- Initializes the mev-commit node with your specified settings, including the node type and the RPC endpoint, along with necessary contract addresses for the node's functionality.

### 5. Wallet Setup
- Generates a new private key and wallet address for your node and secures it with test ether to facilitate transactions within the testnet environment.

### 6. Node Startup
- Launches the mev-commit node in the background tailored to the specified role, enabling it to begin its operations within the Primev network.

### 7. Cleanup
- Includes a cleanup function to ensure the node is properly shut down when the script exits, preventing any residual processes.
To fund your account, please visit our [Testnet Faucet](/get-started/faucet). Details about the account address will be displayed after running the command above. Visit [My First Preconf](/get-started/bidders/first-preconf) page to submit bids on the network and start receiving preconfirmations. If you want to perform a manual setup with detailed steps, please skip to the [manual start mev-commit](/developers/manual-start-mev-commit) section. Make sure to check [System Requirements](/developers/system-requirements) to better understand what is needed to run mev-commit without any interruptions. ```bash ❯_ provider curl -L -o launchmevcommit launch.mev-commit.xyz; chmod +x launchmevcommit; ./launchmevcommit --node-type provider ```
## Script Overview

This script automates the setup and initialization of your Primev node, catering to both bidder and provider roles. Below is a detailed breakdown of the script's operations:

### 1. Initialization
- Sets up essential variables like the RPC URL (`https://chainrpc.testnet.mev-commit.xyz) for network communication and the node type (either `bidder` or `provider`).
- Establishes the root directory (`$HOME/.mev-commit`) where the mev-commit node will be installed.

### 2. Download
- Fetches the appropriate mev-commit binary for your system from the [Primev GitHub releases page](https://github.com/primev/mev-commit/releases/latest), considering your operating system and architecture.

### 3. Installation
- Extracts the downloaded binary into the specified root directory, ensuring all necessary executables are correctly placed for the node's operation.

### 4. Configuration
- Initializes the mev-commit node with your specified settings, including the node type and the RPC endpoint, along with necessary contract addresses for the node's functionality.

### 5. Wallet Setup
- Generates a new private key and wallet address for your node and secures it with test ether to facilitate transactions within the testnet environment.

### 6. Node Startup
- Launches the mev-commit node in the background tailored to the specified role, enabling it to begin its operations within the Primev network.

### 7. Cleanup
- Includes a cleanup function to ensure the node is properly shut down when the script exits, preventing any residual processes.
To fund your account, please visit our [Testnet Faucet](/get-started/faucet). Details about the account address will be displayed after running the command above. Visit [Register as a Provider](/get-started/providers/registering-a-provider) page to register yourself as a provider on mev-commit network and follow the steps to start sending commitments. If you want to perform a manual setup with detailed steps, please skip to the [manual start mev-commit](/developers/manual-start-mev-commit) section.