π³Docker
Authors: [man4ela | catapulta.eth]
System Requirements
CPU
OS
RAM
DISK
This method of setting up Firehose for Starknet assumes that you have a your own synced Starknet mainnet full (or archive) node (URL endpoint available) and Ethereum Mainnet L1 endpoint ready. In this guide, you'll be able to configure and run the entire Firehose stack with a single docker run command
docker run commandPre-Requisites
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
β
sudo apt install -y wget curl screen git ufwSetting up Firewall
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443Enable Firewall
Install Docker
Run this command to remove any conflicting docker
Add Docker's official GPG key:
Add the repository to ppt sources:
Install docker
Setting up a domain name to access RPC
Create Dockerfile.firehose-reader
Create .env file
Launch Firehose:
Save and run"
Monitor Logs
Once your Firehose starts syncing, the logs from reader are expected to look like this:
reader are expected to look like this:The Best way to test if substreams work is to run an actual substream
The expected output:
Referenes:
Last updated