Monorepo with components required for the implementation of DeRisk on Starknet.
See our contributor guidelines.
Set CREDENTIALS_PATH
and PG_CONNECTION_STRING
to empty strings (or fill out in case you have access to the db).
Python dependencies are managed with poetry
, install them with this command:
poetry install
Command to start Jupyter notebook is in the makefile
, simply run:
make notebook
If you have all requirements installed, just run:
make app
The Streamlit app runs a process for updating all necessary data shown on the frontend in the background. The process saves the outputs to a GCP storage from which the Streamlit app loads and visualizes the outputs. To run the data-updating process manually, without running the Streamlit app, use the following command:
python3 update_data.py