Installation
Option 1: Running nwaku
Binary
nwaku
BinaryInstall 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
Clone the Repository:
git clone --recurse-submodules https://github.com/waku-org/nwaku cd nwaku
Build the Binary:
make wakunode2
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
nwaku
in a Docker ContainerInstall Docker: Ensure Docker is installed on your system.
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
nwaku
with Docker ComposeClone the
nwaku-compose
Repository:git clone https://github.com/waku-org/nwaku-compose cd nwaku-compose
Start with Docker Compose:
docker-compose up -d
Access Monitoring: After a few seconds, you can view your node’s metrics on localhost:3000.
Last updated