Instructions on Running a Local Node

Hi

I need a bit of guidance:

based on the docs Running a Testnet Node | Fuel Docs

There is mention of generating your P2P `key pairing by running

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

however there is no mention or instructions where to use the key in the processes of running a node.

Future down there is instructions that "To run a local node with persistence, you must configure a chainConfig.json file.

however its not clear what one needs to configure in this file at least maybe the minimum.

I tried a few things and I get this error:
Error: an error occurred while loading the chain config file


/home/fuel_node/chainConfig.json

Caused by:
    missing field `transaction_parameters` at line 297 column 1
dev@node:~/fuel_node$ fuelup check
[00:00:00] [########################################] 4.84 KiB/4.84 KiB (0s) - Download complete                                                                                         latest-x86_64-unknown-linux-gnu
  forc - Up to date : 0.49.2
  fuel-core - Up to date : 0.22.1
  fuel-core-keygen - Up to date : 0.22.1
[00:00:00] [########################################] 6.84 KiB/6.84 KiB (0s) - Download complete                                                                                         beta-4-x86_64-unknown-linux-gnu
  forc - Up to date : 0.46.1
  fuel-core - Up to date : 0.20.5
  fuel-core-keygen - Error getting version string
fuelup - Up to date : 0.21.1
dev@node:~/fuel_node$ fuelup show
Default host: x86_64-unknown-linux-gnu
fuelup home: /home/dev/.fuelup

installed toolchains
--------------------
beta-4-x86_64-unknown-linux-gnu
latest-x86_64-unknown-linux-gnu
my_toolchain (default)

active toolchain
----------------
my_toolchain (default)
  forc : 0.46.1
    - forc-client
      - forc-deploy : 0.46.1
      - forc-run : 0.46.1
    - forc-crypto : not found
    - forc-doc : 0.46.1
    - forc-explore : 0.28.1
    - forc-fmt : 0.46.1
    - forc-lsp : 0.46.1
    - forc-tx : 0.46.1
    - forc-wallet : 0.3.0
  fuel-core : 0.20.8
  fuel-core-keygen : Error getting version string

fuels versions
--------------
forc : 0.45
forc-wallet : 0.45
dev@node:~/fuel_node$

Hello @crypt0mate ,
you use the secret of the keypair in the third line of the command below

To run a beta-5 testnet node you can simply copy the chainConfig.json provided in the tutorial.
I believe the reason why you cannot run a node is because your active toolchain is out of date. To have a fuel-core version compatible with beta-5 please use and install the latest toolchain.

1 Like

Thanks @matt all good running now :clap:

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.