This NodeJS script automates the process of scraping and filtering Solana token holders from the Solana blockchain.
- Scraping: Automates the retrieval of Solana token holder data directly from the blockchain.
- Filtering: Implements logic to exclude holders listed in the provided whitelist.
- Data Export: Outputs the processed data into an Excel file.
The exported Excel file will contain the following columns:
Owner Address | Token Account | Token Amount | Token Account State |
---|---|---|---|
example_addr1 |
example_acc1 |
100 | Active |
Before you begin, ensure that NodeJS is installed on your system. Download and install NodeJS from the official Node.js website.
To configure the scraper:
- Create a txt file inside the src directory if there is none and populate with the addresses you want to exclude for scrapping data.
- Open the
src/constants/constatnt.js
file and set your parameters.
To execute the script, navigate to the root directory of the project and run the following command in your terminal:
node src/index.js