⚒️Run Sequencer Validator

Fuel Sequencer Node or Validator

Hardware Requirements

Node Type
CPU
RAM
Storage

Mainnet

8

16 GB

1 TB (SSD or NVME)

Port Configuration

By default, the following ports are required for Fuel to function properly:

  • Sequencer: 26656, 26657, 9090, 1317

  • Sidecar: 8080

  • Ethereum: 8545, 8546

These modules exchange data with each other, so if you change the ports, you need to update the settings in other places:

🔹 If you change the ports for the Sequencer → update the launch settings in the Sidecar configuration. 🔹 If you change the port for the Sidecar → update the settings in the Sequencer configuration. 🔹 If you change the Ethereum ports → update the launch parameters for the Sidecar.

Important: If you do not make these changes, the modules will not be able to connect to each other.


Server preparation

  1. Update your system packages:

sudo apt update && sudo apt upgrade -y
  1. Install essential dependencies:.

  1. Install Go 1.23.1 (required for building Stargaze):


Run an Ethereum Full Node

For optimal Sequencer performance, you need to run your own Ethereum Mainnet node. Using third-party Ethereum services is not recommended.

Ethereum Node Configuration:

Recommended Guide for Setting Up an Ethereum Node:


Download and Set Up the Sequencer

Now, download the binary and the initial configuration file for the Sequencer.

1. Download the Sequencer Binary:

Check the binary version:

Expected output:

2. Initialize Node Directory and Set Name:

3. Download Configuration Files:

Download the genesis.json file to the configuration directory:

Download the addrbook.json file to the configuration directory:

4. Configure app.toml

Open the app.toml file in ~/.fuelsequencer/config/app.toml and update the following parameters:

Set the minimum gas price:

In the [sidecar] section, ensure that:

5. Configure config.toml

Open the config.toml file and apply the following settings:

In the [p2p] section, set the persistent peers:

In the [mempool] section, set:

6. Configure Pruning

To optimize data storage, set the following pruning parameters:

7. Run the Sequencer Using systemd

To run the Sequencer as a background service, use systemd.

Create a service file for the Sequencer:

Reload systemd and start the service:

8. Run Sidecar

To run Sidecar as a background service, configure it with systemd.

Create a service file for Sidecar:

Reload systemd and start the service:

Now your Sequencer and Sidecar are set up and running in the background! 🚀

Launching a Fuel Validator

1. Creating a Wallet

To run a validator, you will need a Sequencer address. You can create a new wallet using the following command:

Or restore it from a mnemonic phrase:

After executing the command, you will see an address like fuelsequencer1l7qk9umswg65av0zygyymgx5yg0fx4g0dpp2tl and a mnemonic phrase. Save it in a secure place!

Generating an Ethereum-Compatible Address

To obtain an Ethereum-compatible address, run the following command:

You will get an output like this:

Add 0x before bytes, and you will get the required address:

2. Funding Your Account

To operate a validator, you need to fund your account with FUEL tokens and ETH for gas fees.

Important Addresses:

  • FUEL Token: 0x675B68AA4d9c2d3BB3F0397048e62E6B7192079c

  • Sequencer Interface (Bridge): 0xca0c6B264f0F9958Ec186eb2EAa208966187D866

Approving Tokens

Before funding your wallet, you need to allow the Fuel Token Contract to execute transactions. To do this:

  1. Open the Etherscan contract for the FUEL token.

  2. Use the approve function (0x095ea7b3).

  3. In the Spender field, enter:

  4. In the Value (uint256) field, specify the number of tokens, adding 9 extra zeros.

  5. For unlimited approval, enter:

Bridging Tokens (Transferring to Sequencer)

  1. Open the Sequencer Interface (Bridge) on Etherscan.

  2. Connect your Ethereum wallet (click Connect to Web3).

  3. Use the depositFor function (0x36efd6f).

  4. In the Amount (uint256) field, enter the number of tokens, adding 9 extra zeros.

  5. In the Recipient address field, enter your Ethereum-compatible address (e.g., 0xFF8162F37072354EB1E222084DA0D4221E93550F).

  6. Click Write, confirm the transaction.

The transaction will take approximately 20 minutes.

Checking Your Balance

Once the transfer is complete, check your balance in the block explorer by entering your Sequencer address.

3. Creating a Validator

To create a validator, you need at least 1 FUEL plus additional tokens to cover fees.

Creating the Validator Configuration

Create a file called validator.json and add the following content:

Getting Your Public Key

Run the following command:

Copy the key and paste it into the pubkey field in validator.json.

Running the Validator Creation Command

Execute the following command to create your validator:

4. Verifying the Setup

Once the validator is launched:

  • The Sequencer should show the block synchronization process.

  • The Sidecar will display event processing requests.

🎉 Congratulations! Your Fuel validator is now successfully running.

Delete node

  1. Stop the Stargaze service:

  1. Remove systemd service:

  1. Remove the Stargaze node and data:

Last updated