This is a toy project to play with FastAPI and some standard smart contracts that can be found in this other GitHub repository.
To make the project work it can point to these already deployed Smart Contracts:
It has been deployed to Avalanche test network Fuji and can be found here.
It has been deployed to Avalanche test network Fuji and can be found here.
You have to install all the dependencies with Pipenv and then run:
uvicorn app.main:app --reload
For each version of the API an OpenAPI UI will be exposed in different endpoints. For example the version 1 of the API can be found at:
http://127.0.0.1:8000/api/v1/docs
The general docs that points to the diferent API available versions is at:
http://127.0.0.1:8000/docs