Pipes SDK is a highly customizable blockchain indexing library made by Subsquid. This repo is a collection of various examples of its usage.
At src/basics folder of this repo you'll find a sequence of examples highlighting core concepts and basic functionality of the Pipes SDK. Follow BASICS.md to learn more.
src/advanced contains examples showcasing the less common features. It significantly overlaps with the examples folder of the Pipes SDK package repo which doubles as a collection of ad-hoc tests. Here are some topics covered:
- user side raw data caching
- profiling (throughout the examples)
- indexing factory contracts
- customizing the metrics
These should run in the same manner as basic examples do: start with BASICS.md/Quickstart then run the example files with bun or ts-node.
A collection of Pipes SDK project intended as starting points:
These are related to the indexers that SQD uses internally:
- The stablecoins indexer that sends the data via Server Side Events for further processing
- Simple indexer of ERC20 transfers.