Moonbeam RPC endpoint: Difference between revisions
From Chainlink Community Wiki
(Created page with "{| | style="text-align:center; width: 100px; background-color:#f6f6f6;" | center|left|frameless|75px| | style="background-color:#f6f6f6;" | <h2>Arbitrum RPC endpoint details</h2>This is a general guide on deploying an Arbitrum RPC endpoint for your Chainlink Node(s).<br>[https://developer.offchainlabs.com/docs/running_node Official Arbitrum Docs are available here] |} ---- {{:Box-round|title=NOTE|This document assumes base operating system is D...") |
No edit summary |
||
Line 1: | Line 1: | ||
{| | {| | ||
| style="text-align:center; width: 100px; background-color:#f6f6f6;" | [[File: | | style="text-align:center; width: 100px; background-color:#f6f6f6;" | [[File:Moonbeam.png|center|left|frameless|75px|]] | ||
| style="background-color:#f6f6f6;" | <h2> | | style="background-color:#f6f6f6;" | <h2>Moonbeam RPC endpoint details</h2>This is a general guide on deploying an Moonbeam RPC endpoint for your Chainlink Node(s).<br>[https://docs.moonbeam.network/node-operators/networks/run-a-node/docker/ Official Moonbeam Docs are available here] | ||
|} | |} | ||
---- | ---- | ||
{{:Box-round|title=NOTE|This document assumes base operating system is Debian 10}} | {{:Box-round|title=NOTE|This document assumes base operating system is Debian 10}} | ||
<H2> | <H2>Moonbeam RPC endpoints:</H2> | ||
You Chainlink node has two connections methods. Websocket and HTTP. | You Chainlink node has two connections methods. Websocket and HTTP. | ||
As these can vary between networks, the default values for an | As these can vary between networks, the default values for an Moonbeam node are: | ||
'''Websocket''' <code>ws://<your_ip_address>:8548</code> | '''Websocket''' <code>ws://<your_ip_address>:8548</code> | ||
Line 52: | Line 52: | ||
Next, we'll get our | Next, we'll get our Moonbeam node deployed and synced. | ||
<br> | <br> | ||
<br> | <br> | ||
<H2>Deploy | <H2>Deploy Moonbeam RPC Node</H2> | ||
First, we'll need to create a new directory house the container volume. | First, we'll need to create a new directory house the container volume. | ||
<code>mkdir | <code>sudo mkdir /var/lib/moonbeam-data</code> | ||
<code>sudo chown -R <username> /var/lib/moonbeam-data</code> | |||
Now that we have the host directory properly configured for the Moonbeam container's volume, we can deploy the container. | |||
Now that we have the host directory properly configured for the | |||
Revision as of 16:12, 11 April 2022
Moonbeam RPC endpoint detailsThis is a general guide on deploying an Moonbeam RPC endpoint for your Chainlink Node(s).Official Moonbeam Docs are available here |
NOTE
Moonbeam RPC endpoints:
You Chainlink node has two connections methods. Websocket and HTTP.
As these can vary between networks, the default values for an Moonbeam node are:
Websocket ws://<your_ip_address>:8548
HTTPhttp://<your_ip_address>:8547
Install Docker-CE
Install dependencies first.
sudo apt update && sudo apt upgrade && sudo apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
Now, we'll need to get our aptitude sources updated to include the Docker-CE repository.
Now, we'll need to get our aptitude sources updated to include the Docker-CE repository.
These commands must be run as root.
sudo su
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Once we have added the repo and the necessary key, we want to exit the root user.
exit
Once we have added the repo and the necessary key, we want to exit the root user.
exit
NOTE
$
if you're a non-root user. If you're in an elevated (root) TTY session, your shell prompt will display a #
Since we've modified our aptitude sources, we'll need to update them before we can install docker-ce
sudo apt update && sudo apt install docker-ce
Now that we have Docker-CE installed, we'll need to add our user to the docker group.
Now that we have Docker-CE installed, we'll need to add our user to the docker group.
(The prevents us from having to run docker commands with elevated (root) permissions)
sudo usermod -aG docker $USER
Next, we'll get our Moonbeam node deployed and synced.
Deploy Moonbeam RPC Node
First, we'll need to create a new directory house the container volume.
sudo mkdir /var/lib/moonbeam-data
sudo chown -R <username> /var/lib/moonbeam-data
Now that we have the host directory properly configured for the Moonbeam container's volume, we can deploy the container.