At-home watchtowers
Steps to run a Witness Chain watchtower client to validate location claims
Last updated
Steps to run a Witness Chain watchtower client to validate location claims
Last updated
The PoL Watchtower Client Node participates in the Proof-of-Location (PoL) protocol by verifying location claims made by network nodes.
Watchtower nodes can run on community members' laptops, desktops, or cloud instances. Nodes are selected to participate in PoL watchtowers via a probabilistic algorithm.
Docker: Version 23.0.0 or higher ().
Instance: Minimum t2.micro equivalent (1 vCPU, 1GB RAM, 5GB disk). Recommended: 2 cores, 4GB RAM, 10GB disk.
ECDSA KeyPair ( This demonstrates how you can use MetaMask to export one ). This will be used for registration & signing purposes.
Ports to Open (for public IP only)
Incoming (TCP & UDP): 11112, 22223, 33334-33336, 44445-44447, 55556
Outgoing: Allow all.
Download and install the witness CLI:
After the installation is completed, verify the cli is installed correctly and upto date ( WitnessChain version v0.0.12)
witness-cli --version
Then proceed to register your watchtower key on WitnessChain's Layer 2 Chain: Use the KeyPair that you would have exported or created using Metamask or any other wallet.
Create a watchtower.env
configuration file with the following example entries.
If you are running this at home and DON'T have a public IP, you need to change the following entries only in the watchtower.env file
latitude, longitude, country, region, city, privateKey, walletPublicKey
Start the challenger client:
Verify the client is running:
If you see an error about "registration required on DCL contract," make sure to complete the watchtower key registration.
Check logs using:
Once the client is ready, you're part of Witness Chain's Watchtower family!
docker run -d
: Runs the container in detached mode (in the background).
You can get detailed explanation about these parameters
The days might be rainy or snowy, but we've got umbrellas and sweaters!. For support, join our or reach out on Telegram.