Running a PoB Prover Client
Steps to run a PoB Prover Client
Last updated
Steps to run a PoB Prover Client
Last updated
Before you begin, ensure you have the following
Docker (version 23.0.0 or above, refer: )
Instance comparable to a t2 micro (1 vcpu, 1GB RAM and 1GB harddisk),
There are two aspects in setting up the prover,
Registration: so the challengers are aware of it
Running: so the challengers can engage with it
Here's how to get the provers successfully running
Ports to be opened if using public IP:
You can provide the private key (for example, generated from Metamask) which will be used by the Witnesschain's PoB Prover client.
Use ECDSA Keypairs
Store the prover's private key in the file (Make sure you keep track of the file name and its location, as it would be refered later)
Prepare a configuration file my_prover_config.json
with the following entries
Note:
The field claims.uplink_bandwidth
and claims.downlink_bandwidth
are the claimed bandwidth supported by the prover (a.k.a. upload speeds and download speeds).
is the DePIN project with which the Prover is registered to provide infra services.
walletPublicKey.ethereum
is the wallet address which is used
havePublicIPv4Address
(and havePublicIPv6Address
) set them to true if you have a public IPv4 (or IPv6)
havePrivateIPv4Address
(and havePrivateIPv6Address
) set them to true if you want to force the use of private IP
saveResultsInDatabase
saves the login, session, and challenge related data in a .sqlite file within the container
Once you have the config.json
ready, the prover client can be started with
If you are running a docker engine version < 21.0, you would want to give the full path to my_prover_config.json
and my_prover_private.key
Explanation:
docker run -d
: Runs the container in detached mode (in the background).
You can verify that the prover is running by looking at the container status
You can register the prover easily with the help of our registration cli, to do so
Download our dcl-operator-cli
Follow the steps as directed in the output of the script to add the CLI to the shell profile to be able to use the CLI from anywhere.
Run the following command for registration
Once the setting up and registration is successful, you can check the logs from the prover client ready for challenges. (docker logs pob-prover
). Congratulations, you are now a part of our DePIN family!
Prepare the , (The above command also downloads a template which you can refer to) make sure you set the prover_private_keys
to the one you provided to the client (Setting the prover Step 2)
As the only prerequisite is docker, make sure you are running atleast version 23.0.0 or above for the commands mentioned in the doc to work. The days might be rainy or snowy, but we've got umbrellas and sweaters! Join our or Telegram—we're happy to help. :D