A reward explorer and diagnostic tool for Pocket Network nodes.
Steps to run pokt-calculator:
- check out the repository:
git clone https://github.com/itsnoproblem/pokt-calculator
-
There are 2 environment variables to pay attention to in the docker-compose.yml file:
POCKET_URL
- this is the url of a pocket node. Our monitoring-service will use this to query the Pocket Network.RPC_URL
- This is the url to the API our monitoring-service exposes. It needs to be accesible by your browser. Most people will want to update the docker-compose file, replacing http://YOUR-PUBLIC-IP-OR-HOSTNAME:7878 with http://your.hostname.com:7878
-
Start the containers:
docker-compose up -d
Now you can visit the app im your browser at http://your.hostname.com:4444
Happy exploring!
Note: It is recommended that you replace the value of the
POCKET_URL
. This could be your node's service url (Eg:https://your-service-url.com:443/v1
) or another Pocket Network RPC URL. This repo ships with a functioning, free-tier Pocket endpoint, but performance will be limited.You can get your own pocket network endpoint by visiting https://www.portal.pokt.network and creating an app on the Pocket Mainnet.