Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.55 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.55 KB

Token Balance Pipeline

This project implements a pipeline to fetch and process token balances on the Ethereum network, with a focus on Lido staking balances.

Files in the Repository

  • 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.

Setup

  1. Clone the repository
  2. Install the required dependencies:
    pip install -r requirements.txt
    
  3. Set up your environment variables (look into 'config.py' file)

Usage

Run the main script:

python token_balance_pipeline.py

Development

This project uses pre-commit hooks to maintain code quality. To set up the pre-commit hooks:

  1. Install pre-commit:
    pip install pre-commit
    
  2. Install the git hook scripts:
    pre-commit install
    

Code Quality

Code style: black Imports: isort Linting: ruff

This project follows the Black code style, uses isort for import sorting, and Ruff for linting.

License

See the LICENSE file for details.