Skip to main content
Version: Old ArrowSquid docs

USDC transfers

The squid indexes USDC transfers by tracking the historical Transfer(address,address,uint256) logs emitted by the USDC contract on the Ethereum Mainnet.

Prerequisites

Running

sqd init my-new-squid --template https://github.com/subsquid-labs/evm-logs-example && cd my-new-squid
# or
git clone https://github.com/subsquid-labs/evm-logs-example.git && cd evm-logs-example

npm ci

# start the database
sqd up

# builds the project, starts a long-running ETL and blocks the terminal
sqd process

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