tools-comunitynode
v1.0.3
Published
tools for validator
Downloads
6
Readme
About The Project ![Blockchain Validator Tooling Screen Shot][product-screenshot]
The Blockchain Validator Tooling npm package is designed to enhance the interaction with blockchain networks by providing a streamlined approach to fetch and sort validators based on their staked tokens. It aims to facilitate the analysis of validator performance and stake distribution, serving as an essential tool for developers and stakeholders in the Cosmos blockchain ecosystem.
Built With This project was built with:
Node.js npm Axios ExcelJS
Prerequisites Node.js (version 12.x or higher) npm sh Copy code npm install npm@latest -g Installation Clone the repo sh Copy code git clone https://github.com/alfset/Validator-tools.git Install NPM packages sh Copy code npm install
Fetching and Sorting Validators javascript Copy code const { fetchAndSortValidators } = require('tools-comunitynode');
const url = 'https://your-blockchain-node.com/cosmos/staking/v1beta1/validators';
async function displaySortedValidators() { const sortedValidators = await fetchAndSortValidators(url); console }