python3.8 or later
$ python setup.py install
$ pip install -r requirements.txt
Run a lighthouse beacon node for some amount of time:
$ lighthouse bn --testnet medalla
When you've built up enough block history to analyze, stop that process and run the following:
$ python export.py $LIGHTHOUSE_DATA_DIR $OUTPUT_DIR
Note that the default location for $LIGHTHOUSE_DATA_DIR is $HOME/.lighthouse