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
Update your system packages:
sudo apt update && sudo apt upgrade -y
Install essential dependencies:.
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:
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.