Do it yourself
Hardware & Software Requirements
The recommended and officially supported operating system to host Agung nodes is Ubuntu 20.04 on a x86_64 compatible hardware. Although you can use Apple macOS or Microsoft Windows and other nix flavors as well if you compile the node from the code code, currently only the official distribution can connect to the Agung network.
4 Cores (2.0Ghz or above)
Disk space, SSD (recommended) or HDD
50 GB (to start)
No ports needed to be opened if you will be connecting to the node on localhost.
For RPC and WebSockets the following should be opened
peaq Node Installation Guide
Click here and download the highlighted tar file. Kindly note this link is public and can be accessed through any browser.
After successfully downloading the required tar file please use the below mentioned command to extract the contents:
tar zxvf peaq-node-agung-apr-7-2022.tar.gz && chmod +x peaq-node
The above command will output a single binary and mark it as executable.
To run a "pruning" node please use the following command, this will create a chain-data folder in the current directory which will contain fetched data from the Agung network.
./peaq-node --chain agung
Once the command is executed properly, the screen should appear as below, if not, please reach out to us on our github repo here. As the node starts it will synchronize with peaq network and import all previous blocks. This process may take a few minutes depending on your network speed.
Running peaq node as a service
You may run Agung node as a service by following below steps. This guide assumes you are using the path /var/network as file storage
Step 1 - Creating a service unit
Create a file called peaq.service with the following content in /etc/systemd/system/peaq.service
Unit] Description=Peaq Node
User=<enter user e.g. augung>
Group=<enter group e.g. augung>
ExecStart=<directory_of_script e.g. /var/network/start_node.sh>
WorkingDirectory=<path to startup script e.g. /var/network>
Step 2 - Creating the startup script
Create a start_node.sh in the path that was mentioned in ExecStart and include the following.
#!/bin/sh ./peaq-node \ --base-path ./chain-data \ --chain agung \ --port 1033 \ --ws-port 9944 \ --rpc-port 9933 \ --rpc-cors all \ --pruning archive \ --name ro_full_node_0
Kindly note the peaq-node file should be placed in the same folder where start_node.sh resides.
Reload the service files to include the new service.
sudo systemctl daemon-reload
Start your service.
sudo systemctl start peaq
To check the status of your service.
sudo systemctl status peaq
Default Ports for peaq node