Challenger Installation

This page has all the information you need to get your Challenger environment set up in Dart

If you are a developer and would like to build the source code on your own, please install dart from https://dart.dev/get-dart before you get started with the below steps

If you are an IT admin who just want to setup the Challenger client on your machine, you can follow Steps 1, 4, 5, 6 and 7. Ignore Steps 2 and 3.

Step 1 : Clone Proof-of-Backhaul repository
git clone --depth=1 https://github.com/Proof-of-X/Proof-of-Backhaul
Step 2 : Install dependencies (Only for developers)
cd dart
run/install-deps
Step 3: Build PoB Client (Only for developers)

Run the below command

run/build-pob
Step 4 : Get you wallet Public Keys (if not already available)

Solana

For Solana, you can create a Phantom Wallet Account and use the Phantom Account Address

Ethereum

For Ethereum, you can create a Metamask Wallet Account and use the Metamask Account Address

It is important to note that the wallet public keys is used for receiving testnet tokens.

Step 5 : Update Configuration

From the root directory of the cloned repo (proof-of-x), run

cd Proof-of-Backhaul

Change the “config/pob/challenger.json” file to set your wallet information.

Update challenger.json with bandwidth_claimed_mbps and walletPublicKey of both solana and ethereum

It is important to change the walletPublicKey to the owner's wallet address specified to receive the test tokens

We will never ask for private keys in our configuration.

If you plan to run multiple challenger nodes, we recommend to use the same walletpublicKey for all the challenger nodes, so that the rewards get sent to the consolidated address.

Step 6 : Run Challenger

Start challenger by running (from Proof-of-Backhaul folder)

To run in foreground and for testing purposes

./run-pob-challenger
./run-pob-challenger-in-tmux
Step 7 Get registered

When you run Step 6, for the first time, you will see a message as follows

===

Currently for challengers, a permission is required from WitnessChain.

Please contact 'pob-support@witnesschain.com' with your publicKey:

'DgJdfrGU8EJWT9QYJwQeGCizYfTBXz4PSs4jHRZAA14q'

to join as a challenger

===

Send an email to pob-support@witnesschain.com or drop a note on our discord channel #pob-testnet-support to get yourself registered using your publickey.

Post confirmation from our tech team, re-run Step 6

You are all set with a PoB Challenger client.

Last updated