Deployment Guide
This deployment guide provides chain-agnostic instructions for deploying Firehose. The concepts, commands, and deployment patterns shown here can be applied to any blockchain that has Firehose support.
Prerequisites
Before starting, you'll need:
Firecore binary: Download from firehose-core releases
Dummy blockchain binary: Install the example blockchain client
Installing Dummy Blockchain
# Install the dummy blockchain binary
go install github.com/streamingfast/dummy-blockchain@latest
# Verify installation
dummy-blockchain --helpThe dummy blockchain can be run standalone with:
dummy-blockchain start --store-dir=<data-dir> --block-rate=180Deployment Options
Choose your deployment approach based on your needs:
🏠 Single Machine Deployment
Recommended for: Development, testing, small-scale production
All components run on one machine
Shared local storage between components
Simpler setup and management
Lower resource requirements
🏢 Distributed Deployment
Recommended for: Production, high-availability, scalability
Components run as separate processes/services
Shared object storage (cloud storage)
Horizontal scalability
Production-ready architecture
Architecture Overview
Both deployment patterns use the same core Firehose architecture:
Reader: Manages the blockchain node and extracts block data
Merger: Combines one-block files into merged block files
Relayer: Streams live blocks to consumers
Firehose: Serves historical and live block data via gRPC
Substreams Tier 1: Handles consumer requests and coordinates parallel processing
Substreams Tier 2: Executes WASM modules for parallel historical data transformation
Last updated
Was this helpful?
