ethereum-optimism / op-analytics

Onchain Data, Utilities, References, and other Analytics on Optimism
97 stars 41 forks source link

OP Analytics

Onchain Data, Utilities, References, and other Analytics on Optimism. Join the conversation with other numba nerds in the #analytics channel in the Optimism Discord.

Installation

python -m pip install pipenv
pipenv install

See Pipfile for all the requirements.

Common Requirements

Common packages used for python scripts include

In this repository, we use pre-commit to ensure consistency of formatting. To install for Mac, run

brew install pre-commit

Once installed, in the command line of the repository, run

pre-commit install

This will install pre-commit to the Git hook, so that pre-commit will run and fix files covered in its config before committing.