Skip to content

Latest commit

 

History

History
 
 

data_pipeline

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

L2Beat Data pipeline

Python scripts to get/update data used by l2beat frontend.

Running

  1. Create env file:
BQ_CREDENTIALS=relative path to a file with google big query credentails
BC_NODE=url to rpc archive node
  1. Create venv, activate it and install deps:
python3 -m venv env
. env/bin/activate
pip3 install -r requirements.txt
  1. Run script:
python l2_job.py config.json