Skip to content

Queries and stores block data from StarkNet into a relational database.

Notifications You must be signed in to change notification settings

SummaryDev/starknet-archive

Repository files navigation

Archiver for StarkNet

Build

npm install && npm run build

Develop

Start local dev database and run the indexer from the cli

docker-compose up -d && npm run start

Build docker image

docker build -t starknet-archive .

Run docker

docker run --env-file .env --network host -e STARKNET_ARCHIVE_START_BLOCK=100000 -e STARKNET_ARCHIVE_FINISH_BLOCK=100003 starknet-archive

Deploy

Deploy to Kubernetes cluster with helm

namespace=dev image=729713441316.dkr.ecr.eu-central-1.amazonaws.com/starknet-archive:dev-de25bce db_host=postgres-dev-eu-central-1.cubsklniptgt.eu-central-1.rds.amazonaws.com db_password_archive=archive123 ./deploy.sh 

Observe

kubectl --namespace dev get pods --selector=app=starknet-archive

Tail logs

kubectl --namespace dev logs --follow --selector=app=starknet-archive

About

Queries and stores block data from StarkNet into a relational database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages