RaekwonIII / bloxstaking_sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bloxstaking Sample

A simple python script to find the performance of all validators belonging to one operator.

Pre-Requisites

Make sure these are installed on your machine before runing the script. You can test whether they are installed by running the respective commands on your machine.

  1. python3
python3 --version
  1. pip3
pip3 --version

For this script, we will only need access to the requests library so lets make sure this is installed.

pip3 install requests

Getting Started

Clone this repo onto your local machine so you have access to all the files and can change them as you need.

git clone https://github.com/SuDa2103/bloxstaking_sample.git

This should create you a folder named blocstaking_sample that you will use for the rest of this README.

Make sure you adjust the script to your needs. Input your own API Key and on the operator_id variable, make sure to enter the ID of the operator you want to analyse.

At this point, you should be ready to run the script using the following command.

  python3 validators.py

About


Languages

Language:Python 100.0%