Quad Proc
Buat Folder & init
- VPS
- CodeSpace
cd ~/proc
sqd init quad-proc -t https://github.com/subsquid-quests/quad-chain-squid
cd quad-proc
cd ..
sqd init quad-proc -t https://github.com/subsquid-quests/quad-chain-squid
cd quad-proc
Download key
- https://app.subsquid.io/quests
- Pindah ke VPS, ke folder
/proc/quad-proc/query-gateway/keys
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
tip
Hapus SEMUA jika sudah mendapat point
cd
rm -r proc
docker rmi subsquid/query-gateway:0.1.5