Skip to main content
Before the Relay can be launched, the .env file has to be set up first. It is located in the folder cloned from Fortytwo Relay Setup .
If you haven’t set it up during the ‘Setting Up the Fortytwo Relay Node’ stage, copy and rename the .env.example reference file.

Environment Parameters

FT_ACCOUNT_PRIVATE_KEY

Paste in the private key of an EVM-compatible Web3 account. You can get it from any Web3 wallet that supports EVM networks.
  • Your wallet should be different from your Inference Node wallet. This applies if you participate in both Inference and Relay activities at the same time.
  • Keep your Private Key secure. Never share it publicly or commit it to version control systems.
Early participation note:If the private key you wish to use is not tied to the public wallet address you applied with:EitherA. Contact us at support@fortytwo.network
  1. Title your letter “Relay Program Participation”.
  2. Specify the public wallet address that you registered with.
  3. Specify the new public wallet address that you will be using for participation.
orB. Contact our Discord support agent MJ with a message containing the information listed above.

FT_NODE_LISTENER_PORT

Default port is 42042. Change it if necessary.
  • Your device’s IP should be static and public.
  • The port defined for FT_NODE_LISTENER_PORT should be publicly accessible over both TCP and UDP.
  • If another process in the system is using this port, for example, an Inference Node is running on the same machine, then change this port for the Relay Node.
  • It must be different from the FT_RPC_SERVICE_PORT.
Ports Availablity Verification’ can help you check if the Swarm will be able to see your node.

FT_RPC_SERVICE_PORT

Default port is 42420. Change it if necessary.
  • If another process in the system is using this port, for example, an Inference Node is running on the same machine, then change this port for the Relay Node.
  • It must be different from the FT_NODE_LISTENER_PORT.