This repository calculates a lending toxicity metric for Hundred Finance on Polygon.
- Clone the repository
- Create a .env file based on the example (update the nodeURL)
- Run:
npm install
To update the collateral/loan pair, change the COLLATERAL_ASSET
and DEBT_ASSET
variables in ./scripts/calculate_toxicity.js
.
Run:
node scripts/calculate_toxicity.js