Skip to main content

Snapshot

Install Subsquid cli

npm install --global @subsquid/cli@latest

Create Folder & init

mkdir proc
cd proc
sqd init snapshot -t https://github.com/subsquid-quests/snapshot-squid
cd snapshot

Download key

Start Docker

docker compose up -d

build

npm ci
sqd build
sqd migration:apply

Run

sqd run .

Wait after 100%

After done

  • Stop proc use CTRL+C

  • Stop Docker

    docker compose down -v