๐Ÿ’™Waku

Waku Node Installation Guide

System Requirements

Before you begin the installation process, ensure that your server meets the following minimum system requirements:

Requirement

Minimum

Recommended

Processor (CPU)

2 CPU cores

4 CPU cores

Memory (RAM)

2 GB RAM

4 GB RAM

Storage

40 GB SSD

100 GB SSD or more

Internet Speed

1 Mbps (minimum)

Stable and reliable

Operating System

Ubuntu 20.04 or later,

Debian 10 or later,

Other Linux distributions may work but are not officially supported.

Firewall

Allow incoming connections on port 60000 (TCP)

Step 1: Prepare the Server

  1. Choose a Server: Select a server that meets the above hardware and network requirements.

  2. Update the System:

    sudo apt update && sudo apt upgrade -y
  3. Install Necessary Packages:

    sudo apt-get install build-essential git libpq5 jq -y

Step 2: Install Docker and Docker Compose

  1. Install Docker:

    sudo apt install docker.io -y
  2. Install Docker Compose:

    sudo curl -L "https://github.com/docker/compose/releases/download/v2.24.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    sudo chmod +x /usr/local/bin/docker-compose

Step 3: Clone the Waku Repository

  1. Clone the Waku Repository:

    git clone https://github.com/darthlyrex/Waku-Node.git
    cd Waku-Node

Step 4: Configure Settings

  1. Copy the Configuration File:

    cp .env.example .env
  2. Edit the Configuration File: Open the .env file using a text editor (e.g., nano):

    nano .env
  3. Set RPC URL and Private Key:

    • Replace RPC_URL with your RPC URL (for example, from Infura).

    • Ensure you have your MetaMask wallet's private key, which should contain some test cryptocurrency (e.g., SiPoli).

  4. Save Changes and Exit the Editor (in nano, use Ctrl + X, then Y to save).

Step 5: Register Your Node in the Waku Network

  1. Run the Registration Script: Execute the command to register your node:

    ./scripts/register.sh
  2. Check Logs: You can check the logs to ensure your node is running correctly:

    docker logs <container_name>

After completing all steps, your Waku node should be successfully installed and registered in the network.

Last updated