Moonbeam
Set up your Moonbeam Mainnet or Testnet (Moonbase-Alpha) node.
Prerequisites
- Setup your Axelar validator
- Minimum hardware requirements: 8+ cores CPU , 16GB+ RAM, 500GB+ free storage space.
- MacOS or Ubuntu 18.04+
- Official Documentation
Install Moonbeam / Moonbase Alpha
1. Download compiled binary
Download the latest release binary from PureState. In this tutorial, we are using v0.23.0
2. Create a service account and copy the binary
3. Create the systemd service file
After the installation of moonbeam
, we are now ready to start the node, but to ensure it is running in the background and auto-restarts in case of a server failure, we will set up a service file using systemd.
Note: In the service file below you need to replace "YOUR-NODE-NAME"
and replace 50% RAM in MB
for 50% of the actual RAM your server has (Example: --db-cache 16000
if your server has 32GB RAM).
If you are connecting to Testnet instead (Moonbase Alpha), you will also need to change the path to /var/lib/alphanet-data/
and add --chain alphanet
.
4. Enable and start the moonbeam
service
If everything was set-up correctly, your Moonbeam 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, use:
Test your Moonbeam RPC connection
Once your Moonbeam
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","result":false,"id":1}
EVM RPC endpoint URL
Axelar Network will be connecting to the EVM compatible Moonbeam
, so your rpc_addr
should be exposed in this format:
Example:
http://192.168.192.168:9933