Skip to main content

Snapshot

Install Subsquid cli

npm install --global @subsquid/cli@latest

Buat 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 .

Tunggu sampai di web nya jadi 100%

Setelah selesai

  • Stop proc menggunakan CTRL+C

  • Stop Docker

    docker compose down -v