Installation

Option 1: Running nwaku Binary

  1. Install Prerequisites: Ensure you have the necessary developer tools installed, including a C compiler, GNU Make, Bash, and Git. On a typical Ubuntu or Debian system, you can install these with:

    sudo apt-get install build-essential git libpq5 jq
  2. Clone the Repository:

    git clone --recurse-submodules https://github.com/waku-org/nwaku
    cd nwaku
  3. Build the Binary:

    make wakunode2
  4. Run the Node:

    ./build/wakunode2 --dns-discovery:true --dns-discovery-url:enrtree://AIRVQ5DDA4FFWLRBCHJWUWOO6X6S4ZTZ5B667LQ6AJU6PEYDLRD5O@sandbox.waku.nodes.status.im --discv5-discovery --nat=extip:[yourpublicip]

Option 2: Running nwaku in a Docker Container

  1. Install Docker: Ensure Docker is installed on your system.

  2. Run the Docker Container:

    docker run -i -t -p 60000:60000 -p 9000:9000/udp wakuorg/nwaku:v0.20.0 --dns-discovery:true --dns-discovery-url:enrtree://AIRVQ5DDA4FFWLRBCHJWUWOO6X6S4ZTZ5B667LQ6AJU6PEYDLRD5O@sandbox.waku.nodes.status.im --discv5-discovery --nat:extip:[yourpublicip]

Option 3: Running nwaku with Docker Compose

  1. Clone the nwaku-compose Repository:

    git clone https://github.com/waku-org/nwaku-compose
    cd nwaku-compose
  2. Start with Docker Compose:

    docker-compose up -d
  3. Access Monitoring: After a few seconds, you can view your node’s metrics on localhost:3000.

Last updated