Skip to main content
This guide provides a quick reference to the commands needed to launch the squid and manage the database.

Initial Setup

Before running the squid, install all project dependencies:

Compiling the Project

Running the Squid

Start a local PostgreSQL database to store the data (the template includes a Docker Compose file):
Apply database migrations to create the target schema:
For detailed information on migrations, see TypeORM Migration generation. Run the indexer:

Checking Out the Indexed Data

Inspect the indexed contracts directly in the database:
You can use the sqd utility to shorten these commands and manage their interrelations — see commands.json.

Next Steps

Development Flow

Learn the general development workflow

Full CLI Reference

Complete CLI documentation