This repository contains a node script designed to crawl the Massa blockchain network and count the number of running nodes. The Massa blockchain is a decentralized and community-driven blockchain that relies on a network of nodes to operate effectively. This crawler helps in providing insights into the network's health by counting the number of active nodes.
Before you begin, ensure that you have Node.js and npm installed on your machine. You can download them from https://nodejs.org/.
-
Clone the Repository:
git clone https://github.com/peterjah/massa-crawler
-
Navigate to the Project Directory:
cd massa-crawler
-
Install Dependencies:
npm install
To run the Massa blockchain node crawler, follow these steps:
-
Run the Crawler:
Execute the following command to start the crawler:
npm run start
This will initiate the crawler, and it will begin counting the number of running nodes on the Massa blockchain network.
-
View Results:
Once the crawler completes its operation, the results will be displayed in the console. You can analyze the output to understand the current state of the Massa blockchain network.
Number of known nodes in the network: 3083 Number of routables: 1481 Number of unreachable: 1602
If you would like to contribute to this project, feel free to open issues, create pull requests, or suggest improvements. Your feedback and contributions are highly appreciated.
This project is licensed under the MIT License - see the LICENSE.md file for details.