R5 Network
WebsiteR5 LabsGitHub
  • Getting Started
    • Hello & Welcome!
  • About R5
    • Overview
    • R5 Components
    • Consensus Mechanism
    • zkNet (Privacy)
  • R5 Coin
  • R5 Tokenomics
  • Tutorials & Guides
    • Connect & Use R5
      • R5 Desktop Wallet
      • MetaMask
      • Rabby Wallet
      • Coinbase Wallet
    • zkNet Web Wallet
    • R5 Desktop Wallet
      • Interface Overview
      • Send a Transaction
      • Receive a Transaction
      • Backup Your Wallet
      • Retrieve Your Private Key
    • How To: Deploy a Node
    • How To: Mine R5
    • How To: GPU Mine R5
    • How To: Build R5 From Source
    • How To: Connect Local Nodes
  • For Developers
    • R5 SDK
      • R5 Relayer
      • R5 Console
      • JS Console
      • CLI Wallet
      • SCdev
      • SSL Proxy
    • Hardware Requirements
    • R5 Testnet
    • R5 Devnet
    • Local Networks
    • JSON-RPC API
      • admin
      • debug
      • ethash
      • miner
      • net
      • r5 (eth)
      • rpc
      • txpool
      • web3
    • Indexer API
    • zkNet API
    • Node Configuration
    • Ethash-R5
    • Smart Contracts
    • Wrapped R5 (Native)
    • Tokens & NFTs
  • Bug Bounty Program
  • Resources
    • Website
    • R5 Labs
    • R5 Labs GitHub
Powered by GitBook
On this page
  • Before You Start
  • 1. Download the Latest Stable Release
  • 2. Extract Files
  • 3. Create an Initialisation File (Optional)
  • 4. Start The Node
  1. Tutorials & Guides

How To: Deploy a Node

PreviousRetrieve Your Private KeyNextHow To: Mine R5

Last updated 1 month ago

Difficulty Level: Intermediate


In this tutorial we will be deploying a Full Mainnet node using the R5 Relayer.

Before You Start

Before you deploy your node, you will need to check if your hardware complies with the .

1. Download the Latest Stable Release

Download the latest stable release of the R5 Core Client via the canonical GitHub repository. If you are on a desktop environment (such as Windows, macOS, or Ubuntu Desktop), you can navigate to the repository using your browser and download the file according to your OS.

  • Canonical Releases URL:

If you are using a CLI-bases OS, such as Ubuntu Server for example, you can download the latest file using wget:

wget https://github.com/r5-labs/r5-core/releases/<path_to_release_file>

2. Extract Files

Once you have downloaded the latest release file, you will need to extract them into a folder where you want to store the node and blockchain files. All canonical releases are compressed in the .zip format to promote compatibility and ease-of-use, and you can extract the files using most compression software (such as 7zip, WinRAR, etc).

Your node folder structure should look something like like:

/bin/*           # Core binary files.
/genesis/*       # Genesis files for R5 networks.
/config/*        # Configuration files for R5 networks.
/r5              # R5 Relayer. Main entry-point binary.

3. Create an Initialisation File (Optional)

If you want to personalise your node configurations, you may create an initialisation file. To proceed, you can open your preferred text editor (Notepad, Nano, VIN, etc) and copy-paste the code below into your new file:

[R5 Node Relayer]
network = mainnet
rpc = default
mode = default
miner = default
miner_coinbase = default
miner_threads = default
genesis = default
config = default

After modifying the parameters as desired, you can save the file inside your node directory with the name node.ini.

4. Start The Node

You can now start the node by double-clicking the r5.exe executable if you are on Windows, or start it via terminal using:

./r5

Your node console will initialise, connect to the respective bootnodes, and sync with the rest of the blockchain network.

Note that synchronisation may take a long time depending on the current size of the blockchain.

You can then personalise the file to your desired configuration. For more information about the available parameters, you can check our .

minimum hardware requirements
https://github.com/r5-labs/r5-core/releases
specific guide for the Relayer configuration file