Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Read-Only Node

How to run a Read-Only Node

Read-Only Nodes

Read-Only Nodes are nodes that do not participate in the consensus process. Instead, they connect to full nodes or the network's APIs to retrieve information from the blockchain.

Read-only nodes can be used for various purposes, such as querying transaction history, checking account balances, and monitoring network activity.

They are "read-only" because they cannot write or create new transactions on the blockchain; they can only read and display data.

You must install a read-only node before you can upgrade to a validator node!

Launch cloud instance

You can either run a node on your own hardware or use a cloud provider.

We would recommend choosing one of the big cloud providers, e.g. Amazon AWS.

Node Specifications

We recommend the following or better:

m5.xlarge General Purpose Instance with 4 vCPUs (3.1 GHz), 16GB of memory, up to 10 Gbps network bandwidth, and at least 500 GB of disk space. AWS m6i.2xlarge, c6i.4xlarge can provide better performance.

We would recommend going with Ubuntu Server 22.04 LTS (64-bit).

Network Settings

  • Open port 22 for SSH

  • Open port 5050 for both TCP and UDP traffic.

  • Open port 3000

  • Open port 4000

A custom port can be used with --port flag when run your opera node.

Set up Non-Root User

If there is already a non-root user available, you can skip this step.

  • For (validator)$ USER={USERNAME} write your non-root username.

  • Make sure to paste your public SSH key into the authorized_keys file of the newly created user in order to be able to log in via SSH.

Add the following line to the end of the file:

  • If this doesn't work for you, try sudo passwd nonrootusername

  • Not required in 22.04

Now close the root SSH connection to the machine and log in as your newly created user:

Install required tools

You are still logged in as the new user via SSH.

Now we are going to install Go and Opera.

First, install the required build tools:

Install Go

If that didn't work, you could also try:

Export the required Go paths:

If the final line did not work for you, try (validator)$ . ~/.bash_aliases instead.

Alternatively, install Go via snap:

Validate your Go installation

Install Opera

Validate your Opera installation

Bootstrap the Chain Data

A new node needs an existing copy of the chain before it can follow the network.

Historically that was done by replaying a genesis file — a configuration file describing the network's initial state — from block zero. That is no longer valid on either network. Both mainnet and testnet have since activated consensus upgrades at specific epoch seals, and a replay from an old genesis re-applies those upgrades at the wrong blocks, producing a node the network rejects.

Bootstrap from the published chaindata snapshot for your network instead:

Mainnet:

Current mainnet installs must restore the latest chaindata snapshot instead of replaying from a genesis file:

SHA256: 969fb6acc86f1cfbc29ceed77224c25046f410c6e78726d5078c04a07afd7b31 (tip epoch 7,894 / block 14,709,230)

Alternative: bootstrap from the regenerated genesis

The snapshot above is the fastest path. The regenerated genesis is the verifiable one — its section hashes are compiled into the binary's AllowedOperaGenesis, so opera refuses to start on a tampered file. A snapshot's checksum lives beside the archive on the same bucket, so it can only be trusted as far as that bucket is.

Size

50,791,105,980 bytes (47.3 GiB)

sha256

14021d4f64e395ed705b7adfb5a29c648cfef6ae4f52abe2a2eb563c369fddd8

Exported from

epoch 7,896 / block 14,711,847 — after all five ELEMONT seals

Then start with --genesis ./vitainu-genesis-mainnet-elemont-20260830.g instead of --datadir pointing at an extracted snapshot. Replay takes considerably longer than extracting the snapshot; pick it when you want the binary to verify the source itself.

Which to use: snapshot for speed, genesis when you want end-to-end verification. Both produce the same node — you need one or the other, never both. Once a datadir exists, neither is read again (Genesis is already written).

Testnet:

Current testnet installs must restore the latest chaindata snapshot instead of replaying from a genesis file. Follow Troubleshooting and use:

SHA256: 56fb6ed4ca88f4fe202444180036b1a5920560d1879110716d6ae74befa2409d (tip epoch 6,375 / block 1,585,766)

Start Opera Read-Only Node

First, start the Opera read-only node to interact with it and to create a validator wallet:

Mainnet:

Testnet:

There are different ways to Run your read-only node.

Note that https and ws must not be enabled on a server that stores wallet account.

Starting up your node will look something like this:

The node should start to sync the network data:

Once it's running you should wait until it's synced up to the latest block.

A Read-Only Node can be upgraded into a Validator.

Last updated