mmartinez / pokt-calculator

a rewards explorer for Pocket Network node runners

Home Page:https://pokt.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POKT Tools

A reward explorer and diagnostic tool for Pocket Network nodes.

Quick start

Steps to run pokt-calculator:

  1. check out the repository:
git clone https://github.com/itsnoproblem/pokt-calculator
  1. 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
  2. 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.

About

a rewards explorer for Pocket Network node runners

https://pokt.tools

License:MIT License


Languages

Language:TypeScript 64.8%Language:Go 32.6%Language:HTML 1.1%Language:Shell 0.9%Language:Dockerfile 0.5%Language:CSS 0.2%