A set of tools to investigate defi.
Before proceeding, you should register an account on
- Etherscan.io and generate a personal API key to use
- Etherscan.io and generate a personal API key to use
- Infura.io, create a project, and get project ID to use
Install from source:
# suggest use venv to set up virtual env
python3 -m pip install --user virtualenv
git clone git@github.com:luliu27/defiscan.git
cd defiscan
# install virtual env for the project
python3 -m venv venv
# activate the virtual env
source venv/bin/activate
# install dependencies
python3 -m pip install -r requirements.txt
# set up config.json and update API keys in the file
cp config.json.sample config.json
# run gas tracker
python3 gas_tracker.py --chains eth,ftm
# TODO: dex tracker
# TODO: support more L1 chains
# more to come