Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (32 loc) · 789 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 789 Bytes

StarkNet Stack

Docker configurations are meant for teaching purposes, use in production at your own risk.

Setup

sudo apt install -y jq curl net-tools

Install Docker

https://docs.docker.com/engine/install/ubuntu

Install Docker Compose

https://docs.docker.com/compose/install/linux

Run

docker compose -f dc-l1.yaml up -d
docker compose -f dc-l2.yaml up -d

Stop

docker compose -f <layer> down
docker compose rm

Tail Logs

docker container logs -f $(docker ps | grep besu | awk '{print $1}')
docker container logs -f $(docker ps | grep lighthouse | awk '{print $1}')
docker container logs -f $(docker ps | grep pathfinder | awk '{print $1}')

Start Indexer

./indexer/indexer.sh