New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@telosnetwork/validator-checks

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telosnetwork/validator-checks

performs criteria validation checks for block producers

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-87.5%
Maintainers
4
Weekly downloads
 
Created
Source

Block Producer Validation Tool

Validation Features

  • Main net ssl & api endpoint validation
  • Test net ssl & api endpoint validation
  • Check & verify available api features
  • Verify Block Producer JSON data

Install

npm install @telosnetwork/validator-checks

yarn add @telosnetwork/validator-checks

Usage

Import

//node
import { getProducer, getProducers } from '@telosnetwork/validator-checks';  

//client
import { getProducer, getProducers } from '@telosnetwork/validator-checks/dist/client'; 

Methods

getProducers( limit: number)

getProducer( owner: string)

Params

  • limit(optional) : # of results to return from query, default is 50

  • owner (required) : block producer account name

Return Value

  • array of block producer data objects

Example Usage

// get data about first 25 producers
await getProducers(25);

// get data about a single block producer 
await getProducer('caleosblocks');

Build From Source

git clone https://github.com/telosnetwork/validator-checks.git
cd validator-checks
yarn

//build for client
yarn build-client

//build for node
yarn build-server

//build for client & node
yarn build-all

NPM page

Keywords

FAQs

Package last updated on 29 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc