It's possible to implement Apibara applications using the Python SDK.
The Python SDK is great to develop applications that:
You can install the apibara
package using pip:
python3 -m pip install apibara[indexer]
Alternatively, you can use Poetry and add Apibara to the list of dependencies:
[tool.poetry.dependencies]apibara = { version = "^0.6.0", extras = ["indexer"] }
We provide a template project to get you started even quicker.
Click on the "Use this template" button, then fill out the name and visibility of your new repository. Finally, clone the repository to your machine.
Create a new repository, starting from the provided template:
gh repo create my-indexer --clone --public --template https://github.com/apibara/python-indexer-template
This will create a new public repository in your GitHub account. The project is now ready in the my-indexer
folder on your machine.
If you see a git-related error after creating the repository, cd
into the new folder and run git pull origin main
.
Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
Resources