This project implements a pipeline to fetch and process token balances on the Ethereum network, with a focus on Lido staking balances.
token_balance_pipeline.py
: Main script for fetching and processing token balances (currently, we consider Lido).utils.py
: Utility functions for web3 interactions and balance calculations.config.py
: Configuration settings for the project..gitignore
: Specifies intentionally untracked files to ignore.LICENSE
: License information for the project.
- Clone the repository
- Install the required dependencies:
pip install -r requirements.txt
- Set up your environment variables (look into 'config.py' file)
Run the main script:
python token_balance_pipeline.py
This project uses pre-commit hooks to maintain code quality. To set up the pre-commit hooks:
- Install pre-commit:
pip install pre-commit
- Install the git hook scripts:
pre-commit install
This project follows the Black code style, uses isort for import sorting, and Ruff for linting.
See the LICENSE file for details.