This API works by front-end users querying our proxy client, which is the server we use to create and authenticate API keys. From there, the proxy client forwards the queries to validators that query the miners, and then the result is returned back the same way.
Reference this document regarding how this works.
- Create virtual environment
python3 -m venv myvenv
- Activate the virtual environment
source myvenv/bin/activate
- Install packages
pip install -r requirements.txt
- Run the application
uvicorn app:app.app --reload