Running RPC Node
Last updated
Was this helpful?
Last updated
Was this helpful?
RPC nodes do not directly participate in block production like consensus nodes. Instead, they are responsible for verifying transactions and facilitating communication between different nodes and between nodes and clients, promoting transaction verification and on-chain information retrieval. There are two ways to run your own RPC node:
Start it through the
Run directly.
Check the latest version of cess-nodeadm Latest version of cess-nodeadm:
⚠️ Replace all occurrences of x.x.x
in the following text with the latest version number. For example, if the latest version is v0.5.5
, then replace x.x.x
with 0.5.5
.
Check the installed version of cess-nodeadm Enter cess version
in the console to check if the nodeadm version
is the latest. If nodeadm is the latest version, you can skip step 3. If not, proceed to step 3 to install. If you do not see nodeadm version, it means cess-nodeadm is not installed, and you need to proceed to step 3 to install.
Download and install the cess-nodeadm
Stop the RPC node service Enter the command: cess stop chain
to stop the running RPC node service.
Define script configuration parameters
Start the RPC node
Check if the RPC node is synchronizing blocks normally
Taking v0.7.5 as the latest version, download and unzip the cess-node:
Compile cess-node
Enter the cess-node directory:
Start the RPC service
If the node is printing block synchronization logs, it means it's running successfully.
⚠️ You need to keep cess-node running at all times; it is recommended to use screen
or tmux
commands to run cess-node in the background.
Install the Rust environment Refer to
Get the latest release version of cess-node