Fuel Final Testnet Node Deployment Tutorial

Satea
7 min readJun 17, 2024

--

Disclaimer: This article is for educational purposes only and does not constitute financial advice. This article does not indicate any position of Satea. web3, blockchain technology, cryptocurrencies, etc. are potentially risky, so please be sure to exercise caution and independent research before engaging in any related products, services or investments.

Fuel, the Ethereum scaling solution that raised over $80 million in funding, is launching an incentivized testnet, according to its official blog. In addition, the node running feature, which was previously turned off in the last phase, has been reopened, giving users more options to interact.

Fuel is an operating system built for Ethereum Rollups. Fuel allows rollups to solve for PSI (parallelization, state minimized execution, interoperability) with minimal compromises.

Node Deployment Tutorial

This article takes the MacOS system interface as an example. Operations on Windows and Linux systems are similar.

Install the Fuel Tool Chain by entering the following command in the terminal

curl https://install.fuel.network | sh

Obtain a Sepolia (Ethernet Testnet) API Key

Fuel recommends that users sign up for an account with Infura or Alchemy to get a free Sepolia API key, which they can then use to sign up for an account on a website of their choice.

Infura: https://www.infura.io/

Alchemy: https://www.alchemy.com/

Obtaining an Infura API Key

Step 1: Register with Infura

On the Infura website, click Get Started or Sign In at the top right corner to register your account.

Step 2: Create an API Key

After registration, the platform will automatically generate an API Key for you (NAME: My First Key). Click My First Key to enter the edit page.

Step 3: Select the Ethereum Mainnet

In the Ethereum section, check the MAINNET, GLOERLI, and SEPOLIA checkboxes and click ‘SAVE CHANHES’ to save.

Step 4: Obtain an API Key

Click on Active Endpoints and you will see the URL under Ethereum Sepolia. Copy and save it.

Obtaining an Alchemy API Key

Step 1: Register with Alchemy

Go to the Alchemy website and complete the registration.

Step 2: Create an App

After registration, go to the Dashboard — Apps, and click the “Create new app” button in the upper right corner.

Step 3: Obtain an API Key

Click the “API key” button in the upper right corner and copy the HTTPS URL to save it.

Download the Fuel repository and copy the address directory

Repository download link:

https://github.com/FuelLabs/chain-configuration/tree/master

Download the “ignition” file and copy the file address. You can see the location of the file in the “Get info” section of the file. Copy and save it.

Generate ID and secret

Enter the following command in the Terminal.

fuel-core-keygen new --key-type peering

It will generate the peer_id and private key (secret) for you.

(The boxed part is the private key, the image is from Fuel’s official blog)

Save the private key properly. Note that this key will disappear automatically after you enter other commands, so be sure to save it first.

Run the node

The following snippet is the command to run the node, but some of it needs to be customized so that the node can be run properly.

fuel-core run \
--service-name=fuel-sepolia-testnet-node \
--keypair {P2P_PRIVATE_KEY} \
--relayer {ETHEREUM_RPC_ENDPOINT} \
--ip=0.0.0.0 --port=4000 --peering-port=30333 \
--db-path=~/.fuel-sepolia-testnet \
--snapshot ./your/path/to/chain_config_folder \
--utxo-validation --poa-instant false --enable-p2p \
--reserved-nodes /dns4/p2p-testnet.fuel.network/tcp/30333/p2p/16Uiu2HAmDxoChB7AheKNvCVpD4PHJwuDGn8rifMBEHmEynGHvHrf \
--sync-header-batch-size 100 \
--enable-relayer \
--relayer-v2-listening-contracts=0x01855B78C1f8868DE70e84507ec735983bf262dA \
--relayer-da-deploy-height=5827607 \
--relayer-log-page-size=500 \
--sync-block-stream-buffer-size 30
  • After keypair, fill in the private key you obtained from the above steps.
  • After relayer, fill in the HTTPS URL of the RPC API you obtained from the above steps.
  • After ip, fill in your local IP address. You can check the ip with this command fuel-core run --help. As shown below, the boxed section after ip is your IP address.
  • For the content needed after “db-path”, you can also find with the command fuel-core run --help, as shown below.
  • After “snapshot”, fill in the repository’s address.

This is the custom content needed to run the node. An example of the complete modified command is shown below.

Run the customized command, and the node will run successfully. Its successful running status is shown below.

Use the node in your Fuel Wallet.

Once the node is running successfully, you can use your node within your Fuel Wallet.

Download Fuel Wallet: https://wallet.fuel.network/docs/install/

After registering, click the button to add a network.

Fill in your node address under this URL: http://0.0.0.0:4000/v1/graphql

The ‘0.0.0.0’ is your node IP, you need to replace it with the correct one. Check the above step to get your node IP.

After filling in the node address, the wallet will automatically recognize the node and click “+ ADD” to add it. Then, you can use your own node successfully.

Above is the successful completion of the Fuel node deploying.

Fuel User Guide

Fuel Wallet: https://wallet.fuel.network/docs/install/

Bridge token

Collect Sepolia ETH on the official faucet: https://faucetlink.to/sepolia

Fuel Bridge: https://app.fuel.network/bridge

Connect the EVM wallet and the Fuel wallet, and bridge ETH from Sepolia to the Fuel testnet.

Trading with Bako Safe Wallet (Multisig)

Go to Bako Safe's official website: https://safe.bako.global

Click “Create vault”.

On the Vault page, click Fauet to get the test token.

Go back to the home page and click “Creat transaction”.

Click “Sign” to approve the transaction.

Deploy a Contract on Sway Playground

Go to the official website: https://sway-playground.org

Click “Compile” and wait for the code to finish running. Once complete, click “Deploy” to connect to the Fuel wallet. The contract will be deployed automatically. Finally, click “Confirm”.

More types of contracts can be deployed by clicking Example in the upper right corner.

Check the Fuel website for more projects in the ecosystem: https://app.fuel.network/ecosystem

Reference:

About Satea

Satea is an industry-leading DePIN and decentralized public chain node aggregator. We assist customers in completing the official application for validator nodes, and facilitate test token staking and server hosting operations with a single click, thereby lowering the barrier to participation in Web3. Satea is especially suitable for users with limited hardware resources, technical skills, or those who wish to deploy nodes quickly and in large volumes. Satea has now launched a one-click deployment service for GaiaNet (app.satea.io). A limited number of slots are available.

Follow us

Stay connected with Satea to get the latest updates:

--

--