The following document provides an overview of how to become a witness node, the perks of becoming a witness, duties of a witness, and a brief description about the node types.
Peerplays provides two networks on which the user may create an account - main net and test net. To learn and familiarize the operations of a node use the test net account. After learning the process and to work on the real Peerplays network, use the main-net account. The User Guide will help you navigate Peerplays DEX and learn about its features and options in detail.
Click the URL below to create an account and then to login Peerplays DEX,
The account should have some PPY balance to become a lifetime member. To create a witness, the account must have a lifetime membership status.
Syntax:
Example:
Output:
3. Configuring your account to serve as a block-producing Witness
Your account can be configured as an eligible "block producer" by using cli wallet. The commands to complete the configuration are explained in the below link.
Create yourself as a witness
The next step is to create a witness
The URL in this command is your own URL which should point to a page which describes who you are and why you want to become a Peerplays witness. Note your block signing key after you enter this command.
To execute the command, some PPY is required.
Syntax:
Example:
Expected Output:
Collecting the witness account info
The Block-signing key and private keys are required to get the witness id. From the above output the block-signing key is obtained and using that the private key can be generated.
Syntax:
Then dump your keys to check and compare. One of the returned values from the following command should match your block_signing_key.
Last we'll get your witness ID.
Example:
Expected Output:
4. Adding witness id and private key pair into config.ini file
Exit the cli_wallet with the quit command. Back in the first command line window, we'll stop the node (Ctrl + c) and edit the config.ini file once again.
5. Start the Witness and vote for yourself
Once again, we need to wait for the node to sync the blocks to use the cli_wallet. After the sync, you can vote for yourself. Back in the second command line window: