Giter Site home page Giter Site logo

scprimesettingstool's Introduction

#Scprime Price Tracker

This tool allows you to grab the price settings for a specific provider (e.g.: XA-Miner) which you could then use for your own provider

It is ideal to mimic these to offer a better provider to the network

Install

This script will need a few things from your machine, so you will need python3 and pip3 installed.

After you have done that, you can run make install to install all the libs required to run this script.

Run

After you have successfully installed the libs you can run the script by

python main.py --url GRAFANA_URL

or

python main.py -p PROVIDER_ID 

It should then return the settings information

You also have the following options:

  • --url: The url of the grafana instance you want to connect to
  • --provider-id: The provider id you want to grab the settings for
  • --config: The yaml file for the configuration (this could in future be something hosted in the cloud)
  • --commands: Return the settings commands you need to run on your provider
  • --screenshot: Saves a screenshot on the root folder of the page you are listening too -- useful for debug
  • --update-settings: List of settings you want to update, e.g.: --update-settings="collateral,minstorageprice". It also works with element names from the configuration, e.g.: "minstorageprice" or "storage_price" are the same

scprimesettingstool's People

Contributors

joshlopes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.