How to become a block producing witness?
Last updated
Last updated
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.
An existing account
A machine running a witness_node that can be configured to produce blocks
The first peerplays account can be created in a flash using Peerplays DEX by following the steps in below document,
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,
Mainnet Peerplays DEX access
Click the below link to use the Main-net DEX:
Testnet Peerplays DEX access
Click the below link to use the Test-net DEX:
Account creation with Peerplays DEX
Click the below link to learn in detail about the Peerplays account creation
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:
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.
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:
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:
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.
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:
Syntax:
Example Output:
Now you can check your votes to verify it worked.
Syntax:
Example output: