Skip to content

subsquid-labs/evm-transactions-example

Repository files navigation

Open in Gitpod

Tracking transactions

This sample squid tracks transactions to and from vitalik.eth address on Ethereum Mainnet.
One can use this example as a template for scaffolding a new squid project with sqd init:

sqd init my-new-squid --template https://github.com/subsquid-labs/transactions-example

For a full reference, check the docs.

Prerequisites

Running

Clone the repo and navigate to the root folder.

npm ci
sqd build
# start the database
sqd up
# starts a long-running ETL and blocks the terminal
sqd process

# starts the GraphQL API server at localhost:4350/graphql
sqd serve