Start the database container:
docker compose up -d
Generate TypeORM classes based on the schema:
npx squid-typeorm-codegen
Compile the TypeORM classes:
npx tsc
Generate the migration file:
npx squid-typeorm-migration generate
Apply the migration with:
npx squid-typeorm-migration apply
Generate utility classes for decoding Accounts (Factory) contract data based on its ABI downloaded from Etherscan:
npx \
squid-evm-typegen \
src/abi \
0x000000000000dD366cc2E4432bB998e41DFD47C7#accounts
Generate utility classes for decoding Account contract data based on its ABI downloaded from Etherscan:
npx \
squid-evm-typegen \
src/abi \
0x0000000000001C05075915622130c16f6febC541#account
Compile the project and start the processor process:
npx tsc
node -r dotenv/config lib/main.js
Configure the GraphQL port and start the GraphQL server:
npx squid-graphql-server