Skip to content

This project is a simple Selenium-based parser designed to scrape data from Solscan, a popular Solana blockchain explorer. The parser automates the process of collecting specific blockchain transaction data such as transaction hashes, counts of SOL and SPL tokens involved, and their corresponding USD values.

License

Notifications You must be signed in to change notification settings

alexmudrak/solscan-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Selenium Parser for Solscan with Google Sheets Integration

This project is a Selenium-based scraper that collects data from Solscan and saves it to a Google Sheet.

Prerequisites

  • Python 3.11+
  • Poetry package manager

Installation

First, clone the repository to your local machine:

git clone https://github.com/alexmudrak/solscan-parser.git
cd solscan-parser

Install the dependencies using Poetry:

poetry install

Configuration

Before running the application, you need to enable the Google Sheets API and download the credentials.json file:

  1. Enable the Google Sheets API by visiting: Enable Google Sheets API

  2. Download the credentials.json file from: Google API Credentials

Place the credentials.json file in the root directory of the project.

Running the Application

To run the application, use the following command:

poetry run python src/main.py

Usage

The application will navigate to the Solscan website, extract the required data, and then authenticate with Google to access and update the specified Google Sheet with the transaction data.

About

This project is a simple Selenium-based parser designed to scrape data from Solscan, a popular Solana blockchain explorer. The parser automates the process of collecting specific blockchain transaction data such as transaction hashes, counts of SOL and SPL tokens involved, and their corresponding USD values.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages