merofinance / analyzer

A monitor for borrow and lending protocols on Ethereum.
MIT License
23 stars 2 forks source link

backd

Install backd

git clone https://github.com/danhper/backd.git
cd backd
pip install -e .

Data

The required data can be downloaded from: https://www.dropbox.com/sh/i5v1orfxg2la7f6/AACNX9078VnONF02lIWwZjbJa?dl=0

Setting up the database

MongoDB needs to be running

./scripts/setup-db.sh /path/to/data

where /path/to/data should be the full path to the Dropbox data directory.

Note for iOS users, replace zcat with gzcat. See zcat vs gzcat.

Testing

Populate test database

python scripts/import_test_data.py

Run tests

pytest

Mainnet contracts