Set up a Node

1. Prerequisites

1.1 System Requirements

  • OS: Ubuntu 20.04+ (recommended)

  • CPU: 4+ cores

  • RAM: 16GB minimum

  • Storage: SSD with 250GB+ free space

  • Network: Stable internet with static IP recommended

1.2 Required Tools and Dependencies

Ensure the following tools are installed:

  • git

  • curl

  • unzip

  • chmod

  • Rust (via rustup)

2. Environment Preparation

Step 1: Run with Sudo Privileges

Start a terminal with sufficient permissions:

sudo su

Step 2: Clone the Repository

Clone the ReZor blockchain node setup repo: https://github.com/rezorhub/blockchain-node-setup.git

Step 3: Unzip and Set Permissions

Give permissions Chmod +x ./binart names

Step 4: Run Validator Command

./rezor --base-path ../enter_node_database_name --chain ./customSpecRaw.json --port 30333 --rpc-port 9944 --no-telemetry --validator --rpc-methods Unsafe --name enter_node_name --unsafe-force-node-key-generation --rpc-external --discover-local --rpc-max-connections 10000 --bootnodes /ip4/52.208.165.63/tcp/30333/p2p/12D3KooWALWNMEfdm3C8YCrgubXxbHGXSMnhrj7CphzcXUfVH8ng --rpc-cors=all --pruning=archive

Run fullnodeCommand

./rezor --base-path ../enter_node_database_name --chain ./customSpecRaw.json --port 30333 --rpc-port 9944 --no-telemetry --rpc-methods Unsafe --name enter_node_name --unsafe-force-node-key-generation --rpc-external --discover-local --rpc-max-connections 10000 --bootnodes /ip4/52.208.165.63/tcp/30333/p2p/12D3KooWALWNMEfdm3C8YCrgubXxbHGXSMnhrj7CphzcXUfVH8

3. Post-Installation Verification

1. Validate Genesis File

Ensure the customSpecRaw.json file is correctly placed and formatted.

cat customSpecRaw.json | jq .

2. Review Node Information

view output logs if run directly in the terminal.

Last updated