# Setting Up a Fuel Node

By [deNodes](https://paragraph.com/@denodes) · 2024-09-11

---

This guide provides an in-depth look at [Fuel](https://fuel.network/), the Rollup OS for Ethereum. We'll introduce you to the [Public Testnet](https://fuel.mirror.xyz/fztu8P_NJz6k7qLXhaGHX3ArctlQpxsUp87pgRpJ4bE) and walk you through the process of running and operating a [Fuel node](https://docs.fuel.network/guides/running-a-node/), complete with useful CLI commands.

[Subscribe](null)

* * *

Fuel, the Rollup OS for Ethereum
--------------------------------

[Fuel](https://x.com/fuel_network) is redefining the Ethereum ecosystem as an operating system purpose-built specifically for rollups. Launched in December 2020, [Fuel V1](https://l2beat.com/scaling/projects/fuelv1) was the first optimistic rollup on Ethereum to achieve [stage 2](https://medium.com/l2beat/introducing-stages-a-framework-to-evaluate-rollups-maturity-d290bb22befe) security status. Now, after three years of development, Fuel is set to launch its mainnet in early Q4 2024, promising to be one of the most powerful systems for rollups on Ethereum.

[![User Avatar](https://storage.googleapis.com/papyrus_images/da147128b52f24e7c46e648fa3ee64eeb6fc43535f858003a4a0fa771809383e.jpg)](https://twitter.com/fuel_network)

[Fuel](https://twitter.com/fuel_network)

[@fuel\_network](https://twitter.com/fuel_network)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/fuel_network/status/1760331323133325424)

Mainnet 2024.  
  
Three years ago, Fuel Labs redefined the rollup landscape with Fuel V1, the first optimistic rollup on Ethereum.  
  
Today, we unveil The Rollup OS – a modular vision for rollup technology that will reshape the future of blockchain development.[

![](https://storage.googleapis.com/papyrus_images/6d260f43aec13498bcc1854a67c048b3c9484a0dd283220defb8241de39b2b4a.jpg)

fuel.mirror.xyz

The Rollup OS for Ethereum
--------------------------

In Dec 2020, Fuel Labs launched Fuel V1, the first optimistic rollup on Ethereum, and the first to achieve stage 2 security status. Over the past three years, the team has continued to evolve the...





](https://t.co/4iWzLB1g4V)

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 3,342](https://twitter.com/fuel_network/status/1760331323133325424)[

9:51 AM • Feb 21, 2024

](https://twitter.com/fuel_network/status/1760331323133325424)

Fuel reimagines the execution architecture from the ground up, creating a solution custom-tailored to the unique challenges of Ethereum rollups. At its core, Fuel's architecture consists of three critical components.

*   [FuelVM](https://docs.fuel.network/docs/intro/what-is-fuel/#fuelvm): The heart of Fuel, from which core features like parallelization, state minimization, and customizability stem. It's designed specifically for blockchain operations, optimizing performance and flexibility.
    
*   [Sway](https://docs.fuel.network/docs/sway/): A domain-specific language that combines the best of Solidity and Rust, enabling developers to effortlessly create high-performance, secure applications.
    
*   [Forc Toolchain](https://docs.fuel.network/docs/forc/): A pure set of developer tools that simplifies the process of building and deploying dapps on Fuel network, enhancing DevEx.
    

_If you're not familiar with the Fuel network yet, we recommend checking out their blog on_ [_Mirror_](https://fuel.mirror.xyz/) _to learn more about it. Follow @_[_Fuel\_Network_](https://x.com/fuel_network) _and @_[_BuildOnFuel_](https://x.com/BuildOnFuel) _on X to stay updated._

Fuel Sepolia Public Testnet
---------------------------

The [Sepolia Public Testnet](https://x.com/fuel_network/status/1796213847025397820) was launched some time ago, intended to be a long-lasting and mainnet-compatible environment for users and builders who want to test and deploy on the Fuel blockchain.

[https://fuel.mirror.xyz/fztu8P\_NJz6k7qLXhaGHX3ArctlQpxsUp87pgRpJ4bE](https://fuel.mirror.xyz/fztu8P_NJz6k7qLXhaGHX3ArctlQpxsUp87pgRpJ4bE)

**Getting Started with a Fuel Node**
------------------------------------

By running your own [Fuel node](https://docs.fuel.network/guides/running-a-node/), you can execute a higher number of queries without rate limits and gain full control over your interactions on the Fuel blockchain.

### Sepolia API Key

Before running a node, you'll need a Sepolia API key. You can obtain one from any RPC provider such as [Alchemy](https://www.alchemy.com/) or [Infura](https://www.infura.io/).

![](https://storage.googleapis.com/papyrus_images/e40cc2343a0581ca64efce95668c727d44bf5cee03486ce085976b12d92e98d7.png)

> Please ensure you're using the correct endpoints for the Sepolia network. Otherwise, your node may fail to start.

### **Prerequisite**

Ensure your machine meets the recommended specifications outlined below (minimal and recommended):

*   **CPU**: 2 Cores / 8 Cores
    
*   **Memory**: 4 GB RAM / 16 GB RAM
    
*   **Disk**: 30 GB SSD / 200 GB SSD
    
*   **Machine**: Ubuntu 22.04
    

### Script Execution

Run the following command to install Fuel:

    wget -O fuel.sh https://api.denodes.xyz/fuel.sh && bash fuel.sh
    

When prompted, answer `y` to proceed with the installation.

[![]({{DOMAIN}}/editor/youtube/play.png)](https://www.youtube.com/watch?v=AtUAO13Dzrs)

During the installation, you'll generate your node key, so please ensure you save it securely. You'll also need to add an API key for the Sepolia network from an RPC provider such as [Alchemy](https://www.alchemy.com/) or [Infura](https://www.infura.io/).

Once the setup process is complete, you'll see your node logs, which might resemble the screen below:

![](https://storage.googleapis.com/papyrus_images/42ff5723c092dca03af500da438ee3665cc46d728ee94c071f22170d5db7fe0d.png)

### Congratulations!

Your Fuel node is now set up and running smoothly.

Connecting Your Node to the Fuel Wallet
---------------------------------------

To connect your Fuel node to your [Fuel wallet](https://wallet.fuel.network/docs/install), you'll need to configure the wallet to use your node's RPC endpoint. This allows your wallet to interact directly with your node, enhancing security and reducing reliance on third-party services.

Here's a general process to connect your node to your Fuel wallet:

*   Open your Fuel wallet settings
    
*   Look for a `Add a Network` configuration option
    
*   Enter your node's RPC endpoint: `http://YOUR_NODE_IP:4000/v1/graphql`
    
*   Then, save the settings
    

![](https://storage.googleapis.com/papyrus_images/7084dece849b9bc699000f887fc9188d4ebdad69f12be03cfe5e2210cde56467.png)

> If you need help setting up a Fuel Wallet, please refer to our guide [here](https://mirror.xyz/denodes.eth/sjTTf_1tP516bpFPYzmIZqAlG6ZnLOiXv4YWqVNeMSU).

Recovering Your Node Key
------------------------

To recover your node on a different machine, simply run the installation script again.

    wget -O fuel.sh https://api.denodes.xyz/fuel.sh && bash fuel.sh
    

When prompted for a key during setup, you will need to generate a new one. However, after generating the new key, **you should use your old key instead**. This ensures continuity of your node's identity across different machines.

* * *

Helpful Commands
----------------

*   View your node details (version, height, health, etc.):
    

    curl -X POST http://0.0.0.0:4000/v1/graphql \
      -H "Content-Type: application/json" \
      -d '{"query": "{ chainInfo: chain { latestBlock { id height } chainName: name } systemHealth: health nodeDetails: nodeInfo { peers { peerId: id } version: nodeVersion } }"}'
    

*   Restart your Fuel node:
    

*   View your node logs:
    

    journalctl -fu fueld -o cat
    

*   View the `fueld.service` file:
    

    cat /etc/systemd/system/fueld.service
    

*   Check node health:
    

    curl -X POST http://0.0.0.0:4000/v1/graphql \
    -H "Content-Type: application/json" \
    -d '{"query": "{ health }"}'
    

*   Check node height:
    

    curl -X POST http://0.0.0.0:4000/v1/graphql \
      -H "Content-Type: application/json" \
      -d '{"query": "{ chain { latestBlock { id height } } }"}'
    

*   Remove your node:
    

    systemctl stop fueld
    systemctl disable fueld
    rm /etc/systemd/system/fueld.service
    rm -rf $HOME/.fuel
    rm -rf $HOME/.fuelup
    rm -rf $HOME/.forc
    rm $HOME/fuel.sh
    

* * *

**Fuel's FAQ**
--------------

### **What is Fuel Network?**

[Fuel](https://docs.fuel.network/) is an operating system purpose built for Ethereum Rollups. Fuel allows rollups to solve for PSI (parallelization, state minimized execution, interoperability) without making any sacrifices.

### What is the purpose of the Fuel Sepolia Public Testnet?

The Fuel Public Testnet on Sepolia provides a stable, mainnet-compatible environment for users and developers to test and deploy on the Fuel blockchain.

### Benefits of Running a Fuel Node

By operating a node, you gain direct, trustless access to the Fuel network, eliminating reliance on third-party services.

### What is a Sepolia API key and why do I need it?

It's necessary because it allows your Fuel node to connect to the Sepolia testnet, an Ethereum testnet used for testing and development purposes.

### Is running a node incentivized?

No, there haven't been any incentives announced for running a Fuel node.

### **How can I join the Fuel community?**

To get involved with the Fuel community, follow them on [Twitter](https://x.com/fuel_network), chat with other members in their [Discord](https://discord.com/invite/fuel-network) server, or explore their code on [GitHub](https://github.com/FuelLabs).

* * *

[Subscribe](null)

---

*Originally published on [deNodes](https://paragraph.com/@denodes/setting-up-a-fuel-node)*
