Squid SDK store for writing indexed onchain data to local or S3 files as CSV, Parquet, or JSON.
npm i @subsquid/file-store@subsquid/file-store is a Squid SDK store implementation that persists the output of a squid processor to a filesystem as a dataset. You define tables with typed columns, and the store batches records and writes them to a destination as the processor runs. It supports local folders and Amazon S3 (and S3-compatible storage) as targets, with CSV, Parquet, and JSON as output formats via the companion packages:
@subsquid/file-store-csvfor CSV output@subsquid/file-store-parquetfor Parquet output@subsquid/file-store-jsonfor JSON and JSONL output@subsquid/file-store-s3for writing to Amazon S3 and S3-compatible storage
This makes it a good fit when you want analytics-ready files or a data-lake dataset instead of a relational database.
Full guides and API reference for the Squid SDK are at docs.sqd.dev. See the SDK documentation for how the store fits into a squid project.
Questions and discussion happen in the SQD developers Telegram.
Licensed under GPL-3.0-or-later.