App based on Selenium to parse Communi3 NFTs from hyperspace market and get $SCI price for all of them.

- Windows OS
- Python (tested on
3.10.2, but should work with>=3.7) - Chrome installed
- Chromedriver (lookup your chrome version in settings:
chrome://settings/help) and download chromedriver that suits it from here)
- Download the project folder, unpack it
- Download chromedriver, replace
chromium/chromedriver.exewith .exe you downloaded - Open the console in the script folder (or use
cdto reach it) - Install requirements. Command:
py -m pip install -r requirements.txt - Optional: edit
main.pyfile, replace variableMAX_PRICE(line 140 as for now) with the amount you need (default is 9999), save changes - Run script (most likely
py main.py)
Error "Can't find NFTs cards": if Hyperspace changes some in their site, they can update the class name of the NFT card. For 01.11.2022 its css-g0fuxu, but it can be changed in the future.
To fix it you should go here, press with the right mouse button on the card with some NFT, press Inspect, find an element with the whole card and copy its class name (please, check the video above).
guide.MP4
Then, you should replace the old class name in main.py (css-g0fuxu, line 65, 71 as for now) with the class name you have copied (its 2 occurrences, use file search).
Then save and run script again.
Console:
Processing #2720...
Authority: 9otwyjX7msBhQ1tVHuEVQgiMZFFyMsZp3q4zg5dQfSF6
Tokens: 3095
#2720: 3095 $SCI - 18.90 $SOL - https://hyperspace.xyz/token/C9w7nXXMog1oCAcJVR8dRVBC1KXXxbNF2DSqDsgoztqE - 9otwyjX7msBhQ1tVHuEVQgiMZFFyMsZp3q4zg5dQfSF6
Output file:
#2720: 3095 $SCI - 18.90 $SOL - https://hyperspace.xyz/token/C9w7nXXMog1oCAcJVR8dRVBC1KXXxbNF2DSqDsgoztqE - 9otwyjX7msBhQ1tVHuEVQgiMZFFyMsZp3q4zg5dQfSF6
Thanks to the developer of https://www.madsci-status.app/, and sorry for using your tool in not so proper way.
If someone knows how to calculate $SCI amount using only blockchain data - open PR.