One of the hardest problems of non-fungible tokens (NFT) projects is data modeling.
Modeling covers areas like understanding hodler behaviour, sales volume trends, identifying whales, and valuing NFTs relative to each other within a specific collection.
NFT Analytics is a Python framework to make that process easier. It contains code to interact with the most popular NFT marketplace on Ethereum. Ethereum was chosen as the base due to its dominant nature in the NFT space. This raw data is then modeled mathematically to distill usable information and visualize it.
- Create the conda environment from file
conda env create --file conda-env.yml
- Activate environment
conda activate nft_analytics
- Add environment to Jupyter kernel
python -m ipykernel install --name=nft_analytics
- Install jupyter lab extensions for plotly
jupyter labextension install jupyterlab-plotly
- To use the Infura backend (required for querying blockchain data), rename
config-dummy.py
toconfig.py
, and add in your private Infura API key - Explore the various Jupyterlab Notebooks under
notebooks/
- OpenSea public API (
src/opensea_api.py
) - Infura private API (
src/infura_api.py
)
conda env export --no-builds | grep -v "^prefix: " > conda-env.yml
This project is only for educational purposes, always do your own research before making any investment decisions.