Hey in this guide ill help you to run fuel node.
This guide is for more advanced users if you need full guide go to my medium (hhttps://medium.com/@OveRbafer/fuel-mainnet-node-guide-29dee6c0f619)
Let’s begin
1- Prepare your VPS and ETH mainnet RPC use Alchemy or infura.
2-Install essential components:
apt-get update && apt-get upgrade && apt-get install curl git -y
3-Install fuel client
curl https://install.fuel.network | sh (Write Y to confirm)
4-Refresh your setup
source /root/.bashrc
5-generate pv key
fuel-core-keygen new --key-type peering
6-download fuel github repo
git clone https://github.com/FuelLabs/chain-configuration.git
7- Once it’s node ensure your environment’s open files limit is increased:
ulimit -S -n 32768
8-Create node as a service
cat <<EOF | sudo tee /etc/systemd/system/fuel.service > /dev/null
[Unit]
Description=Fuel Core Node Service
After=network.target
[Service]
ExecStart=/root/.fuelup/bin/fuel-core run \
--enable-relayer \
--service-name fuel-mainnet-node \
--keypair YOUR PV KEY \
--relayer YOUR ALCHEMY ETH MAINNET RPC \
--ip=0.0.0.0 --port 4000 --peering-port 30333 \
--db-path ~/.fuel-mainnet \
--snapshot ./chain-configuration/ignition/ \
--utxo-validation --poa-instant false --enable-p2p \
--bootstrap-nodes /dnsaddr/mainnet.fuel.network \
--sync-header-batch-size 50 \
--relayer-v2-listening-contracts=0xAEB0c00D0125A8a788956ade4f4F12Ead9f65DDf \
--relayer-da-deploy-height=20620434 \
--relayer-log-page-size=100 \
--sync-block-stream-buffer-size 25 \
--max-peers-connected=30 \
--connection-idle-timeout=60 \
--relayer-eth-sync-log-freq-s=30
Restart=always
User=root
WorkingDirectory=/root
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
EOF
9-Start your node:
sudo systemctl daemon-reload
sudo systemctl enable fuel.service
sudo systemctl start fuel.service
10-check logs
journalctl -fu fuel
That’s it don’t forget to like that article )