.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.
Unwrap for `.env` file placeholder content
Unwrap for `.env` file placeholder content
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 Web3 account should be different from your Inference Node account. 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 [email protected]
- Title your letter “Relay Program Participation”.
- Specify the public wallet address that you registered with.
- Specify the new public wallet address that you will be using for participation.
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.
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_PORTshould 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.
IPFS_SWARM_PORT
Default port is 4001. Change it if necessary.
- Your device’s IP should be static and public.
- The port defined for
IPFS_SWARM_PORTshould be publicly accessible over both TCP and UDP.
IPFS_DATA_PATH
Default path is /data/ipfs.
- Make sure that this folder exists before running the node.
IPFS_MOUNT_PATH
Default path is /data/ipfs_ipns.
- Make sure that this folder exists before running the node.
HOST_PUBLIC_IP
Paste in your IP/your server IP address.
- Your IP should be static and public.