https://github.com/bhemen/solana-scraping
Python tools for scraping trading data from DEXes on Solana
https://github.com/bhemen/solana-scraping
blockchain chainstack dex raydium solana token trading
Last synced: 3 months ago
JSON representation
Python tools for scraping trading data from DEXes on Solana
- Host: GitHub
- URL: https://github.com/bhemen/solana-scraping
- Owner: bhemen
- Created: 2024-09-10T13:26:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T17:57:07.000Z (4 months ago)
- Last Synced: 2025-03-24T08:12:07.884Z (4 months ago)
- Topics: blockchain, chainstack, dex, raydium, solana, token, trading
- Language: Python
- Homepage:
- Size: 85.4 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python scripts for interacting with the Solana blockchain
~~~
pip3 install -r requirements.txt
~~~* [leader_schedule.py](leader_schedule.py) Every ``slot'' in Solana has a leader who is allowed to produce a block in that slot. This script collects all the slot leader for every slot, and stores the data in [data/solana_leaders.csv](data/solana_leaders.csv).
* [simple_usdc.py](simple_usdc.py) This script shows how to grab basic information about a token, in this case Circle's USDC.
* [token_examples.py](token_examples.py) This script shows how to create and transfer tokens
* [get_metadata.py](get_metadata.py) Gets token metadata from the Solana blockchain and writes it to [data/token_metadata.csv](data/token_metadata.csv)
* [get_images_from_ipfs.py](get_images_from_ipfs.py) This does *not* interact with the Solana blockchain, instead it reads URIs from [data/token_metadata.csv](data/token_metadata.csv) and tries to grab the corresponding images from IPFS. The output data is too large to store in github, but the files are available on [box](https://upenn.box.com/s/gltwet0xe7ha3rltvfyt7wy1fkj5ymam)