Teia DAO indexer built with DipDup
This project is based on DipDup, a framework for building featureful dapps.
You need a Linux/macOS system with Python 3.11 installed. Use our installer for easy setup:
curl -Lsf https://dipdup.io/install.py | python3
See the Installation page for all options.
Run the indexer in-memory:
dipdup run
Store data in SQLite database:
dipdup -c . -c configs/dipdup.sqlite.yml run
Or spawn a Compose stack:
cd deploy
cp .env.default .env
# Edit .env file before running
docker compose up
We recommend PDM for managing Python projects. To set up the development environment:
pdm install
$(pdm venv activate)
Some tools are included to help you keep the code quality high: black, ruff and mypy. Use scripts from the pyproject.toml
to run checks manually or in CI:
# Format code
pdm format
# Lint code
pdm lint
# Build Docker image
pdm image
# Show all available scripts
pdm run --list