Fantom
Set up your Fantom Mainnet or Testnet Opera node.
Prerequisites
- Setup your Axelar validator
- Minimum hardware requirements: 4 vCPU+, 16GB RAM, 1.5TB+ free storage space.
- MacOS or Ubuntu 18.04+
- Build-essential packages
- Golang
- Official Documentation
Install required dependencies
In order to build the go-opera
, you first need to install all of the required dependencies.
1. Update and install build-essential
2. Install golang
Install the latest version of golang.
Install Go-Opera
1. Checkout and build go-opera
Please make sure you checkout the latest release tag.
2. Download the genesis file
3. Create systemd service file
After installation of go-opera
, we are now ready to start the process but in order to ensure it is running in the background and auto-restarts in case of a server failure, we will setup a service file with systemd.
Note: In the service file below you need to replace $USER
and path to opera
, depending on your system configuration.
If you would like to run a node on the Testnet instead, you need to replace --genesis /root/go-opera/build/testnet-6226-pruned-mpt.g
in the configuration above.
4. Enable and start the fantom
service
If everything was set-up correctly, your Fantom node should now be starting the process of synchronization. This will take several hours, depending on your hardware. To check the status of the running service or to follow the logs, you can use:
Your node will now start to synchronize with the network. It will take several hours before the node is fully synced.
Test your Fantom RPC connection
Once your node is fully synced, you can run a cURL request to see the status of your node:
If the node is successfully synced, the output from above will print {"jsonrpc":"2.0","id":1,"result":false}
EVM RPC endpoint URL
In order for Axelar Network to connect to your Fantom node, your rpc_addr
should be exposed in this format:
Example:
http://192.168.192.168:18545