scallop-io / hackerlink-solana-vote-scraper

Python voters scraping program for Solana Ignition Hackathon East Asia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackerlink Solana Vote Scraper

Change Voteaccount to scrap another voting acoount

You can visit Solana Explorer to find the voting acoount

This is the voting account for Scallop at Solana Ignition Hackathon East Asia

https://explorer.solana.com/address/3rXHdF7CfwG6K2VVFpvBRwdbRwyR5Zn7kQhLgxn4mjk7

How to use

pip install solana

Fill your project's voting acoount.

python3 riptide.py

RPC Node Rate Limits

https://api.mainnet-beta.solana.com - Solana-hosted api node cluster, backed by a load balancer; rate-limited

  • Maximum number of requests per 10 seconds per IP: 100
  • Maximum number of requests per 10 seconds per IP for a single RPC: 40
  • Maximum concurrent connections per IP: 40
  • Maximum connection rate per 10 seconds per IP: 40
  • Maximum amount of data per 30 second: 100 MB

Improvement

  • Logic upgrade.
  • More efficient.
  • More readable.
  • We can use txt to store tx and no need to send many requests every time.
  • CLI version.

Remark

old/ignition.py is the version without Solana Python SDK.

About

Python voters scraping program for Solana Ignition Hackathon East Asia


Languages

Language:Python 100.0%