Skip to main content
New squid projects are scaffolded with the sqd init command of Squid CLI:
NAME becomes the project folder name; it must contain only alphanumeric or dash (-) symbols and must not start with -. The command runs interactively by default. To skip the prompts, pass a template and --no-interactive:

Templates

The -t, --template flag accepts either of:
  • a GitHub repository URL containing a valid squid.yaml manifest in the root folder, or
  • one of the pre-defined aliases:
The aliases above are for EVM and Substrate squids. Solana squids scaffold from the example repository URL, as in the Solana quickstart:
Use -d, --dir to place the squid somewhere other than a new NAME folder.
The -r, --remove flag deletes the existing target directory before creating the project. Use it only when that directory can be replaced.
See the sqd init command reference for the full list of flags.

Next steps

After scaffolding, enter the project folder and install the dependencies:
Then follow the Quickstart to run the squid locally, or see Make an indexer for the full development flow.