Farcaster hubble setup
This section describes the steps for adding a farcaster hubble to the netrabrick.
Download and install the hubble docker repository hub-monorepo locally:
mkdir farcaster
cd fastercer
git clone https://github.com/farcasterxyz/hub-monorepo.git
cd hub-monorepo/apps/hubble/
Add docker-compose functionality, if necessary:
sudo apt-get install docker-compose-plugin
Generate your identity key pair with docker compose.
sudo chmod 777 .hub .rocks
docker compose run hubble yarn identity create
Create a .env file in
apps/hubble
with your Ethereum RPC endpoints:
Start Hubble with docker compose in detached mode:
Docker compose will start a Hubble container that exposes ports for networking and writes data to .hub
and .rocks
directories. Hubble will now sync with the contracts and other hubble instances to download all messages on the network.
To view the status of the sync and hubble, follow the logs
Follow the instructions in the monitoring instructions to set up Grafana and view your Hub's status in real-time.
To view the status of the sync and hubble, follow the logs
Follow the instructions in the monitoring instructions to set up Grafana and view your Hub's status in real-time.