Skip to content

mdidinx/Casper-validator-metrics-charts

Repository files navigation

Run main

Casper Validators' Metrics Charts

This package aims to visualise step time and RAM amount of Casper validators.

Dependencies:

  • httr, can be installed by issuing the following command (within RStudio command line)
 install.packages('httr')
  • tidyverse, can be installed by issuing the following command (within RStudio command line)
 install.packages('tidyverse')
  • shiny, can be installed by issuing the following command (within RStudio command line)
 install.packages('shiny')
  • jsonlite, can be installed by issuing the following command (within RStudio command line)
 install.packages('jsonlite')
  • devtools, can be installed by issuing the following command (within RStudio command line)
 install.packages('devtools')

Building:

  • Install devtools by issuing the following command (within RStudio command line)
 install.packages('devtools')
  • Then load the devtools package with by issuing the following command (within RStudio command line)
 library(devtools)
  • Then, to build the package, type by issuing the following command (at the end of the main script)
 build()

This will create the PACKAGE_NAME.tar.gz file.

Testing:

  • will be updated

Install:

  • Clone repository by typing following command (within command line)
git clone https://github.com/socodes/Casper-validator-metrics-charts
  • to install the application, you’d issue the following command

from R:

devtools::install()

OR

from command line:

R CMD INSTALL Call_1.0.0.tar.gz
  • Run the following script which is inside the R folder of repository
 Rscript R/main.R

How to use:

  • Install required R language version from https://www.r-project.org
  • install required packages from command line as: install.package(PACKAGE_NAME)
  • Change current working directory to repository location.
  • Run the following script which is inside the R folder of repository
 Rscript R/main.R
  • Sufficient amount of time should be given to program in order to generate outputs.

Sample Outputs:

About

A R package that visualize validators' RAM Amounts and Step Time

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages