There are 3 types of nodes: Pillar, Sentinel, Full Node.
For the Pillar deployment process one will need access to both a local and a remote machine. The local machine is represented by the controller wallet, where you create the Pillar Slot and register the Pillar on the network. The remote machine is usually represented by a VPS with some minimum recommended specs and a public IP that is actively participating in the consensus protocol.
You will need to generate 3 distinct addresses for the Pillar creation tutorial:
pillarAddress
= address from which the Pillar is registered that contains the necessary funds (15,000 ZNN that will be locked and can be recovered after you disassemble the Pillar and 150,000 QSR + additional 10,000 QSR for every new Pillar Slot in the network that will be burned and cannot be recovered)
pillarRewardsAddress
= address used to collect the Pillar rewards
producerAddress
= address used to produce the momentums that is stored on the remote machine; must be generated from a different seed than your local wallet keyStore for security purposes
The Sentinel deployment process is similar to the Pillar deployment process.
The latest version of the s y r i u s
wallet is recommended to be used as controller wallet. Advanced users can use the znn-cli
instead.
These commands should be issued from your remote machine (e.g. VPS). If you won't use a VPS provider, you will need an additional setup including enabling port forwarding. This tutorial is intended for a VPS with some minimum recommended specs and a public IP.
CPU >= 4 cores
RAM >= 4 GB
Storage >= 40 GB free space
>100Mbps network dedicated bandwidth
Linux distros
e.g. Ubuntu 20.04 LTS/Debian 11
Recommended NTP configuration
*
Recommended Watchdog service
*
(*) Included if the setup is performed using the znn-controller
znn-controller
See zenon-network / go-zenon for the latest releases.
znn-controller
as rootThe Zenon Alphanet (Phase 0) binaries are available for Linux, macOS and Windows x86_64 CPU architecture operating systems.
Ubuntu 20.04 LTS
was used for this tutorial.
Download znnd
, znn-cli
and znn-controller
from their respective GitHub repos. Please note that znn-controller
is only available for Linux at the moment.
Import the Zenon Testnet PGP key from hkps.pool.sks-keyservers.net
If you don't have gpg
installed, please use sudo apt install gnupg
Verify the signature. The same command can be used on macOS:
If you are on a Linux machine, use the znn-controller
option 1) Deploy
:
Otherwise use:
Inspect the config.json
file using your favorite text editor.
Navigate to ~/.znn/config.json
.
Check if the http
, websocket
entries are enabled (true
). By default, all Endpoints
are public.
The default HTTPPort
is 35997
and WSPort
is 35998
.
You can also disable the RPC communication via znn-cli
:
If you have pending funds you should see messages like these:
In order to receive the ZNN you need to issue the command receive
with the corresponding hash:
If you don't have Plasma, you'll need to generate it via PoW, please wait.
Similarly, you'll receive the QSR by issuing the command receive
with the corresponding hash:
Follow these Node Deployment instructions to deploy a Pillar or Sentinel.
You can use the stop command from znn-cli
if znnd
is located at the same working directory:
If you deployed via znn-controller
please use option 4 (Stop service)
Otherwise use: